public static enum CompressionFactory.LongEncodingStrategy extends Enum<CompressionFactory.LongEncodingStrategy>
Enum Constant and Description |
---|
AUTO
AUTO strategy scans all values once before encoding them.
|
LONGS
LONGS strategy always encode the values using LONGS format
|
Modifier and Type | Method and Description |
---|---|
static CompressionFactory.LongEncodingStrategy |
fromString(String name) |
String |
toString() |
static CompressionFactory.LongEncodingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionFactory.LongEncodingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressionFactory.LongEncodingStrategy AUTO
public static final CompressionFactory.LongEncodingStrategy LONGS
public static CompressionFactory.LongEncodingStrategy[] values()
for (CompressionFactory.LongEncodingStrategy c : CompressionFactory.LongEncodingStrategy.values()) System.out.println(c);
public static CompressionFactory.LongEncodingStrategy 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 String toString()
toString
in class Enum<CompressionFactory.LongEncodingStrategy>
public static CompressionFactory.LongEncodingStrategy fromString(String name)
Copyright © 2011–2017. All rights reserved.