Tabnine Logo
PrimitiveConverter.addValueFromDictionary
Code IndexAdd Tabnine to your IDE (free)

How to use
addValueFromDictionary
method
in
org.apache.parquet.io.api.PrimitiveConverter

Best Java code snippets using org.apache.parquet.io.api.PrimitiveConverter.addValueFromDictionary (Showing top 3 results out of 315)

origin: apache/hive

@Override
public void addValueFromDictionary(int dictionaryId) {
 wrapped.addValueFromDictionary(dictionaryId);
}
origin: org.apache.parquet/parquet-column

void writeValue() {
 converter.addValueFromDictionary(dictionaryId);
}
public int getInteger() {
origin: org.lasersonlab.apache.parquet/parquet-column

void writeValue() {
 converter.addValueFromDictionary(dictionaryId);
}
public int getInteger() {
org.apache.parquet.io.apiPrimitiveConverteraddValueFromDictionary

Javadoc

add a value based on the dictionary set with setDictionary() Will be used if the Converter has dictionary support and the data was encoded using a dictionary

Popular methods of PrimitiveConverter

  • addBinary
  • addBoolean
  • addDouble
  • addFloat
  • addInt
  • addLong
  • hasDictionarySupport
    if it returns true we will attempt to use dictionary based conversion instead
  • setDictionary
    Set the dictionary to use if the data was encoded using dictionary encoding and the converter hasDic
  • asPrimitiveConverter
  • isPrimitive

Popular in Java

  • Updating database using SQL prepared statement
  • compareTo (BigDecimal)
  • getSharedPreferences (Context)
  • getExternalFilesDir (Context)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • 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