Class OrcOutputFormatProps.Jsii$Proxy
- All Implemented Interfaces:
OrcOutputFormatProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
OrcOutputFormatProps
OrcOutputFormatProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.kinesisfirehose.OrcOutputFormatProps
OrcOutputFormatProps.Builder, OrcOutputFormatProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(OrcOutputFormatProps.Builder builder) Constructor that initializes the object based on literal property values passed by theOrcOutputFormatProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal SizeThe Hadoop Distributed File System (HDFS) block size.The column names for which you want Firehose to create bloom filters.final NumberThe Bloom filter false positive probability (FPP).final OrcCompressionThe compression code to use over data blocks.final NumberDetermines whether dictionary encoding should be applied to a column.final BooleanSet this totrueto indicate that you want stripes to be padded to the HDFS block boundaries.final OrcFormatVersionThe version of the ORC format to write.final NumberA number between 0 and 1 that defines the tolerance for block padding as a decimal fraction of stripe size.final NumberThe number of rows between index entries.final SizeThe number of bytes in each stripe.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theOrcOutputFormatProps.Builder.
-
-
Method Details
-
getBlockSize
Description copied from interface:OrcOutputFormatPropsThe Hadoop Distributed File System (HDFS) block size.This is useful if you intend to copy the data from Amazon S3 to HDFS before querying. Firehose uses this value for padding calculations.
Default: `Size.mebibytes(256)`
- Specified by:
getBlockSizein interfaceOrcOutputFormatProps
-
getBloomFilterColumns
Description copied from interface:OrcOutputFormatPropsThe column names for which you want Firehose to create bloom filters.Default: no bloom filters are created
- Specified by:
getBloomFilterColumnsin interfaceOrcOutputFormatProps- See Also:
-
getBloomFilterFalsePositiveProbability
Description copied from interface:OrcOutputFormatPropsThe Bloom filter false positive probability (FPP).The lower the FPP, the bigger the bloom filter.
Default: `0.05`
- Specified by:
getBloomFilterFalsePositiveProbabilityin interfaceOrcOutputFormatProps- See Also:
-
getCompression
Description copied from interface:OrcOutputFormatPropsThe compression code to use over data blocks.The possible values are
NONE,SNAPPY, andZLIB. UseSNAPPYfor higher decompression speed. UseGZIPif the compression ratio is more important than speed.Default: `SNAPPY`
- Specified by:
getCompressionin interfaceOrcOutputFormatProps- See Also:
-
getDictionaryKeyThreshold
Description copied from interface:OrcOutputFormatPropsDetermines whether dictionary encoding should be applied to a column.If the number of distinct keys (unique values) in a column exceeds this fraction of the total non-null rows in that column, dictionary encoding will be turned off for that specific column.
To turn off dictionary encoding, set this threshold to 0. To always use dictionary encoding, set this threshold to 1.
Default: `0.8`
- Specified by:
getDictionaryKeyThresholdin interfaceOrcOutputFormatProps- See Also:
-
getEnablePadding
Description copied from interface:OrcOutputFormatPropsSet this totrueto indicate that you want stripes to be padded to the HDFS block boundaries.This is useful if you intend to copy the data from Amazon S3 to HDFS before querying.
Default: `false`
- Specified by:
getEnablePaddingin interfaceOrcOutputFormatProps- See Also:
-
getFormatVersion
Description copied from interface:OrcOutputFormatPropsThe version of the ORC format to write.The possible values are
V0_11andV0_12.Default: `V0_12`
- Specified by:
getFormatVersionin interfaceOrcOutputFormatProps- See Also:
-
getPaddingTolerance
Description copied from interface:OrcOutputFormatPropsA number between 0 and 1 that defines the tolerance for block padding as a decimal fraction of stripe size.The default value is 0.05, which means 5 percent of stripe size.
For the default values of 64 MiB ORC stripes and 256 MiB HDFS blocks, the default block padding tolerance of 5 percent reserves a maximum of 3.2 MiB for padding within the 256 MiB block. In such a case, if the available size within the block is more than 3.2 MiB, a new, smaller stripe is inserted to fit within that space. This ensures that no stripe crosses block boundaries and causes remote reads within a node-local task.
Kinesis Data Firehose ignores this parameter when
EnablePaddingisfalse.Default: `0.05` if `enablePadding` is `true`
- Specified by:
getPaddingTolerancein interfaceOrcOutputFormatProps- See Also:
-
getRowIndexStride
Description copied from interface:OrcOutputFormatPropsThe number of rows between index entries.Default: 10000
- Specified by:
getRowIndexStridein interfaceOrcOutputFormatProps- See Also:
-
getStripeSize
Description copied from interface:OrcOutputFormatPropsThe number of bytes in each stripe.The default is 64 MiB and the minimum is 8 MiB.
Default: `Size.mebibytes(64)`
- Specified by:
getStripeSizein interfaceOrcOutputFormatProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-