|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SinkType> org.apache.flume.conf.sink.SinkType
public enum SinkType
Enumeration of built in sink types available in the system.
Enum Constant Summary | |
---|---|
AVRO
Avro sink |
|
FILE_ROLL
Rolling file sink |
|
HDFS
HDFS Sink provided by org.apache.flume.sink.hdfs.HDFSEventSink |
|
IRC
IRC Sink provided by org.apache.flume.sink.irc.IRCSink |
|
LOGGER
Logger sink |
|
NULL
Null sink |
|
OTHER
Place holder for custom sinks not part of this enumeration. |
Method Summary | |
---|---|
String |
getSinkClassName()
|
static SinkType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SinkType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SinkType OTHER
public static final SinkType NULL
NullSink
public static final SinkType LOGGER
LoggerSink
public static final SinkType FILE_ROLL
RollingFileSink
public static final SinkType HDFS
public static final SinkType IRC
public static final SinkType AVRO
AvroSink
Method Detail |
---|
public static SinkType[] values()
for (SinkType c : SinkType.values()) System.out.println(c);
public static SinkType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getSinkClassName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |