Class ColumnDataReader.HadoopBytesInput

java.lang.Object
org.apache.parquet.bytes.BytesInput
org.apache.drill.exec.store.parquet.ColumnDataReader.HadoopBytesInput
Enclosing class:
ColumnDataReader

public class ColumnDataReader.HadoopBytesInput extends org.apache.parquet.bytes.BytesInput
  • Constructor Summary

    Constructors
    Constructor
    Description
    HadoopBytesInput(byte[] pageBytes)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
    byte[]
     
    void
     

    Methods inherited from class org.apache.parquet.bytes.BytesInput

    concat, concat, copy, empty, from, from, from, from, from, from, from, from, fromInt, fromUnsignedVarInt, fromUnsignedVarLong, fromZigZagVarInt, fromZigZagVarLong, toByteBuffer, toInputStream

    Methods inherited from class java.lang.Object

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

    • HadoopBytesInput

      public HadoopBytesInput(byte[] pageBytes)
  • Method Details

    • toByteArray

      public byte[] toByteArray() throws IOException
      Overrides:
      toByteArray in class org.apache.parquet.bytes.BytesInput
      Throws:
      IOException
    • size

      public long size()
      Specified by:
      size in class org.apache.parquet.bytes.BytesInput
    • writeAllTo

      public void writeAllTo(OutputStream out) throws IOException
      Specified by:
      writeAllTo in class org.apache.parquet.bytes.BytesInput
      Throws:
      IOException