Package org.apache.ignite.configuration
Enum DiskPageCompression
- java.lang.Object
- 
- java.lang.Enum<DiskPageCompression>
- 
- org.apache.ignite.configuration.DiskPageCompression
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<DiskPageCompression>
 
 public enum DiskPageCompression extends Enum<DiskPageCompression> Disk page compression options.- See Also:
- CacheConfiguration.setDiskPageCompression(org.apache.ignite.configuration.DiskPageCompression),- CacheConfiguration.setDiskPageCompressionLevel(java.lang.Integer),- DataStorageConfiguration.setWalPageCompression(org.apache.ignite.configuration.DiskPageCompression),- DataStorageConfiguration.setWalPageCompressionLevel(java.lang.Integer)
 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description DISABLEDCompression disabled.LZ4LZ4 compression.SKIP_GARBAGERetain only useful data from half-filled pages, but do not apply any compression.SNAPPYSnappy compression.ZSTDZstd compression.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static @Nullable DiskPageCompressionfromOrdinal(int ord)Efficiently gets enumerated value from its ordinal.static DiskPageCompressionvalueOf(String name)Returns the enum constant of this type with the specified name.static DiskPageCompression[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
DISABLEDpublic static final DiskPageCompression DISABLED Compression disabled.
 - 
SKIP_GARBAGEpublic static final DiskPageCompression SKIP_GARBAGE Retain only useful data from half-filled pages, but do not apply any compression.
 - 
ZSTDpublic static final DiskPageCompression ZSTD Zstd compression.
 - 
LZ4public static final DiskPageCompression LZ4 LZ4 compression.
 - 
SNAPPYpublic static final DiskPageCompression SNAPPY Snappy compression.
 
- 
 - 
Method Detail- 
valuespublic static DiskPageCompression[] 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 (DiskPageCompression c : DiskPageCompression.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static DiskPageCompression 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 name
- NullPointerException- if the argument is null
 
 - 
fromOrdinal@Nullable public static @Nullable DiskPageCompression fromOrdinal(int ord) Efficiently gets enumerated value from its ordinal.- Parameters:
- ord- Ordinal value.
- Returns:
- Enumerated value or nullif ordinal out of range.
 
 
- 
 
-