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

How to use
org.apache.druid.segment.incremental.IncrementalIndexStorageAdapter
constructor

Best Java code snippets using org.apache.druid.segment.incremental.IncrementalIndexStorageAdapter.<init> (Showing top 15 results out of 315)

origin: apache/incubator-druid

@Override
public StorageAdapter toStorageAdapter()
{
 return new IncrementalIndexStorageAdapter(this);
}
origin: apache/incubator-druid

@Override
public StorageAdapter asStorageAdapter()
{
 return new IncrementalIndexStorageAdapter(index);
}
origin: apache/incubator-druid

@Benchmark
@BenchmarkMode(Mode.AverageTime)
@OutputTimeUnit(TimeUnit.MICROSECONDS)
public void read(Blackhole blackhole)
{
 IncrementalIndexStorageAdapter sa = new IncrementalIndexStorageAdapter(incIndex);
 Sequence<Cursor> cursors = makeCursors(sa, null);
 Cursor cursor = cursors.limit(1).toList().get(0);
 List<DimensionSelector> selectors = new ArrayList<>();
 selectors.add(makeDimensionSelector(cursor, "dimSequential"));
 selectors.add(makeDimensionSelector(cursor, "dimZipf"));
 selectors.add(makeDimensionSelector(cursor, "dimUniform"));
 selectors.add(makeDimensionSelector(cursor, "dimSequentialHalfNull"));
 cursor.reset();
 while (!cursor.isDone()) {
  for (DimensionSelector selector : selectors) {
   IndexedInts row = selector.getRow();
   blackhole.consume(selector.lookupName(row.get(0)));
  }
  cursor.advance();
 }
}
origin: apache/incubator-druid

IncrementalIndexStorageAdapter sa = new IncrementalIndexStorageAdapter(incIndex);
Sequence<Cursor> cursors = makeCursors(sa, filter);
Cursor cursor = cursors.limit(1).toList().get(0);
origin: apache/incubator-druid

input -> {
 final IncrementalIndex index = input.buildIncrementalIndex();
 return Pair.of(new IncrementalIndexStorageAdapter(index), index);
},
"mmapped",
origin: apache/incubator-druid

        .addAggregator(new LongSumAggregatorFactory("cnt", "cnt"))
        .build(),
  new IncrementalIndexStorageAdapter(index)
);
origin: apache/incubator-druid

  .aggregators(Collections.singletonList(new LongSumAggregatorFactory("cnt", "cnt")))
  .build(),
new IncrementalIndexStorageAdapter(index),
null
origin: apache/incubator-druid

        .setDimFilter(DimFilters.dimEquals("sally", (String) null))
        .build(),
  new IncrementalIndexStorageAdapter(index)
);
origin: apache/incubator-druid

  new IncrementalIndexStorageAdapter(index)
);
origin: apache/incubator-druid

IncrementalIndexStorageAdapter adapter = new IncrementalIndexStorageAdapter(index);
origin: apache/incubator-druid

engine.process(query, new IncrementalIndexStorageAdapter(index)).toList();
origin: apache/incubator-druid

engine.process(query, new IncrementalIndexStorageAdapter(index)).toList();
origin: apache/incubator-druid

final IncrementalIndexStorageAdapter queryable = new IncrementalIndexStorageAdapter(index);
Assert.assertEquals(2, queryable.getAvailableDimensions().size());
Assert.assertEquals("host", queryable.getAvailableDimensions().get(0));
origin: org.apache.druid/druid-processing

@Override
public StorageAdapter toStorageAdapter()
{
 return new IncrementalIndexStorageAdapter(this);
}
origin: org.apache.druid/druid-processing

@Override
public StorageAdapter asStorageAdapter()
{
 return new IncrementalIndexStorageAdapter(index);
}
org.apache.druid.segment.incrementalIncrementalIndexStorageAdapter<init>

Popular methods of IncrementalIndexStorageAdapter

  • makeCursors
  • getAvailableDimensions
  • getAvailableMetrics
  • getColumnCapabilities
  • getMaxTime
  • getMinTime

Popular in Java

  • Making http requests using okhttp
  • getContentResolver (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • compareTo (BigDecimal)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • 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