public enum SinkType extends Enum<SinkType> implements ComponentWithClassName
| Enum Constant and Description |
|---|
ASYNCHBASE
AsyncHBase sink
|
AVRO
Avro sink
|
ELASTICSEARCH
ElasticSearch sink
|
FILE_ROLL
Rolling file sink
|
HBASE
HBase sink
|
HBASE2
HBase2 sink
|
HDFS
HDFS Sink provided by org.apache.flume.sink.hdfs.HDFSEventSink
|
HIVE
Hive Sink
|
HTTP
HTTP Sink
|
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
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName() |
String |
getSinkClassName()
Deprecated.
|
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.
|
public static final SinkType OTHER
public static final SinkType NULL
NullSinkpublic static final SinkType LOGGER
LoggerSinkpublic static final SinkType FILE_ROLL
RollingFileSinkpublic static final SinkType HDFS
public static final SinkType IRC
public static final SinkType AVRO
AvroSinkpublic static final SinkType THRIFT
ThriftSinkpublic static final SinkType ELASTICSEARCH
org.apache.flume.sink.elasticsearch.ElasticSearchSinkpublic static final SinkType ASYNCHBASE
AsyncHBaseSinkpublic static final SinkType HBASE2
HBase2Sinkpublic static final SinkType MORPHLINE_SOLR
MorphlineSolrSinkpublic 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 nameNullPointerException - if the argument is null@Deprecated public String getSinkClassName()
public String getClassName()
getClassName in interface ComponentWithClassNameCopyright © 2009-2022 Apache Software Foundation. All Rights Reserved.