Package io.trino.orc.proto
Interface OrcProto.TypeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OrcProto.Type,OrcProto.Type.Builder
- Enclosing class:
- OrcProto
public static interface OrcProto.TypeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OrcProto.StringPairgetAttributes(int index)repeated .orc.proto.StringPair attributes = 7;intgetAttributesCount()repeated .orc.proto.StringPair attributes = 7;List<OrcProto.StringPair>getAttributesList()repeated .orc.proto.StringPair attributes = 7;OrcProto.StringPairOrBuildergetAttributesOrBuilder(int index)repeated .orc.proto.StringPair attributes = 7;List<? extends OrcProto.StringPairOrBuilder>getAttributesOrBuilderList()repeated .orc.proto.StringPair attributes = 7;StringgetFieldNames(int index)repeated string fieldNames = 3;com.google.protobuf.ByteStringgetFieldNamesBytes(int index)repeated string fieldNames = 3;intgetFieldNamesCount()repeated string fieldNames = 3;List<String>getFieldNamesList()repeated string fieldNames = 3;OrcProto.Type.KindgetKind()optional .orc.proto.Type.Kind kind = 1;intgetMaximumLength()optional uint32 maximumLength = 4;intgetPrecision()optional uint32 precision = 5;intgetScale()optional uint32 scale = 6;intgetSubtypes(int index)repeated uint32 subtypes = 2 [packed = true];intgetSubtypesCount()repeated uint32 subtypes = 2 [packed = true];List<Integer>getSubtypesList()repeated uint32 subtypes = 2 [packed = true];booleanhasKind()optional .orc.proto.Type.Kind kind = 1;booleanhasMaximumLength()optional uint32 maximumLength = 4;booleanhasPrecision()optional uint32 precision = 5;booleanhasScale()optional uint32 scale = 6;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasKind
boolean hasKind()
optional .orc.proto.Type.Kind kind = 1;- Returns:
- Whether the kind field is set.
-
getKind
OrcProto.Type.Kind getKind()
optional .orc.proto.Type.Kind kind = 1;- Returns:
- The kind.
-
getSubtypesList
List<Integer> getSubtypesList()
repeated uint32 subtypes = 2 [packed = true];- Returns:
- A list containing the subtypes.
-
getSubtypesCount
int getSubtypesCount()
repeated uint32 subtypes = 2 [packed = true];- Returns:
- The count of subtypes.
-
getSubtypes
int getSubtypes(int index)
repeated uint32 subtypes = 2 [packed = true];- Parameters:
index- The index of the element to return.- Returns:
- The subtypes at the given index.
-
getFieldNamesList
List<String> getFieldNamesList()
repeated string fieldNames = 3;- Returns:
- A list containing the fieldNames.
-
getFieldNamesCount
int getFieldNamesCount()
repeated string fieldNames = 3;- Returns:
- The count of fieldNames.
-
getFieldNames
String getFieldNames(int index)
repeated string fieldNames = 3;- Parameters:
index- The index of the element to return.- Returns:
- The fieldNames at the given index.
-
getFieldNamesBytes
com.google.protobuf.ByteString getFieldNamesBytes(int index)
repeated string fieldNames = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the fieldNames at the given index.
-
hasMaximumLength
boolean hasMaximumLength()
optional uint32 maximumLength = 4;- Returns:
- Whether the maximumLength field is set.
-
getMaximumLength
int getMaximumLength()
optional uint32 maximumLength = 4;- Returns:
- The maximumLength.
-
hasPrecision
boolean hasPrecision()
optional uint32 precision = 5;- Returns:
- Whether the precision field is set.
-
getPrecision
int getPrecision()
optional uint32 precision = 5;- Returns:
- The precision.
-
hasScale
boolean hasScale()
optional uint32 scale = 6;- Returns:
- Whether the scale field is set.
-
getScale
int getScale()
optional uint32 scale = 6;- Returns:
- The scale.
-
getAttributesList
List<OrcProto.StringPair> getAttributesList()
repeated .orc.proto.StringPair attributes = 7;
-
getAttributes
OrcProto.StringPair getAttributes(int index)
repeated .orc.proto.StringPair attributes = 7;
-
getAttributesCount
int getAttributesCount()
repeated .orc.proto.StringPair attributes = 7;
-
getAttributesOrBuilderList
List<? extends OrcProto.StringPairOrBuilder> getAttributesOrBuilderList()
repeated .orc.proto.StringPair attributes = 7;
-
getAttributesOrBuilder
OrcProto.StringPairOrBuilder getAttributesOrBuilder(int index)
repeated .orc.proto.StringPair attributes = 7;
-
-