Package org.apache.beam.sdk.io
Enum TFRecordIO.CompressionType
- java.lang.Object
-
- java.lang.Enum<TFRecordIO.CompressionType>
-
- org.apache.beam.sdk.io.TFRecordIO.CompressionType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TFRecordIO.CompressionType>
- Enclosing class:
- TFRecordIO
@Deprecated public static enum TFRecordIO.CompressionType extends java.lang.Enum<TFRecordIO.CompressionType>
Deprecated.UseCompression
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
AUTO
public static final TFRecordIO.CompressionType AUTO
Deprecated.- See Also:
Compression.AUTO
-
NONE
public static final TFRecordIO.CompressionType NONE
Deprecated.- See Also:
Compression.UNCOMPRESSED
-
GZIP
public static final TFRecordIO.CompressionType GZIP
Deprecated.- See Also:
Compression.GZIP
-
ZLIB
public static final TFRecordIO.CompressionType ZLIB
Deprecated.- See Also:
Compression.DEFLATE
-
-
Method Detail
-
values
public static TFRecordIO.CompressionType[] values()
Deprecated.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 (TFRecordIO.CompressionType c : TFRecordIO.CompressionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TFRecordIO.CompressionType valueOf(java.lang.String name)
Deprecated.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
matches
public boolean matches(java.lang.String filename)
Deprecated.- See Also:
Compression.matches(java.lang.String)
-
-