public enum PageCompression extends Enum<PageCompression>
| Enum Constant and Description |
|---|
COMPRESSED |
UNCOMPRESSED |
| Modifier and Type | Method and Description |
|---|---|
byte |
getMarker() |
static PageCompression |
lookupCodecFromMarker(byte marker) |
static PageCompression |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageCompression[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageCompression UNCOMPRESSED
public static final PageCompression COMPRESSED
public static PageCompression[] values()
for (PageCompression c : PageCompression.values()) System.out.println(c);
public static PageCompression 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 byte getMarker()
public static PageCompression lookupCodecFromMarker(byte marker)
Copyright © 2012–2019. All rights reserved.