public interface RecordSink
| Modifier and Type | Method and Description |
|---|---|
void |
appendBoolean(boolean value) |
void |
appendDouble(double value) |
void |
appendLong(long value) |
void |
appendNull() |
void |
appendString(byte[] value) |
void |
beginRecord(long sampleWeight) |
String |
commit() |
void |
finishRecord() |
void beginRecord(long sampleWeight)
sampleWeight - connectors that don't support sampling can safely ignore this parameter, as it will always be 1void finishRecord()
void appendNull()
void appendBoolean(boolean value)
void appendLong(long value)
void appendDouble(double value)
void appendString(byte[] value)
String commit()
Copyright © 2012-2014. All Rights Reserved.