public static enum DataChecksum.Type extends Enum<DataChecksum.Type>
Modifier and Type | Method and Description |
---|---|
static DataChecksum.Type |
valueOf(int id) |
static DataChecksum.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataChecksum.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataChecksum.Type NULL
public static final DataChecksum.Type CRC32
public static final DataChecksum.Type CRC32C
public static final DataChecksum.Type DEFAULT
public static final DataChecksum.Type MIXED
public static DataChecksum.Type[] values()
for (DataChecksum.Type c : DataChecksum.Type.values()) System.out.println(c);
public static DataChecksum.Type 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 static DataChecksum.Type valueOf(int id)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.