|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.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 | |
---|---|
ASYNCHBASE
AsyncHBase sink |
|
AVRO
Avro sink |
|
ELASTICSEARCH
ElasticSearch sink |
|
FILE_ROLL
Rolling file sink |
|
HBASE
HBase 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 |
|
MORPHLINE_SOLR
MorphlineSolr sink |
|
NULL
Null sink |
|
OTHER
Place holder for custom sinks not part of this enumeration. |
|
THRIFT
Thrift sink |
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
public static final SinkType THRIFT
ThriftSink
public static final SinkType ELASTICSEARCH
ElasticSearchSink
public static final SinkType HBASE
HBaseSink
public static final SinkType ASYNCHBASE
AsyncHBaseSink
public static final SinkType MORPHLINE_SOLR
MorphlineSolrSink
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 |