Package io.trino.orc.proto
Interface OrcProto.EncryptionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OrcProto.Encryption,OrcProto.Encryption.Builder
- Enclosing class:
- OrcProto
public static interface OrcProto.EncryptionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OrcProto.EncryptionKeygetKey(int index)all of the keys used in this fileintgetKeyCount()all of the keys used in this fileList<OrcProto.EncryptionKey>getKeyList()all of the keys used in this fileOrcProto.EncryptionKeyOrBuildergetKeyOrBuilder(int index)all of the keys used in this fileList<? extends OrcProto.EncryptionKeyOrBuilder>getKeyOrBuilderList()all of the keys used in this fileOrcProto.KeyProviderKindgetKeyProvider()How are the local keys encrypted?OrcProto.DataMaskgetMask(int index)all of the masks used in this fileintgetMaskCount()all of the masks used in this fileList<OrcProto.DataMask>getMaskList()all of the masks used in this fileOrcProto.DataMaskOrBuildergetMaskOrBuilder(int index)all of the masks used in this fileList<? extends OrcProto.DataMaskOrBuilder>getMaskOrBuilderList()all of the masks used in this fileOrcProto.EncryptionVariantgetVariants(int index)The encrypted variants.intgetVariantsCount()The encrypted variants.List<OrcProto.EncryptionVariant>getVariantsList()The encrypted variants.OrcProto.EncryptionVariantOrBuildergetVariantsOrBuilder(int index)The encrypted variants.List<? extends OrcProto.EncryptionVariantOrBuilder>getVariantsOrBuilderList()The encrypted variants.booleanhasKeyProvider()How are the local keys encrypted?-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMaskList
List<OrcProto.DataMask> getMaskList()
all of the masks used in this file
repeated .orc.proto.DataMask mask = 1;
-
getMask
OrcProto.DataMask getMask(int index)
all of the masks used in this file
repeated .orc.proto.DataMask mask = 1;
-
getMaskCount
int getMaskCount()
all of the masks used in this file
repeated .orc.proto.DataMask mask = 1;
-
getMaskOrBuilderList
List<? extends OrcProto.DataMaskOrBuilder> getMaskOrBuilderList()
all of the masks used in this file
repeated .orc.proto.DataMask mask = 1;
-
getMaskOrBuilder
OrcProto.DataMaskOrBuilder getMaskOrBuilder(int index)
all of the masks used in this file
repeated .orc.proto.DataMask mask = 1;
-
getKeyList
List<OrcProto.EncryptionKey> getKeyList()
all of the keys used in this file
repeated .orc.proto.EncryptionKey key = 2;
-
getKey
OrcProto.EncryptionKey getKey(int index)
all of the keys used in this file
repeated .orc.proto.EncryptionKey key = 2;
-
getKeyCount
int getKeyCount()
all of the keys used in this file
repeated .orc.proto.EncryptionKey key = 2;
-
getKeyOrBuilderList
List<? extends OrcProto.EncryptionKeyOrBuilder> getKeyOrBuilderList()
all of the keys used in this file
repeated .orc.proto.EncryptionKey key = 2;
-
getKeyOrBuilder
OrcProto.EncryptionKeyOrBuilder getKeyOrBuilder(int index)
all of the keys used in this file
repeated .orc.proto.EncryptionKey key = 2;
-
getVariantsList
List<OrcProto.EncryptionVariant> getVariantsList()
The encrypted variants. Readers should prefer the first variant that the user has access to the corresponding key. If they don't have access to any of the keys, they should get the unencrypted masked data.
repeated .orc.proto.EncryptionVariant variants = 3;
-
getVariants
OrcProto.EncryptionVariant getVariants(int index)
The encrypted variants. Readers should prefer the first variant that the user has access to the corresponding key. If they don't have access to any of the keys, they should get the unencrypted masked data.
repeated .orc.proto.EncryptionVariant variants = 3;
-
getVariantsCount
int getVariantsCount()
The encrypted variants. Readers should prefer the first variant that the user has access to the corresponding key. If they don't have access to any of the keys, they should get the unencrypted masked data.
repeated .orc.proto.EncryptionVariant variants = 3;
-
getVariantsOrBuilderList
List<? extends OrcProto.EncryptionVariantOrBuilder> getVariantsOrBuilderList()
The encrypted variants. Readers should prefer the first variant that the user has access to the corresponding key. If they don't have access to any of the keys, they should get the unencrypted masked data.
repeated .orc.proto.EncryptionVariant variants = 3;
-
getVariantsOrBuilder
OrcProto.EncryptionVariantOrBuilder getVariantsOrBuilder(int index)
The encrypted variants. Readers should prefer the first variant that the user has access to the corresponding key. If they don't have access to any of the keys, they should get the unencrypted masked data.
repeated .orc.proto.EncryptionVariant variants = 3;
-
hasKeyProvider
boolean hasKeyProvider()
How are the local keys encrypted?
optional .orc.proto.KeyProviderKind keyProvider = 4;- Returns:
- Whether the keyProvider field is set.
-
getKeyProvider
OrcProto.KeyProviderKind getKeyProvider()
How are the local keys encrypted?
optional .orc.proto.KeyProviderKind keyProvider = 4;- Returns:
- The keyProvider.
-
-