public enum HdfsFileType extends Enum<HdfsFileType>
| Enum Constant and Description |
|---|
ARRAY_FILE |
BLOOMMAP_FILE |
MAP_FILE |
NORMAL_FILE |
SEQUENCE_FILE |
| Modifier and Type | Method and Description |
|---|---|
long |
append(HdfsOutputStream hdfsOutputStream,
Object key,
Object value,
org.apache.camel.Exchange exchange) |
Closeable |
createInputStream(String hdfsPath,
org.apache.camel.component.hdfs.HdfsInfoFactory hdfsInfoFactory) |
Closeable |
createOutputStream(String hdfsPath,
org.apache.camel.component.hdfs.HdfsInfoFactory hdfsInfoFactory) |
long |
next(HdfsInputStream hdfsInputStream,
Holder<Object> key,
Holder<Object> value) |
static HdfsFileType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HdfsFileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HdfsFileType NORMAL_FILE
public static final HdfsFileType SEQUENCE_FILE
public static final HdfsFileType MAP_FILE
public static final HdfsFileType BLOOMMAP_FILE
public static final HdfsFileType ARRAY_FILE
public static HdfsFileType[] values()
for (HdfsFileType c : HdfsFileType.values()) System.out.println(c);
public static HdfsFileType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Closeable createOutputStream(String hdfsPath, org.apache.camel.component.hdfs.HdfsInfoFactory hdfsInfoFactory)
public long append(HdfsOutputStream hdfsOutputStream, Object key, Object value, org.apache.camel.Exchange exchange)
public Closeable createInputStream(String hdfsPath, org.apache.camel.component.hdfs.HdfsInfoFactory hdfsInfoFactory)
public long next(HdfsInputStream hdfsInputStream, Holder<Object> key, Holder<Object> value)
Apache Camel