Package com.yahoo.searchlib
Enum TranslogserverConfig.Compression.Type.Enum
- java.lang.Object
-
- java.lang.Enum<TranslogserverConfig.Compression.Type.Enum>
-
- com.yahoo.searchlib.TranslogserverConfig.Compression.Type.Enum
-
- All Implemented Interfaces:
Serializable
,Comparable<TranslogserverConfig.Compression.Type.Enum>
- Enclosing class:
- TranslogserverConfig.Compression.Type
public static enum TranslogserverConfig.Compression.Type.Enum extends Enum<TranslogserverConfig.Compression.Type.Enum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LZ4
NONE
NONE_MULTI
ZSTD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TranslogserverConfig.Compression.Type.Enum
valueOf(String name)
Returns the enum constant of this type with the specified name.static TranslogserverConfig.Compression.Type.Enum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final TranslogserverConfig.Compression.Type.Enum NONE
-
NONE_MULTI
public static final TranslogserverConfig.Compression.Type.Enum NONE_MULTI
-
LZ4
public static final TranslogserverConfig.Compression.Type.Enum LZ4
-
ZSTD
public static final TranslogserverConfig.Compression.Type.Enum ZSTD
-
-
Method Detail
-
values
public static TranslogserverConfig.Compression.Type.Enum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TranslogserverConfig.Compression.Type.Enum c : TranslogserverConfig.Compression.Type.Enum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TranslogserverConfig.Compression.Type.Enum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-