Package io.trino.orc.proto
Interface OrcProto.EncryptionVariantOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OrcProto.EncryptionVariant,OrcProto.EncryptionVariant.Builder
- Enclosing class:
- OrcProto
public static interface OrcProto.EncryptionVariantOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteStringgetEncryptedKey()the encrypted key for the file footercom.google.protobuf.ByteStringgetFileStatistics()encrypted file statistics as a FileStatisticsintgetKey()The master key that was used to encrypt the local key, referenced as an index into the Encryption.key list.intgetRoot()the column id of the rootOrcProto.StreamgetStripeStatistics(int index)the stripe statistics for this variantintgetStripeStatisticsCount()the stripe statistics for this variantList<OrcProto.Stream>getStripeStatisticsList()the stripe statistics for this variantOrcProto.StreamOrBuildergetStripeStatisticsOrBuilder(int index)the stripe statistics for this variantList<? extends OrcProto.StreamOrBuilder>getStripeStatisticsOrBuilderList()the stripe statistics for this variantbooleanhasEncryptedKey()the encrypted key for the file footerbooleanhasFileStatistics()encrypted file statistics as a FileStatisticsbooleanhasKey()The master key that was used to encrypt the local key, referenced as an index into the Encryption.key list.booleanhasRoot()the column id of the root-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasRoot
boolean hasRoot()
the column id of the root
optional uint32 root = 1;- Returns:
- Whether the root field is set.
-
getRoot
int getRoot()
the column id of the root
optional uint32 root = 1;- Returns:
- The root.
-
hasKey
boolean hasKey()
The master key that was used to encrypt the local key, referenced as an index into the Encryption.key list.
optional uint32 key = 2;- Returns:
- Whether the key field is set.
-
getKey
int getKey()
The master key that was used to encrypt the local key, referenced as an index into the Encryption.key list.
optional uint32 key = 2;- Returns:
- The key.
-
hasEncryptedKey
boolean hasEncryptedKey()
the encrypted key for the file footer
optional bytes encryptedKey = 3;- Returns:
- Whether the encryptedKey field is set.
-
getEncryptedKey
com.google.protobuf.ByteString getEncryptedKey()
the encrypted key for the file footer
optional bytes encryptedKey = 3;- Returns:
- The encryptedKey.
-
getStripeStatisticsList
List<OrcProto.Stream> getStripeStatisticsList()
the stripe statistics for this variant
repeated .orc.proto.Stream stripeStatistics = 4;
-
getStripeStatistics
OrcProto.Stream getStripeStatistics(int index)
the stripe statistics for this variant
repeated .orc.proto.Stream stripeStatistics = 4;
-
getStripeStatisticsCount
int getStripeStatisticsCount()
the stripe statistics for this variant
repeated .orc.proto.Stream stripeStatistics = 4;
-
getStripeStatisticsOrBuilderList
List<? extends OrcProto.StreamOrBuilder> getStripeStatisticsOrBuilderList()
the stripe statistics for this variant
repeated .orc.proto.Stream stripeStatistics = 4;
-
getStripeStatisticsOrBuilder
OrcProto.StreamOrBuilder getStripeStatisticsOrBuilder(int index)
the stripe statistics for this variant
repeated .orc.proto.Stream stripeStatistics = 4;
-
hasFileStatistics
boolean hasFileStatistics()
encrypted file statistics as a FileStatistics
optional bytes fileStatistics = 5;- Returns:
- Whether the fileStatistics field is set.
-
getFileStatistics
com.google.protobuf.ByteString getFileStatistics()
encrypted file statistics as a FileStatistics
optional bytes fileStatistics = 5;- Returns:
- The fileStatistics.
-
-