Tabnine Logo
DictionaryCompressionOptimizer.isFull
Code IndexAdd Tabnine to your IDE (free)

How to use
isFull
method
in
io.prestosql.orc.DictionaryCompressionOptimizer

Best Java code snippets using io.prestosql.orc.DictionaryCompressionOptimizer.isFull (Showing top 6 results out of 315)

origin: io.prestosql/presto-orc

public boolean isDictionaryMemoryFull()
{
  return optimizer.isFull(getBufferedBytes());
}
origin: prestosql/presto

public boolean isDictionaryMemoryFull()
{
  return optimizer.isFull(getBufferedBytes());
}
origin: prestosql/presto

  flushStripe(MAX_BYTES);
else if (dictionaryCompressionOptimizer.isFull(bufferedBytes)) {
  flushStripe(DICTIONARY_FULL);
origin: io.prestosql/presto-orc

  flushStripe(MAX_BYTES);
else if (dictionaryCompressionOptimizer.isFull(bufferedBytes)) {
  flushStripe(DICTIONARY_FULL);
origin: io.prestosql/presto-orc

public void advanceToNextStateChange()
{
  List<Boolean> directColumnFlags = getDirectColumnFlags();
  while (!optimizer.isFull(getBufferedBytes()) && getBufferedBytes() < stripeMaxBytes && getRowCount() < stripeMaxRowCount && directColumnFlags.equals(getDirectColumnFlags())) {
    rowCount += 1024;
    for (TestDictionaryColumn dictionaryColumn : dictionaryColumns) {
      dictionaryColumn.advanceTo(rowCount);
    }
    optimizer.optimize(toIntExact(getBufferedBytes()), getRowCount());
  }
}
origin: prestosql/presto

public void advanceToNextStateChange()
{
  List<Boolean> directColumnFlags = getDirectColumnFlags();
  while (!optimizer.isFull(getBufferedBytes()) && getBufferedBytes() < stripeMaxBytes && getRowCount() < stripeMaxRowCount && directColumnFlags.equals(getDirectColumnFlags())) {
    rowCount += 1024;
    for (TestDictionaryColumn dictionaryColumn : dictionaryColumns) {
      dictionaryColumn.advanceTo(rowCount);
    }
    optimizer.optimize(toIntExact(getBufferedBytes()), getRowCount());
  }
}
io.prestosql.orcDictionaryCompressionOptimizerisFull

Popular methods of DictionaryCompressionOptimizer

  • <init>
  • estimateIndexBytesPerValue
  • finalOptimize
  • optimize
  • reset
  • convertLowCompressionStreams
  • currentCompressionRatio
  • getDictionaryMemoryBytes
  • getMaxDirectBytes
  • selectDictionaryColumnToConvert
    Choose a dictionary column to convert to direct encoding. We do this by predicting the compression r
  • tryConvertToDirect
  • tryConvertToDirect

Popular in Java

  • Making http requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • runOnUiThread (Activity)
  • getContentResolver (Context)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • JPanel (javax.swing)
  • CodeWhisperer alternatives
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