class ParquetCompression
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.KinesisFirehose.ParquetCompression |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awskinesisfirehose#ParquetCompression |
Java | software.amazon.awscdk.services.kinesisfirehose.ParquetCompression |
Python | aws_cdk.aws_kinesisfirehose.ParquetCompression |
TypeScript (source) | aws-cdk-lib » aws_kinesisfirehose » ParquetCompression |
Possible compression options available for Parquet OutputFormat.
Example
const outputFormat = new firehose.ParquetOutputFormat({
blockSize: Size.mebibytes(512),
compression: firehose.ParquetCompression.UNCOMPRESSED,
enableDictionaryCompression: true,
maxPadding: Size.bytes(10),
pageSize: Size.mebibytes(2),
writerVersion: firehose.ParquetWriterVersion.V2,
})
Properties
| Name | Type | Description |
|---|---|---|
| value | string | the string value of the Serde Compression. |
| static GZIP | Parquet | Gzip. |
| static SNAPPY | Parquet | Snappy. |
| static UNCOMPRESSED | Parquet | Uncompressed. |
value
Type:
string
the string value of the Serde Compression.
static GZIP
Type:
Parquet
Gzip.
static SNAPPY
Type:
Parquet
Snappy.
static UNCOMPRESSED
Type:
Parquet
Uncompressed.
Methods
| Name | Description |
|---|---|
| static of(value) | Creates a new ParquetCompression instance with a custom value. |
static of(value)
public static of(value: string): ParquetCompression
Parameters
- value
string
Returns
Creates a new ParquetCompression instance with a custom value.

.NET
Go
Java
Python
TypeScript (