Package org.apache.parquet.bytes
Class ConcatenatingByteArrayCollector
- java.lang.Object
-
- org.apache.parquet.bytes.BytesInput
-
- org.apache.parquet.bytes.ConcatenatingByteArrayCollector
-
public class ConcatenatingByteArrayCollector extends BytesInput
-
-
Constructor Summary
Constructors Constructor Description ConcatenatingByteArrayCollector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcollect(BytesInput bytesInput)StringmemUsageString(String prefix)voidreset()longsize()voidwriteAllTo(OutputStream out)writes the bytes into a stream-
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, toByteArray, toByteBuffer, toInputStream
-
-
-
-
Method Detail
-
collect
public void collect(BytesInput bytesInput) throws IOException
- Throws:
IOException
-
reset
public void reset()
-
writeAllTo
public void writeAllTo(OutputStream out) throws IOException
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
-
size
public long size()
- Specified by:
sizein classBytesInput- Returns:
- the size in bytes that would be written
-
-