org.apache.hadoop.chukwa
Class ChunkBuilder
java.lang.Object
org.apache.hadoop.chukwa.ChunkBuilder
public class ChunkBuilder
- extends Object
Right now, just handles record collection.
Method Summary |
void |
addRecord(byte[] rec)
Adds the data in rec to an internal buffer; rec can be reused immediately. |
Chunk |
getChunk()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChunkBuilder
public ChunkBuilder()
addRecord
public void addRecord(byte[] rec)
- Adds the data in rec to an internal buffer; rec can be reused immediately.
- Parameters:
rec
-
getChunk
public Chunk getChunk()
Copyright © ${year} The Apache Software Foundation