Class HdfsEndpointBuilderFactory.HdfsHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.HdfsEndpointBuilderFactory.HdfsHeaderNameBuilder
- Enclosing interface:
- HdfsEndpointBuilderFactory
The builder of headers' name for the HDFS component.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
HdfsHeaderNameBuilder
public HdfsHeaderNameBuilder()
-
-
Method Details
-
hdfsClose
Indicates to close the stream. The option is a:Boolean
type. Group: producer- Returns:
- the name of the header
HdfsClose
.
-
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
The name of the file consumed. The option is a:String
type. Group: consumer- Returns:
- the name of the header
FileNameConsumed
.
-
fileAbsolutePath
The absolute path of the file. The option is a:String
type. Group: consumer- Returns:
- the name of the header
FileAbsolutePath
.
-
kEY
The HDFS key. The option is a:Object
type. Group: common- Returns:
- the name of the header
KEY
.
-
fileLength
The size of the file. The option is a:Long
type. Group: consumer- Returns:
- the name of the header
FileLength
.
-