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 StringfileAbsolutePath()The absolute path of the file.StringfileLength()The size of the file.StringfileName()(producer) Specifies the name of the file to write (relative to the endpoint path).StringfileNameConsumed()The name of the file consumed.StringhdfsClose()Indicates to close the stream.StringkEY()The HDFS key.
-
-
-
Method Detail
-
hdfsClose
public String hdfsClose()
Indicates to close the stream. The option is a:Booleantype. 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:Stringtype. Group: common- Returns:
- the name of the header
FileName.
-
fileNameConsumed
public String fileNameConsumed()
The name of the file consumed. The option is a:Stringtype. Group: consumer- Returns:
- the name of the header
FileNameConsumed.
-
fileAbsolutePath
public String fileAbsolutePath()
The absolute path of the file. The option is a:Stringtype. Group: consumer- Returns:
- the name of the header
FileAbsolutePath.
-
kEY
public String kEY()
The HDFS key. The option is a:Objecttype. Group: common- Returns:
- the name of the header
KEY.
-
fileLength
public String fileLength()
The size of the file. The option is a:Longtype. Group: consumer- Returns:
- the name of the header
FileLength.
-
-