public enum CompressionType extends Enum<CompressionType>
| Enum Constant and Description |
|---|
AUTOMATIC |
BZIP |
DEFAULT |
GZIP |
LZ4 |
LZO |
NONE |
SNAPPY |
| Modifier and Type | Field and Description |
|---|---|
private String |
description |
| Modifier and Type | Method and Description |
|---|---|
static AllowableValue[] |
allowableValues() |
private String |
getDescription() |
String |
toString() |
static CompressionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressionType NONE
public static final CompressionType DEFAULT
public static final CompressionType BZIP
public static final CompressionType GZIP
public static final CompressionType LZ4
public static final CompressionType LZO
public static final CompressionType SNAPPY
public static final CompressionType AUTOMATIC
private final String description
public static CompressionType[] values()
for (CompressionType c : CompressionType.values()) System.out.println(c);
public static CompressionType 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 nullprivate String getDescription()
public String toString()
toString in class Enum<CompressionType>public static AllowableValue[] allowableValues()
Copyright © 2020 Apache NiFi Project. All rights reserved.