Class DrillParquetGroupConverter.DrillVarDecimalConverter

java.lang.Object
org.apache.parquet.io.api.Converter
org.apache.parquet.io.api.PrimitiveConverter
org.apache.drill.exec.store.parquet2.DrillParquetGroupConverter.DrillVarDecimalConverter
Enclosing class:
DrillParquetGroupConverter

public static class DrillParquetGroupConverter.DrillVarDecimalConverter extends org.apache.parquet.io.api.PrimitiveConverter
  • Constructor Summary

    Constructors
    Constructor
    Description
    DrillVarDecimalConverter(VarDecimalWriter writer, int precision, int scale, DrillBuf buf)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addBinary(org.apache.parquet.io.api.Binary value)
     
    void
    addInt(int value)
     
    void
    addLong(long value)
     

    Methods inherited from class org.apache.parquet.io.api.PrimitiveConverter

    addBoolean, addDouble, addFloat, addValueFromDictionary, asPrimitiveConverter, hasDictionarySupport, isPrimitive, setDictionary

    Methods inherited from class org.apache.parquet.io.api.Converter

    asGroupConverter

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DrillVarDecimalConverter

      public DrillVarDecimalConverter(VarDecimalWriter writer, int precision, int scale, DrillBuf buf)
  • Method Details

    • addBinary

      public void addBinary(org.apache.parquet.io.api.Binary value)
      Overrides:
      addBinary in class org.apache.parquet.io.api.PrimitiveConverter
    • addInt

      public void addInt(int value)
      Overrides:
      addInt in class org.apache.parquet.io.api.PrimitiveConverter
    • addLong

      public void addLong(long value)
      Overrides:
      addLong in class org.apache.parquet.io.api.PrimitiveConverter