Class DrillParquetGroupConverter.DrillFixedBinaryToVarbinaryConverter

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

public static class DrillParquetGroupConverter.DrillFixedBinaryToVarbinaryConverter extends org.apache.parquet.io.api.PrimitiveConverter
Parquet currently supports a fixed binary type, which is not implemented in Drill. For now this data will be read in a s varbinary and the same length will be recorded for each value.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

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

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

    addBoolean, addDouble, addFloat, addInt, addLong, 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

    • DrillFixedBinaryToVarbinaryConverter

      public DrillFixedBinaryToVarbinaryConverter(VarBinaryWriter writer, int length, 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