congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
PrimitiveConverter
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: apache/hive

@Override
public void addBinary(Binary value) {
 wrapped.addBinary(value);
}
origin: apache/hive

@Override
public void addBoolean(boolean value) {
 wrapped.addBoolean(value);
}
origin: apache/hive

@Override
public void addDouble(double value) {
 wrapped.addDouble(value);
}
origin: apache/hive

@Override
public void addInt(int value) {
 wrapped.addInt(value);
}
origin: apache/hive

@Override
public void addLong(long value) {
 wrapped.addLong(value);
}
origin: apache/hive

@Override
public void addFloat(float value) {
 wrapped.addFloat(value);
}
origin: org.lasersonlab.apache.parquet/parquet-column

try {
 this.dictionary = dictionaryPage.getEncoding().initDictionary(path, dictionaryPage);
 if (converter.hasDictionarySupport()) {
  converter.setDictionary(dictionary);
origin: apache/hive

@Override
public boolean hasDictionarySupport() {
 return wrapped.hasDictionarySupport();
}
origin: apache/hive

@Override
public void addValueFromDictionary(int dictionaryId) {
 wrapped.addValueFromDictionary(dictionaryId);
}
origin: apache/hive

@Override
public void setDictionary(Dictionary dictionary) {
 wrapped.setDictionary(dictionary);
}
origin: org.apache.parquet/parquet-thrift

@Override
public void addInt(int value) {
 delegate.addInt(value);
 ++ count;
}
origin: org.apache.parquet/parquet-thrift

@Override
public void addLong(long value) {
 delegate.addLong(value);
 ++ count;
}
origin: org.apache.parquet/parquet-thrift

@Override
public void addFloat(float value) {
 delegate.addFloat(value);
 ++ count;
}
origin: org.apache.parquet/parquet-column

try {
 this.dictionary = dictionaryPage.getEncoding().initDictionary(path, dictionaryPage);
 if (converter.hasDictionarySupport()) {
  converter.setDictionary(dictionary);
origin: uk.gov.gchq.gaffer/parquet-store

@Override
public boolean hasDictionarySupport() {
  return super.hasDictionarySupport();
}
origin: org.apache.parquet/parquet-column

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

@Override
public void addBinary(Binary value) {
 delegate.addBinary(value);
 ++ count;
}
origin: org.apache.parquet/parquet-column

@Override
public void addValueToPrimitiveConverter(
  PrimitiveConverter primitiveConverter, ColumnReader columnReader) {
 primitiveConverter.addInt(columnReader.getInteger());
}
origin: org.lasersonlab.apache.parquet/parquet-column

 @Override
 public void addLong(long value) {
  for (ValueInspector valueInspector : valueInspectors) {
   valueInspector.update(value);
  }
  delegate.addLong(value);
 }
}
origin: org.apache.parquet/parquet-thrift

@Override
public void addBoolean(boolean value) {
 delegate.addBoolean(value);
 ++ count;
}
org.apache.parquet.io.apiPrimitiveConverter

Javadoc

converter for leaves of the schema

Most used methods

  • addBinary
  • addBoolean
  • addDouble
  • addFloat
  • addInt
  • addLong
  • hasDictionarySupport
    if it returns true we will attempt to use dictionary based conversion instead
  • addValueFromDictionary
    add a value based on the dictionary set with setDictionary() Will be used if the Converter has dicti
  • setDictionary
    Set the dictionary to use if the data was encoded using dictionary encoding and the converter hasDic
  • asPrimitiveConverter
  • isPrimitive
  • isPrimitive

Popular in Java

  • Making http requests using okhttp
  • runOnUiThread (Activity)
  • getContentResolver (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • JOptionPane (javax.swing)
  • Top plugins for Android Studio
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