public class SdkWholeFileDataFormatGeneratorService
extends com.streamsets.pipeline.api.base.BaseService
implements com.streamsets.pipeline.api.service.dataformats.DataFormatGeneratorService
| Constructor and Description |
|---|
SdkWholeFileDataFormatGeneratorService() |
SdkWholeFileDataFormatGeneratorService(String wholeFileNamePath,
com.streamsets.pipeline.api.service.dataformats.WholeFileExistsAction existsAction,
boolean includeChecksumInTheEvents,
com.streamsets.pipeline.api.service.dataformats.WholeFileChecksumAlgorithm checksumAlgorithm) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCharset() |
com.streamsets.pipeline.api.service.dataformats.DataGenerator |
getGenerator(OutputStream os) |
boolean |
isPlainTextCompatible() |
boolean |
isWholeFileFormat() |
com.streamsets.pipeline.api.service.dataformats.WholeFileChecksumAlgorithm |
wholeFileChecksumAlgorithm() |
com.streamsets.pipeline.api.service.dataformats.WholeFileExistsAction |
wholeFileExistsAction() |
String |
wholeFileFilename(com.streamsets.pipeline.api.Record record) |
boolean |
wholeFileIncludeChecksumInTheEvents() |
public SdkWholeFileDataFormatGeneratorService()
public SdkWholeFileDataFormatGeneratorService(String wholeFileNamePath, com.streamsets.pipeline.api.service.dataformats.WholeFileExistsAction existsAction, boolean includeChecksumInTheEvents, com.streamsets.pipeline.api.service.dataformats.WholeFileChecksumAlgorithm checksumAlgorithm)
public com.streamsets.pipeline.api.service.dataformats.DataGenerator getGenerator(OutputStream os) throws IOException
getGenerator in interface com.streamsets.pipeline.api.service.dataformats.DataFormatGeneratorServiceIOExceptionpublic boolean isPlainTextCompatible()
isPlainTextCompatible in interface com.streamsets.pipeline.api.service.dataformats.DataFormatGeneratorServicepublic String getCharset()
getCharset in interface com.streamsets.pipeline.api.service.dataformats.DataFormatGeneratorServicepublic boolean isWholeFileFormat()
isWholeFileFormat in interface com.streamsets.pipeline.api.service.dataformats.DataFormatGeneratorServicepublic String wholeFileFilename(com.streamsets.pipeline.api.Record record) throws com.streamsets.pipeline.api.StageException
wholeFileFilename in interface com.streamsets.pipeline.api.service.dataformats.DataFormatGeneratorServicecom.streamsets.pipeline.api.StageExceptionpublic com.streamsets.pipeline.api.service.dataformats.WholeFileExistsAction wholeFileExistsAction()
wholeFileExistsAction in interface com.streamsets.pipeline.api.service.dataformats.DataFormatGeneratorServicepublic boolean wholeFileIncludeChecksumInTheEvents()
wholeFileIncludeChecksumInTheEvents in interface com.streamsets.pipeline.api.service.dataformats.DataFormatGeneratorServicepublic com.streamsets.pipeline.api.service.dataformats.WholeFileChecksumAlgorithm wholeFileChecksumAlgorithm()
wholeFileChecksumAlgorithm in interface com.streamsets.pipeline.api.service.dataformats.DataFormatGeneratorServiceCopyright © 2019 StreamSets. All rights reserved.