public class ConcatenatingByteArrayCollector extends BytesInput
| Constructor and Description |
|---|
ConcatenatingByteArrayCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(BytesInput bytesInput) |
String |
memUsageString(String prefix) |
void |
reset() |
long |
size() |
void |
writeAllTo(OutputStream out)
writes the bytes into a stream
|
concat, concat, copy, empty, from, from, from, from, from, from, fromInt, fromUnsignedVarInt, fromUnsignedVarLong, fromZigZagVarInt, fromZigZagVarLong, toByteArray, toByteBuffer, toInputStreampublic void collect(BytesInput bytesInput) throws IOException
IOExceptionpublic void reset()
public void writeAllTo(OutputStream out) throws IOException
BytesInputwriteAllTo in class BytesInputIOExceptionpublic long size()
size in class BytesInputCopyright © 2016 The Apache Software Foundation. All rights reserved.