T - the type of the elements written to the sinkpublic class AvroByteSink<T> extends Sink<T>
Sink.SinkWriter<ElemT>| Constructor and Description |
|---|
AvroByteSink(String filenamePrefix,
Coder<T> coder) |
AvroByteSink(String filenamePrefix,
String shardFormat,
String filenameSuffix,
int shardCount,
Coder<T> coder) |
| Modifier and Type | Method and Description |
|---|---|
Sink.SinkWriter<T> |
writer()
Returns a Writer that allows writing to this Sink.
|
supportsRestartpublic Sink.SinkWriter<T> writer() throws IOException
Sinkwriter in class Sink<T>IOException