Class ConcatenatingByteArrayCollector

java.lang.Object
org.apache.parquet.bytes.BytesInput
org.apache.parquet.bytes.ConcatenatingByteArrayCollector

@Deprecated public class ConcatenatingByteArrayCollector extends BytesInput
Deprecated.
Used for collecting the content of BytesInput objects.
  • Constructor Details

    • ConcatenatingByteArrayCollector

      public ConcatenatingByteArrayCollector()
      Deprecated.
  • Method Details

    • collect

      public void collect(BytesInput bytesInput) throws IOException
      Deprecated.
      Throws:
      IOException
    • reset

      public void reset()
      Deprecated.
    • writeAllTo

      public void writeAllTo(OutputStream out) throws IOException
      Deprecated.
      Description copied from class: BytesInput
      writes the bytes into a stream
      Specified by:
      writeAllTo in class BytesInput
      Parameters:
      out - an output stream
      Throws:
      IOException - if there is an exception writing
    • writeInto

      public void writeInto(ByteBuffer buffer)
      Deprecated.
    • size

      public long size()
      Deprecated.
      Specified by:
      size in class BytesInput
      Returns:
      the size in bytes that would be written
    • memUsageString

      public String memUsageString(String prefix)
      Deprecated.
      Parameters:
      prefix - a prefix to be used for every new line in the string
      Returns:
      a text representation of the memory usage of this structure