public static final class FileSource.FileSourceBuilder<T> extends AbstractFileSource.AbstractFileSourceBuilder<T,FileSourceSplit,FileSource.FileSourceBuilder<T>>
FileSource
, to configure the various behaviors.
Start building the source via one of the following methods:
continuousSourceSettings, fileEnumerator, inputPaths, readerFormat, splitAssigner
Modifier and Type | Method and Description |
---|---|
FileSource<T> |
build()
Creates the file source with the settings applied to this builder.
|
monitorContinuously, processStaticFileSet, setFileEnumerator, setSplitAssigner
public FileSource<T> build()
AbstractFileSource.AbstractFileSourceBuilder
build
in class AbstractFileSource.AbstractFileSourceBuilder<T,FileSourceSplit,FileSource.FileSourceBuilder<T>>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.