Interface OrcProto.StripeInformationOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getDataLength()
      the number of bytes of data
      com.google.protobuf.ByteString getEncryptedLocalKeys​(int index)
      For each encryption variant, the new encrypted local key to use until we find a replacement.
      int getEncryptedLocalKeysCount()
      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.
      long getEncryptStripeId()
      If this is present, the reader should use this value for the encryption stripe id for setting the encryption IV.
      long getFooterLength()
      the number of bytes in the stripe footer
      long getIndexLength()
      the number of bytes of index
      long getNumberOfRows()
      the number of rows in this stripe
      long getOffset()
      the global file offset of the start of the stripe
      boolean hasDataLength()
      the number of bytes of data
      boolean hasEncryptStripeId()
      If this is present, the reader should use this value for the encryption stripe id for setting the encryption IV.
      boolean hasFooterLength()
      the number of bytes in the stripe footer
      boolean hasIndexLength()
      the number of bytes of index
      boolean hasNumberOfRows()
      the number of rows in this stripe
      boolean hasOffset()
      the global file offset of the start of the stripe
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasOffset

        boolean hasOffset()
         the global file offset of the start of the stripe
         
        optional uint64 offset = 1;
        Returns:
        Whether the offset field is set.
      • getOffset

        long getOffset()
         the global file offset of the start of the stripe
         
        optional uint64 offset = 1;
        Returns:
        The offset.
      • hasIndexLength

        boolean hasIndexLength()
         the number of bytes of index
         
        optional uint64 indexLength = 2;
        Returns:
        Whether the indexLength field is set.
      • getIndexLength

        long getIndexLength()
         the number of bytes of index
         
        optional uint64 indexLength = 2;
        Returns:
        The indexLength.
      • hasDataLength

        boolean hasDataLength()
         the number of bytes of data
         
        optional uint64 dataLength = 3;
        Returns:
        Whether the dataLength field is set.
      • getDataLength

        long getDataLength()
         the number of bytes of data
         
        optional uint64 dataLength = 3;
        Returns:
        The dataLength.
      • hasFooterLength

        boolean hasFooterLength()
         the number of bytes in the stripe footer
         
        optional uint64 footerLength = 4;
        Returns:
        Whether the footerLength field is set.
      • getFooterLength

        long getFooterLength()
         the number of bytes in the stripe footer
         
        optional uint64 footerLength = 4;
        Returns:
        The footerLength.
      • hasNumberOfRows

        boolean hasNumberOfRows()
         the number of rows in this stripe
         
        optional uint64 numberOfRows = 5;
        Returns:
        Whether the numberOfRows field is set.
      • getNumberOfRows

        long getNumberOfRows()
         the number of rows in this stripe
         
        optional uint64 numberOfRows = 5;
        Returns:
        The numberOfRows.
      • hasEncryptStripeId

        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;
        Returns:
        Whether the encryptStripeId field is set.
      • getEncryptStripeId

        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;
        Returns:
        The encryptStripeId.
      • getEncryptedLocalKeysList

        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;
        Returns:
        A list containing the encryptedLocalKeys.
      • getEncryptedLocalKeysCount

        int getEncryptedLocalKeysCount()
         For each encryption variant, the new encrypted local key to use
         until we find a replacement.
         
        repeated bytes encryptedLocalKeys = 7;
        Returns:
        The count of encryptedLocalKeys.
      • getEncryptedLocalKeys

        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;
        Parameters:
        index - The index of the element to return.
        Returns:
        The encryptedLocalKeys at the given index.