Tabnine Logo
TestDictionaryCompressionOptimizer$TestDictionaryColumn.getNonNullValueCount
Code IndexAdd Tabnine to your IDE (free)

How to use
getNonNullValueCount
method
in
io.prestosql.orc.TestDictionaryCompressionOptimizer$TestDictionaryColumn

Best Java code snippets using io.prestosql.orc.TestDictionaryCompressionOptimizer$TestDictionaryColumn.getNonNullValueCount (Showing top 8 results out of 315)

origin: io.prestosql/presto-orc

@Override
public int getDictionaryEntries()
{
  int dictionaryEntries = (int) (getNonNullValueCount() * uniquePercentage);
  return min(dictionaryEntries, maxDictionaryEntries.orElse(dictionaryEntries));
}
origin: prestosql/presto

@Override
public int getDictionaryEntries()
{
  int dictionaryEntries = (int) (getNonNullValueCount() * uniquePercentage);
  return min(dictionaryEntries, maxDictionaryEntries.orElse(dictionaryEntries));
}
origin: io.prestosql/presto-orc

@Override
public int getIndexBytes()
{
  return toIntExact(estimateIndexBytesPerValue(getDictionaryEntries()) * getNonNullValueCount());
}
origin: prestosql/presto

@Override
public int getIndexBytes()
{
  return toIntExact(estimateIndexBytesPerValue(getDictionaryEntries()) * getNonNullValueCount());
}
origin: prestosql/presto

@Override
public long getRawBytes()
{
  return (long) bytesPerEntry * getNonNullValueCount();
}
origin: io.prestosql/presto-orc

@Override
public long getRawBytes()
{
  return (long) bytesPerEntry * getNonNullValueCount();
}
origin: prestosql/presto

public long getBufferedBytes()
{
  if (direct) {
    return (long) (rowCount * valuesPerRow * bytesPerEntry);
  }
  int dictionaryEntries = getDictionaryEntries();
  int bytesPerValue = estimateIndexBytesPerValue(dictionaryEntries);
  return (dictionaryEntries * bytesPerEntry) + (getNonNullValueCount() * bytesPerValue);
}
origin: io.prestosql/presto-orc

public long getBufferedBytes()
{
  if (direct) {
    return (long) (rowCount * valuesPerRow * bytesPerEntry);
  }
  int dictionaryEntries = getDictionaryEntries();
  int bytesPerValue = estimateIndexBytesPerValue(dictionaryEntries);
  return (dictionaryEntries * bytesPerEntry) + (getNonNullValueCount() * bytesPerValue);
}
io.prestosql.orcTestDictionaryCompressionOptimizer$TestDictionaryColumngetNonNullValueCount

Popular methods of TestDictionaryCompressionOptimizer$TestDictionaryColumn

  • <init>
  • advanceTo
  • getDictionaryEntries
  • getValueCount
  • isDirect
  • reset

Popular in Java

  • Running tasks concurrently on multiple threads
  • putExtra (Intent)
  • onCreateOptionsMenu (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • JList (javax.swing)
  • Option (scala)
  • Best plugins for Eclipse
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