Tabnine Logo
LongDimensionSchema
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: apache/incubator-druid

   name
 );
 return new LongDimensionSchema(name);
case DOUBLE:
 Preconditions.checkArgument(
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

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

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

Most used methods

  • <init>
  • getName

Popular in Java

  • Updating database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • notifyDataSetChanged (ArrayAdapter)
  • compareTo (BigDecimal)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top PhpStorm 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