Package io.trino.orc.proto
Class OrcProto.StripeInformation
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.trino.orc.proto.OrcProto.StripeInformation
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,OrcProto.StripeInformationOrBuilder,Serializable
- Enclosing class:
- OrcProto
public static final class OrcProto.StripeInformation extends com.google.protobuf.GeneratedMessageV3 implements OrcProto.StripeInformationOrBuilder
Protobuf typeorc.proto.StripeInformation- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOrcProto.StripeInformation.BuilderProtobuf typeorc.proto.StripeInformation-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDATALENGTH_FIELD_NUMBERstatic intENCRYPTEDLOCALKEYS_FIELD_NUMBERstatic intENCRYPTSTRIPEID_FIELD_NUMBERstatic intFOOTERLENGTH_FIELD_NUMBERstatic intINDEXLENGTH_FIELD_NUMBERstatic intNUMBEROFROWS_FIELD_NUMBERstatic intOFFSET_FIELD_NUMBERstatic com.google.protobuf.Parser<OrcProto.StripeInformation>PARSERDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)longgetDataLength()the number of bytes of datastatic OrcProto.StripeInformationgetDefaultInstance()OrcProto.StripeInformationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.ByteStringgetEncryptedLocalKeys(int index)For each encryption variant, the new encrypted local key to use until we find a replacement.intgetEncryptedLocalKeysCount()For each encryption variant, the new encrypted local key to use until we find a replacement.List<com.google.protobuf.ByteString>getEncryptedLocalKeysList()For each encryption variant, the new encrypted local key to use until we find a replacement.longgetEncryptStripeId()If this is present, the reader should use this value for the encryption stripe id for setting the encryption IV.longgetFooterLength()the number of bytes in the stripe footerlonggetIndexLength()the number of bytes of indexlonggetNumberOfRows()the number of rows in this stripelonggetOffset()the global file offset of the start of the stripecom.google.protobuf.Parser<OrcProto.StripeInformation>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasDataLength()the number of bytes of databooleanhasEncryptStripeId()If this is present, the reader should use this value for the encryption stripe id for setting the encryption IV.booleanhasFooterLength()the number of bytes in the stripe footerinthashCode()booleanhasIndexLength()the number of bytes of indexbooleanhasNumberOfRows()the number of rows in this stripebooleanhasOffset()the global file offset of the start of the stripeprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OrcProto.StripeInformation.BuildernewBuilder()static OrcProto.StripeInformation.BuildernewBuilder(OrcProto.StripeInformation prototype)OrcProto.StripeInformation.BuildernewBuilderForType()protected OrcProto.StripeInformation.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OrcProto.StripeInformationparseDelimitedFrom(InputStream input)static OrcProto.StripeInformationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OrcProto.StripeInformationparseFrom(byte[] data)static OrcProto.StripeInformationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OrcProto.StripeInformationparseFrom(com.google.protobuf.ByteString data)static OrcProto.StripeInformationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OrcProto.StripeInformationparseFrom(com.google.protobuf.CodedInputStream input)static OrcProto.StripeInformationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OrcProto.StripeInformationparseFrom(InputStream input)static OrcProto.StripeInformationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OrcProto.StripeInformationparseFrom(ByteBuffer data)static OrcProto.StripeInformationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OrcProto.StripeInformation>parser()OrcProto.StripeInformation.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
OFFSET_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INDEXLENGTH_FIELD_NUMBER
public static final int INDEXLENGTH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATALENGTH_FIELD_NUMBER
public static final int DATALENGTH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FOOTERLENGTH_FIELD_NUMBER
public static final int FOOTERLENGTH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NUMBEROFROWS_FIELD_NUMBER
public static final int NUMBEROFROWS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCRYPTSTRIPEID_FIELD_NUMBER
public static final int ENCRYPTSTRIPEID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCRYPTEDLOCALKEYS_FIELD_NUMBER
public static final int ENCRYPTEDLOCALKEYS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<OrcProto.StripeInformation> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasOffset
public boolean hasOffset()
the global file offset of the start of the stripe
optional uint64 offset = 1;- Specified by:
hasOffsetin interfaceOrcProto.StripeInformationOrBuilder- Returns:
- Whether the offset field is set.
-
getOffset
public long getOffset()
the global file offset of the start of the stripe
optional uint64 offset = 1;- Specified by:
getOffsetin interfaceOrcProto.StripeInformationOrBuilder- Returns:
- The offset.
-
hasIndexLength
public boolean hasIndexLength()
the number of bytes of index
optional uint64 indexLength = 2;- Specified by:
hasIndexLengthin interfaceOrcProto.StripeInformationOrBuilder- Returns:
- Whether the indexLength field is set.
-
getIndexLength
public long getIndexLength()
the number of bytes of index
optional uint64 indexLength = 2;- Specified by:
getIndexLengthin interfaceOrcProto.StripeInformationOrBuilder- Returns:
- The indexLength.
-
hasDataLength
public boolean hasDataLength()
the number of bytes of data
optional uint64 dataLength = 3;- Specified by:
hasDataLengthin interfaceOrcProto.StripeInformationOrBuilder- Returns:
- Whether the dataLength field is set.
-
getDataLength
public long getDataLength()
the number of bytes of data
optional uint64 dataLength = 3;- Specified by:
getDataLengthin interfaceOrcProto.StripeInformationOrBuilder- Returns:
- The dataLength.
-
hasFooterLength
public boolean hasFooterLength()
the number of bytes in the stripe footer
optional uint64 footerLength = 4;- Specified by:
hasFooterLengthin interfaceOrcProto.StripeInformationOrBuilder- Returns:
- Whether the footerLength field is set.
-
getFooterLength
public long getFooterLength()
the number of bytes in the stripe footer
optional uint64 footerLength = 4;- Specified by:
getFooterLengthin interfaceOrcProto.StripeInformationOrBuilder- Returns:
- The footerLength.
-
hasNumberOfRows
public boolean hasNumberOfRows()
the number of rows in this stripe
optional uint64 numberOfRows = 5;- Specified by:
hasNumberOfRowsin interfaceOrcProto.StripeInformationOrBuilder- Returns:
- Whether the numberOfRows field is set.
-
getNumberOfRows
public long getNumberOfRows()
the number of rows in this stripe
optional uint64 numberOfRows = 5;- Specified by:
getNumberOfRowsin interfaceOrcProto.StripeInformationOrBuilder- Returns:
- The numberOfRows.
-
hasEncryptStripeId
public boolean hasEncryptStripeId()
If this is present, the reader should use this value for the encryption stripe id for setting the encryption IV. Otherwise, the reader should use one larger than the previous stripe's encryptStripeId. For unmerged ORC files, the first stripe will use 1 and the rest of the stripes won't have it set. For merged files, the stripe information will be copied from their original files and thus the first stripe of each of the input files will reset it to 1. Note that 1 was choosen, because protobuf v3 doesn't serialize primitive types that are the default (eg. 0).
optional uint64 encryptStripeId = 6;- Specified by:
hasEncryptStripeIdin interfaceOrcProto.StripeInformationOrBuilder- Returns:
- Whether the encryptStripeId field is set.
-
getEncryptStripeId
public long getEncryptStripeId()
If this is present, the reader should use this value for the encryption stripe id for setting the encryption IV. Otherwise, the reader should use one larger than the previous stripe's encryptStripeId. For unmerged ORC files, the first stripe will use 1 and the rest of the stripes won't have it set. For merged files, the stripe information will be copied from their original files and thus the first stripe of each of the input files will reset it to 1. Note that 1 was choosen, because protobuf v3 doesn't serialize primitive types that are the default (eg. 0).
optional uint64 encryptStripeId = 6;- Specified by:
getEncryptStripeIdin interfaceOrcProto.StripeInformationOrBuilder- Returns:
- The encryptStripeId.
-
getEncryptedLocalKeysList
public List<com.google.protobuf.ByteString> getEncryptedLocalKeysList()
For each encryption variant, the new encrypted local key to use until we find a replacement.
repeated bytes encryptedLocalKeys = 7;- Specified by:
getEncryptedLocalKeysListin interfaceOrcProto.StripeInformationOrBuilder- Returns:
- A list containing the encryptedLocalKeys.
-
getEncryptedLocalKeysCount
public int getEncryptedLocalKeysCount()
For each encryption variant, the new encrypted local key to use until we find a replacement.
repeated bytes encryptedLocalKeys = 7;- Specified by:
getEncryptedLocalKeysCountin interfaceOrcProto.StripeInformationOrBuilder- Returns:
- The count of encryptedLocalKeys.
-
getEncryptedLocalKeys
public com.google.protobuf.ByteString getEncryptedLocalKeys(int index)
For each encryption variant, the new encrypted local key to use until we find a replacement.
repeated bytes encryptedLocalKeys = 7;- Specified by:
getEncryptedLocalKeysin interfaceOrcProto.StripeInformationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The encryptedLocalKeys at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OrcProto.StripeInformation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrcProto.StripeInformation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrcProto.StripeInformation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrcProto.StripeInformation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrcProto.StripeInformation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrcProto.StripeInformation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrcProto.StripeInformation parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OrcProto.StripeInformation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OrcProto.StripeInformation parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OrcProto.StripeInformation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OrcProto.StripeInformation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OrcProto.StripeInformation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OrcProto.StripeInformation.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OrcProto.StripeInformation.Builder newBuilder()
-
newBuilder
public static OrcProto.StripeInformation.Builder newBuilder(OrcProto.StripeInformation prototype)
-
toBuilder
public OrcProto.StripeInformation.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OrcProto.StripeInformation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OrcProto.StripeInformation getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OrcProto.StripeInformation> parser()
-
getParserForType
public com.google.protobuf.Parser<OrcProto.StripeInformation> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OrcProto.StripeInformation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-