public enum CompressionAlgorithm extends Enum<CompressionAlgorithm>
| Enum Constant and Description |
|---|
BZIP2 |
UNCOMPRESSED |
ZIP |
ZLIB |
| Modifier and Type | Field and Description |
|---|---|
private int |
id |
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
static CompressionAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressionAlgorithm UNCOMPRESSED
public static final CompressionAlgorithm ZIP
public static final CompressionAlgorithm ZLIB
public static final CompressionAlgorithm BZIP2
public static CompressionAlgorithm[] values()
for (CompressionAlgorithm c : CompressionAlgorithm.values()) System.out.println(c);
public static CompressionAlgorithm 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 nullpublic int getId()
Copyright © 2022 Apache NiFi Project. All rights reserved.