Package org.apache.beam.sdk.io
Enum TextIO.CompressionType
- java.lang.Object
-
- java.lang.Enum<TextIO.CompressionType>
-
- org.apache.beam.sdk.io.TextIO.CompressionType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TextIO.CompressionType>
- Enclosing class:
- TextIO
@Deprecated public static enum TextIO.CompressionType extends java.lang.Enum<TextIO.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 TextIO.CompressionType
valueOf(java.lang.String name)
Deprecated.Returns the enum constant of this type with the specified name.static TextIO.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 TextIO.CompressionType AUTO
Deprecated.- See Also:
Compression.AUTO
-
UNCOMPRESSED
public static final TextIO.CompressionType UNCOMPRESSED
Deprecated.- See Also:
Compression.UNCOMPRESSED
-
GZIP
public static final TextIO.CompressionType GZIP
Deprecated.- See Also:
Compression.GZIP
-
BZIP2
public static final TextIO.CompressionType BZIP2
Deprecated.- See Also:
Compression.BZIP2
-
ZIP
public static final TextIO.CompressionType ZIP
Deprecated.- See Also:
Compression.ZIP
-
ZSTD
public static final TextIO.CompressionType ZSTD
Deprecated.- See Also:
Compression.ZSTD
-
DEFLATE
public static final TextIO.CompressionType DEFLATE
Deprecated.- See Also:
Compression.DEFLATE
-
-
Method Detail
-
values
public static TextIO.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 (TextIO.CompressionType c : TextIO.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 TextIO.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)
-
-