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
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 ASYNCHBASE
AsyncHBaseSink
public static final SinkType HBASE2
HBase2Sink
public static final SinkType MORPHLINE_SOLR
MorphlineSolrSink
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 nameNullPointerException
- if the argument is null@Deprecated public String getSinkClassName()
public String getClassName()
getClassName
in interface ComponentWithClassName
Copyright © 2009-2018 Apache Software Foundation. All Rights Reserved.