Compression
.@Deprecated public static enum TFRecordIO.CompressionType extends java.lang.Enum<TFRecordIO.CompressionType>
Enum Constant and Description |
---|
AUTO
Deprecated.
|
GZIP
Deprecated.
|
NONE
Deprecated.
|
ZLIB
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(java.lang.String filename)
Deprecated.
|
static TFRecordIO.CompressionType |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static TFRecordIO.CompressionType[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TFRecordIO.CompressionType AUTO
Compression.AUTO
public static final TFRecordIO.CompressionType NONE
Compression.UNCOMPRESSED
public static final TFRecordIO.CompressionType GZIP
Compression.GZIP
public static final TFRecordIO.CompressionType ZLIB
Compression.DEFLATE
public static TFRecordIO.CompressionType[] values()
for (TFRecordIO.CompressionType c : TFRecordIO.CompressionType.values()) System.out.println(c);
public static TFRecordIO.CompressionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean matches(java.lang.String filename)
Compression.matches(java.lang.String)