Class HdfsEndpointBuilderFactory.HdfsHeaderNameBuilder
- java.lang.Object
-
- org.apache.camel.builder.endpoint.dsl.HdfsEndpointBuilderFactory.HdfsHeaderNameBuilder
-
- Enclosing interface:
- HdfsEndpointBuilderFactory
public static class HdfsEndpointBuilderFactory.HdfsHeaderNameBuilder extends Object
The builder of headers' name for the HDFS component.
-
-
Constructor Summary
Constructors Constructor Description HdfsHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
fileAbsolutePath()
The absolute path of the file.String
fileLength()
The size of the file.String
fileName()
(producer) Specifies the name of the file to write (relative to the endpoint path).String
fileNameConsumed()
The name of the file consumed.String
hdfsClose()
Indicates to close the stream.String
kEY()
The HDFS key.
-
-
-
Method Detail
-
hdfsClose
public String hdfsClose()
Indicates to close the stream. The option is a:Boolean
type. Group: producer- Returns:
- the name of the header
HdfsClose
.
-
fileName
public String fileName()
(producer) Specifies the name of the file to write (relative to the endpoint path). The name can be a String or an Expression object. Only relevant when not using a split strategy. (consumer) Specifies the name of the file to read. The option is a:String
type. Group: common- Returns:
- the name of the header
FileName
.
-
fileNameConsumed
public String fileNameConsumed()
The name of the file consumed. The option is a:String
type. Group: consumer- Returns:
- the name of the header
FileNameConsumed
.
-
fileAbsolutePath
public String fileAbsolutePath()
The absolute path of the file. The option is a:String
type. Group: consumer- Returns:
- the name of the header
FileAbsolutePath
.
-
kEY
public String kEY()
The HDFS key. The option is a:Object
type. Group: common- Returns:
- the name of the header
KEY
.
-
fileLength
public String fileLength()
The size of the file. The option is a:Long
type. Group: consumer- Returns:
- the name of the header
FileLength
.
-
-