public static class StreamBucket.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder(Streamer<?>[] streamers,
RamAccountingContext ramAccountingContext) |
Modifier and Type | Method and Description |
---|---|
void |
add(Row row) |
StreamBucket |
build() |
void |
reset() |
void |
writeToStream(org.elasticsearch.common.io.stream.StreamOutput output) |
public Builder(Streamer<?>[] streamers, RamAccountingContext ramAccountingContext)
public void add(Row row) throws java.io.IOException
java.io.IOException
public void writeToStream(org.elasticsearch.common.io.stream.StreamOutput output) throws java.io.IOException
java.io.IOException
public StreamBucket build() throws java.io.IOException
java.io.IOException
public void reset()