Tabnine Logo
LongDimensionSchema.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.druid.data.input.impl.LongDimensionSchema
constructor

Best Java code snippets using org.apache.druid.data.input.impl.LongDimensionSchema.<init> (Showing top 14 results out of 315)

origin: apache/incubator-druid

   name
 );
 return new LongDimensionSchema(name);
case DOUBLE:
 Preconditions.checkArgument(
origin: apache/incubator-druid

private static List<DimensionSchema> getDimensionSchema(DimensionSchema mixedTypeColumn)
   new LongDimensionSchema("timestamp"),
   new StringDimensionSchema("string_dim_4"),
   new LongDimensionSchema("long_dim_4"),
   new FloatDimensionSchema("float_dim_4"),
   new DoubleDimensionSchema("double_dim_4"),
   new StringDimensionSchema("string_dim_0"),
   new LongDimensionSchema("long_dim_0"),
   new FloatDimensionSchema("float_dim_0"),
   new DoubleDimensionSchema("double_dim_0"),
origin: apache/incubator-druid

 break;
case LONG:
 dimensions.add(new LongDimensionSchema(columnSchema.getName()));
 break;
case DOUBLE:
origin: apache/incubator-druid

private IncrementalIndex makeIncIndex()
{
 return new IncrementalIndex.Builder()
   .setIndexSchema(
     new IncrementalIndexSchema.Builder()
       .withDimensionsSpec(new DimensionsSpec(
         Arrays.asList(
           new StringDimensionSchema("dimA"),
           new StringDimensionSchema("dimB"),
           new LongDimensionSchema("metA"),
           new LongDimensionSchema("metB")
         ),
         null,
         null
       ))
       .build()
   )
   .setReportParseExceptions(false)
   .setConcurrentEventAdd(true)
   .setMaxRowCount(1000)
   .buildOnheap();
}
origin: apache/incubator-druid

AGGREGATORS = new ArrayList<>();
DIMENSIONS.put(ColumnHolder.TIME_COLUMN_NAME, new LongDimensionSchema(ColumnHolder.TIME_COLUMN_NAME));
DIMENSIONS.put(TIMESTAMP_COLUMN, new LongDimensionSchema(TIMESTAMP_COLUMN));
for (int i = 0; i < SEGMENT_INTERVALS.size(); i++) {
 final StringDimensionSchema schema = new StringDimensionSchema(
 final LongDimensionSchema schema = new LongDimensionSchema("long_dim_" + i);
 DIMENSIONS.put(schema.getName(), schema);
origin: apache/incubator-druid

new LongDimensionSchema("dimA"),
new FloatDimensionSchema("dimB"),
new StringDimensionSchema("dimC", MultiValueHandling.SORTED_ARRAY, useBitmapIndexes)
origin: apache/incubator-druid

new FloatDimensionSchema("C++"),
new NewSpatialDimensionSchema("DDT", null),
new LongDimensionSchema("EEE"),
new NewSpatialDimensionSchema("DDT2", Arrays.asList("A", "B")),
new NewSpatialDimensionSchema("IMPR", Arrays.asList("S", "P", "Q", "R"))
origin: apache/incubator-druid

new LongDimensionSchema("timestamp"),
new StringDimensionSchema("string_dim_0"),
new StringDimensionSchema("string_dim_1"),
new StringDimensionSchema("string_dim_3"),
new StringDimensionSchema("string_dim_4"),
new LongDimensionSchema("long_dim_0"),
new LongDimensionSchema("long_dim_1"),
new LongDimensionSchema("long_dim_2"),
origin: apache/incubator-druid

private IncrementalIndex makeIncIndex(boolean withRollup)
{
 return new IncrementalIndex.Builder()
   .setIndexSchema(
     new IncrementalIndexSchema.Builder()
       .withDimensionsSpec(new DimensionsSpec(
         Arrays.asList(
           new StringDimensionSchema("dimA"),
           new LongDimensionSchema("metA")
         ),
         null,
         null
       ))
       .withRollup(withRollup)
       .build()
   )
   .setReportParseExceptions(false)
   .setConcurrentEventAdd(true)
   .setMaxRowCount(1000)
   .buildOnheap();
}
origin: apache/incubator-druid

private IncrementalIndex makeIncIndex(boolean withRollup)
{
 return new IncrementalIndex.Builder()
   .setIndexSchema(
     new IncrementalIndexSchema.Builder()
       .withDimensionsSpec(new DimensionsSpec(
         Arrays.asList(
           new StringDimensionSchema("dimA"),
           new LongDimensionSchema("metA")
         ),
         null,
         null
       ))
       .withRollup(withRollup)
       .build()
   )
   .setReportParseExceptions(false)
   .setConcurrentEventAdd(true)
   .setMaxRowCount(1000)
   .buildOnheap();
}
origin: apache/incubator-druid

private IncrementalIndex makeIncIndex(boolean withRollup)
{
 return new IncrementalIndex.Builder()
   .setIndexSchema(
     new IncrementalIndexSchema.Builder()
       .withDimensionsSpec(new DimensionsSpec(
         Arrays.asList(
           new StringDimensionSchema("dimA"),
           new LongDimensionSchema("metA")
         ),
         null,
         null
       ))
       .withRollup(withRollup)
       .build()
   )
   .setReportParseExceptions(false)
   .setConcurrentEventAdd(true)
   .setMaxRowCount(1000)
   .buildOnheap();
}
origin: apache/incubator-druid

private static class TestFirehoseFactory implements FirehoseFactory<InputRowParser>
{
 public TestFirehoseFactory()
 {
 }
 @Override
 @SuppressWarnings("unchecked")
 public Firehose connect(InputRowParser parser, File temporaryDirectory) throws ParseException
 {
  return new TestFirehose(parser);
 }
}
origin: apache/incubator-druid

  new StringDimensionSchema("string"),
  new FloatDimensionSchema("float"),
  new LongDimensionSchema("long"),
  new DoubleDimensionSchema("double")
), null, null
origin: org.apache.druid/druid-indexing-service

   name
 );
 return new LongDimensionSchema(name);
case DOUBLE:
 Preconditions.checkArgument(
org.apache.druid.data.input.implLongDimensionSchema<init>

Popular methods of LongDimensionSchema

  • getName

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • setRequestProperty (URLConnection)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • String (java.lang)
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • JFileChooser (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now