public class AvroSink<UserT,DestinationT,OutputT> extends FileBasedSink<UserT,DestinationT,OutputT>
FileBasedSink
for Avro files.Modifier and Type | Class and Description |
---|---|
static interface |
AvroSink.DatumWriterFactory<T> |
FileBasedSink.CompressionType, FileBasedSink.DynamicDestinations<UserT,DestinationT,OutputT>, FileBasedSink.FilenamePolicy, FileBasedSink.FileResult<DestinationT>, FileBasedSink.FileResultCoder<DestinationT>, FileBasedSink.OutputFileHints, FileBasedSink.WritableByteChannelFactory, FileBasedSink.WriteOperation<DestinationT,OutputT>, FileBasedSink.Writer<DestinationT,OutputT>
Modifier and Type | Method and Description |
---|---|
FileBasedSink.WriteOperation<DestinationT,OutputT> |
createWriteOperation()
Return a subclass of
FileBasedSink.WriteOperation that will manage the write to the sink. |
DynamicAvroDestinations<UserT,DestinationT,OutputT> |
getDynamicDestinations()
Return the
FileBasedSink.DynamicDestinations used. |
convertToFileResourceIfPossible, getTempDirectoryProvider, getWritableByteChannelFactory, populateDisplayData, validate
public DynamicAvroDestinations<UserT,DestinationT,OutputT> getDynamicDestinations()
FileBasedSink
FileBasedSink.DynamicDestinations
used.getDynamicDestinations
in class FileBasedSink<UserT,DestinationT,OutputT>
public FileBasedSink.WriteOperation<DestinationT,OutputT> createWriteOperation()
FileBasedSink
FileBasedSink.WriteOperation
that will manage the write to the sink.createWriteOperation
in class FileBasedSink<UserT,DestinationT,OutputT>