protected static final class XmlSink.XmlWriteOperation<T> extends FileBasedSink.FileBasedWriteOperation<T>
Sink.WriteOperation
for XML Sink
s.FileBasedSink.FileBasedWriteOperation.TemporaryFileRetention
baseTemporaryFilename, sink, TEMPORARY_FILENAME_SEPARATOR, temporaryFileRetention
Constructor and Description |
---|
XmlWriteOperation(XmlSink.Bound<T> sink) |
Modifier and Type | Method and Description |
---|---|
XmlSink.XmlWriter<T> |
createWriter(PipelineOptions options)
Creates a
XmlSink.XmlWriter with a marshaller for the type it will write. |
XmlSink.Bound<T> |
getSink()
Return the XmlSink.Bound for this write operation.
|
buildTemporaryFilename, copyToOutputFiles, finalize, generateDestinationFilenames, getWriterResultCoder, initialize, removeTemporaryFiles
public XmlWriteOperation(XmlSink.Bound<T> sink)
public XmlSink.XmlWriter<T> createWriter(PipelineOptions options) throws Exception
XmlSink.XmlWriter
with a marshaller for the type it will write.createWriter
in class FileBasedSink.FileBasedWriteOperation<T>
Exception
public XmlSink.Bound<T> getSink()
getSink
in class FileBasedSink.FileBasedWriteOperation<T>