public static enum HdfsProducer.SplitStrategyType extends Enum<HdfsProducer.SplitStrategyType>
Modifier and Type | Method and Description |
---|---|
abstract boolean |
split(HdfsOutputStream oldOstream,
long value,
HdfsProducer producer) |
static HdfsProducer.SplitStrategyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HdfsProducer.SplitStrategyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HdfsProducer.SplitStrategyType BYTES
public static final HdfsProducer.SplitStrategyType MESSAGES
public static final HdfsProducer.SplitStrategyType IDLE
public static HdfsProducer.SplitStrategyType[] values()
for (HdfsProducer.SplitStrategyType c : HdfsProducer.SplitStrategyType.values()) System.out.println(c);
public static HdfsProducer.SplitStrategyType 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 abstract boolean split(HdfsOutputStream oldOstream, long value, HdfsProducer producer)
Apache Camel