class OrcCompression
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.KinesisFirehose.OrcCompression |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awskinesisfirehose#OrcCompression |
Java | software.amazon.awscdk.services.kinesisfirehose.OrcCompression |
Python | aws_cdk.aws_kinesisfirehose.OrcCompression |
TypeScript (source) | aws-cdk-lib » aws_kinesisfirehose » OrcCompression |
Possible compression options available for ORC OutputFormat.
Example
const outputFormat = new firehose.OrcOutputFormat({
formatVersion: firehose.OrcFormatVersion.V0_11,
blockSize: Size.mebibytes(256),
compression: firehose.OrcCompression.NONE,
bloomFilterColumns: ['columnA'],
bloomFilterFalsePositiveProbability: 0.1,
dictionaryKeyThreshold: 0.7,
enablePadding: true,
paddingTolerance: 0.2,
rowIndexStride: 9000,
stripeSize: Size.mebibytes(32),
})
Properties
| Name | Type | Description |
|---|---|---|
| value | string | the string value of the Serde Compression. |
| static NONE | Orc | Uncompressed. |
| static SNAPPY | Orc | Snappy. |
| static ZLIB | Orc | Gzip. |
value
Type:
string
the string value of the Serde Compression.
static NONE
Type:
Orc
Uncompressed.
static SNAPPY
Type:
Orc
Snappy.
static ZLIB
Type:
Orc
Gzip.
Methods
| Name | Description |
|---|---|
| static of(value) | Creates a new OrcCompression instance with a custom value. |
static of(value)
public static of(value: string): OrcCompression
Parameters
- value
string
Returns
Creates a new OrcCompression instance with a custom value.

.NET
Go
Java
Python
TypeScript (