Package org.apache.parquet.bytes
Class ConcatenatingByteArrayCollector
java.lang.Object
org.apache.parquet.bytes.BytesInput
org.apache.parquet.bytes.ConcatenatingByteArrayCollector
Deprecated.
Used for collecting the content of
BytesInput objects.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcollect(BytesInput bytesInput) Deprecated.memUsageString(String prefix) Deprecated.voidreset()Deprecated.longsize()Deprecated.voidwriteAllTo(OutputStream out) Deprecated.writes the bytes into a streamvoidwriteInto(ByteBuffer buffer) Deprecated.Methods inherited from class org.apache.parquet.bytes.BytesInput
concat, concat, copy, copy, copy, empty, from, from, from, from, from, from, from, from, fromInt, fromUnsignedVarInt, fromUnsignedVarLong, fromZigZagVarInt, fromZigZagVarLong, toByteArray, toByteBuffer, toByteBuffer, toByteBuffer, toInputStream
-
Constructor Details
-
ConcatenatingByteArrayCollector
public ConcatenatingByteArrayCollector()Deprecated.
-
-
Method Details
-
collect
Deprecated.- Throws:
IOException
-
reset
public void reset()Deprecated. -
writeAllTo
Deprecated.Description copied from class:BytesInputwrites the bytes into a stream- Specified by:
writeAllToin classBytesInput- Parameters:
out- an output stream- Throws:
IOException- if there is an exception writing
-
writeInto
Deprecated. -
size
public long size()Deprecated.- Specified by:
sizein classBytesInput- Returns:
- the size in bytes that would be written
-
memUsageString
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
-
ConcatenatingByteBufferCollectorinstead.