Package io.trino.orc.proto
Enum OrcProto.Stream.Kind
- java.lang.Object
-
- java.lang.Enum<OrcProto.Stream.Kind>
-
- io.trino.orc.proto.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 enumorc.proto.Stream.Kind
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOOM_FILTERBLOOM_FILTER = 7;BLOOM_FILTER_UTF8BLOOM_FILTER_UTF8 = 8;DATADATA = 1;DICTIONARY_COUNTDICTIONARY_COUNT = 4;DICTIONARY_DATADICTIONARY_DATA = 3;ENCRYPTED_DATAENCRYPTED_DATA = 10;ENCRYPTED_INDEXVirtual stream kinds to allocate space for encrypted index and data.FILE_STATISTICSA virtual stream kind that is used for setting the encryption IV.LENGTHLENGTH = 2;PRESENTPRESENT = 0;ROW_INDEXROW_INDEX = 6;SECONDARYSECONDARY = 5;STRIPE_STATISTICSstripe statistics streams
-
Field Summary
Fields Modifier and Type Field Description static intBLOOM_FILTER_UTF8_VALUEBLOOM_FILTER_UTF8 = 8;static intBLOOM_FILTER_VALUEBLOOM_FILTER = 7;static intDATA_VALUEDATA = 1;static intDICTIONARY_COUNT_VALUEDICTIONARY_COUNT = 4;static intDICTIONARY_DATA_VALUEDICTIONARY_DATA = 3;static intENCRYPTED_DATA_VALUEENCRYPTED_DATA = 10;static intENCRYPTED_INDEX_VALUEVirtual stream kinds to allocate space for encrypted index and data.static intFILE_STATISTICS_VALUEA virtual stream kind that is used for setting the encryption IV.static intLENGTH_VALUELENGTH = 2;static intPRESENT_VALUEPRESENT = 0;static intROW_INDEX_VALUEROW_INDEX = 6;static intSECONDARY_VALUESECONDARY = 5;static intSTRIPE_STATISTICS_VALUEstripe statistics streams
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OrcProto.Stream.KindforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<OrcProto.Stream.Kind>internalGetValueMap()static OrcProto.Stream.KindvalueOf(int value)Deprecated.static OrcProto.Stream.KindvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static OrcProto.Stream.KindvalueOf(String name)Returns the enum constant of this type with the specified name.static OrcProto.Stream.Kind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRESENT
public static final OrcProto.Stream.Kind PRESENT
PRESENT = 0;
-
DATA
public static final OrcProto.Stream.Kind DATA
DATA = 1;
-
LENGTH
public static final OrcProto.Stream.Kind LENGTH
LENGTH = 2;
-
DICTIONARY_DATA
public static final OrcProto.Stream.Kind DICTIONARY_DATA
DICTIONARY_DATA = 3;
-
DICTIONARY_COUNT
public static final OrcProto.Stream.Kind DICTIONARY_COUNT
DICTIONARY_COUNT = 4;
-
SECONDARY
public static final OrcProto.Stream.Kind SECONDARY
SECONDARY = 5;
-
ROW_INDEX
public static final OrcProto.Stream.Kind ROW_INDEX
ROW_INDEX = 6;
-
BLOOM_FILTER
public static final OrcProto.Stream.Kind BLOOM_FILTER
BLOOM_FILTER = 7;
-
BLOOM_FILTER_UTF8
public static final OrcProto.Stream.Kind BLOOM_FILTER_UTF8
BLOOM_FILTER_UTF8 = 8;
-
ENCRYPTED_INDEX
public static final OrcProto.Stream.Kind ENCRYPTED_INDEX
Virtual stream kinds to allocate space for encrypted index and data.
ENCRYPTED_INDEX = 9;
-
ENCRYPTED_DATA
public static final OrcProto.Stream.Kind ENCRYPTED_DATA
ENCRYPTED_DATA = 10;
-
STRIPE_STATISTICS
public static final OrcProto.Stream.Kind STRIPE_STATISTICS
stripe statistics streams
STRIPE_STATISTICS = 100;
-
FILE_STATISTICS
public static final OrcProto.Stream.Kind FILE_STATISTICS
A virtual stream kind that is used for setting the encryption IV.
FILE_STATISTICS = 101;
-
-
Field Detail
-
PRESENT_VALUE
public static final int PRESENT_VALUE
PRESENT = 0;- See Also:
- Constant Field Values
-
DATA_VALUE
public static final int DATA_VALUE
DATA = 1;- See Also:
- Constant Field Values
-
LENGTH_VALUE
public static final int LENGTH_VALUE
LENGTH = 2;- See Also:
- Constant Field Values
-
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.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 nameNullPointerException- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.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 nameNullPointerException- if the argument is null
-
-