Enum OrcProto.Stream.Kind

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<OrcProto.Stream.Kind>
    Enclosing class:
    OrcProto.Stream

    public static enum OrcProto.Stream.Kind
    extends Enum<OrcProto.Stream.Kind>
    implements com.google.protobuf.ProtocolMessageEnum
     if you add new index stream kinds, you need to make sure to update
     StreamName to ensure it is added to the stripe in the right area
     
    Protobuf enum orc.proto.Stream.Kind
    • Field Detail

      • DICTIONARY_DATA_VALUE

        public static final int DICTIONARY_DATA_VALUE
        DICTIONARY_DATA = 3;
        See Also:
        Constant Field Values
      • DICTIONARY_COUNT_VALUE

        public static final int DICTIONARY_COUNT_VALUE
        DICTIONARY_COUNT = 4;
        See Also:
        Constant Field Values
      • SECONDARY_VALUE

        public static final int SECONDARY_VALUE
        SECONDARY = 5;
        See Also:
        Constant Field Values
      • ROW_INDEX_VALUE

        public static final int ROW_INDEX_VALUE
        ROW_INDEX = 6;
        See Also:
        Constant Field Values
      • BLOOM_FILTER_VALUE

        public static final int BLOOM_FILTER_VALUE
        BLOOM_FILTER = 7;
        See Also:
        Constant Field Values
      • BLOOM_FILTER_UTF8_VALUE

        public static final int BLOOM_FILTER_UTF8_VALUE
        BLOOM_FILTER_UTF8 = 8;
        See Also:
        Constant Field Values
      • ENCRYPTED_INDEX_VALUE

        public static final int ENCRYPTED_INDEX_VALUE
         Virtual stream kinds to allocate space for encrypted index and data.
         
        ENCRYPTED_INDEX = 9;
        See Also:
        Constant Field Values
      • ENCRYPTED_DATA_VALUE

        public static final int ENCRYPTED_DATA_VALUE
        ENCRYPTED_DATA = 10;
        See Also:
        Constant Field Values
      • STRIPE_STATISTICS_VALUE

        public static final int STRIPE_STATISTICS_VALUE
         stripe statistics streams
         
        STRIPE_STATISTICS = 100;
        See Also:
        Constant Field Values
      • FILE_STATISTICS_VALUE

        public static final int FILE_STATISTICS_VALUE
         A virtual stream kind that is used for setting the encryption IV.
         
        FILE_STATISTICS = 101;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static OrcProto.Stream.Kind[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (OrcProto.Stream.Kind c : OrcProto.Stream.Kind.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OrcProto.Stream.Kind valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static OrcProto.Stream.Kind valueOf​(int value)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • forNumber

        public static OrcProto.Stream.Kind forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<OrcProto.Stream.Kind> internalGetValueMap()
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static OrcProto.Stream.Kind valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null