public static interface TypeProtos.MajorTypeOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
TypeProtos.MinorType |
getMinorType()
optional .common.MinorType minor_type = 1; |
TypeProtos.DataMode |
getMode()
optional .common.DataMode mode = 2; |
int |
getPrecision()
used for decimal types or as optional length for fixed size value
|
int |
getScale()
used for decimal types
|
TypeProtos.MinorType |
getSubType(int index)
used by Union type
|
int |
getSubTypeCount()
used by Union type
|
List<TypeProtos.MinorType> |
getSubTypeList()
used by Union type
|
int |
getTimeZone()
used by TimeStamp type
|
int |
getWidth()
optional int32 width = 3; |
boolean |
hasMinorType()
optional .common.MinorType minor_type = 1; |
boolean |
hasMode()
optional .common.DataMode mode = 2; |
boolean |
hasPrecision()
used for decimal types or as optional length for fixed size value
|
boolean |
hasScale()
used for decimal types
|
boolean |
hasTimeZone()
used by TimeStamp type
|
boolean |
hasWidth()
optional int32 width = 3; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasMinorType()
optional .common.MinorType minor_type = 1;
TypeProtos.MinorType getMinorType()
optional .common.MinorType minor_type = 1;
boolean hasMode()
optional .common.DataMode mode = 2;
TypeProtos.DataMode getMode()
optional .common.DataMode mode = 2;
boolean hasWidth()
optional int32 width = 3;
int getWidth()
optional int32 width = 3;
boolean hasPrecision()
used for decimal types or as optional length for fixed size value
optional int32 precision = 4;
int getPrecision()
used for decimal types or as optional length for fixed size value
optional int32 precision = 4;
boolean hasScale()
used for decimal types
optional int32 scale = 5;
int getScale()
used for decimal types
optional int32 scale = 5;
boolean hasTimeZone()
used by TimeStamp type
optional int32 timeZone = 6;
int getTimeZone()
used by TimeStamp type
optional int32 timeZone = 6;
List<TypeProtos.MinorType> getSubTypeList()
used by Union type
repeated .common.MinorType sub_type = 7;
int getSubTypeCount()
used by Union type
repeated .common.MinorType sub_type = 7;
TypeProtos.MinorType getSubType(int index)
used by Union type
repeated .common.MinorType sub_type = 7;
index
- The index of the element to return.Copyright © 1970 The Apache Software Foundation. All rights reserved.