Compression¶
- class oci.data_integration.models.Compression(**kwargs)¶
Bases:
objectThe optional compression configuration.
Attributes:
A constant which can be used with the codec property of a Compression.
A constant which can be used with the codec property of a Compression.
A constant which can be used with the codec property of a Compression.
A constant which can be used with the codec property of a Compression.
A constant which can be used with the codec property of a Compression.
A constant which can be used with the codec property of a Compression.
A constant which can be used with the codec property of a Compression.
Gets the codec of this Compression.
Methods:
__init__(**kwargs)Initializes a new Compression object with values from keyword arguments.
- CODEC_AUTO = 'AUTO'¶
A constant which can be used with the codec property of a Compression. This constant has a value of “AUTO”
- CODEC_BZIP2 = 'BZIP2'¶
A constant which can be used with the codec property of a Compression. This constant has a value of “BZIP2”
- CODEC_DEFLATE = 'DEFLATE'¶
A constant which can be used with the codec property of a Compression. This constant has a value of “DEFLATE”
- CODEC_GZIP = 'GZIP'¶
A constant which can be used with the codec property of a Compression. This constant has a value of “GZIP”
- CODEC_LZ4 = 'LZ4'¶
A constant which can be used with the codec property of a Compression. This constant has a value of “LZ4”
- CODEC_NONE = 'NONE'¶
A constant which can be used with the codec property of a Compression. This constant has a value of “NONE”
- CODEC_SNAPPY = 'SNAPPY'¶
A constant which can be used with the codec property of a Compression. This constant has a value of “SNAPPY”
- __init__(**kwargs)¶
Initializes a new Compression object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
codec (str) – The value to assign to the codec property of this Compression. Allowed values for this property are: “NONE”, “AUTO”, “GZIP”, “BZIP2”, “DEFLATE”, “LZ4”, “SNAPPY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property codec¶
Gets the codec of this Compression. Compression algorithm
Allowed values for this property are: “NONE”, “AUTO”, “GZIP”, “BZIP2”, “DEFLATE”, “LZ4”, “SNAPPY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The codec of this Compression.
- Return type
str