Module org.apache.arrow.gandiva
Package org.apache.arrow.gandiva.ipc
Class GandivaTypes.ExtGandivaType
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.apache.arrow.gandiva.ipc.GandivaTypes.ExtGandivaType
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,GandivaTypes.ExtGandivaTypeOrBuilder
- Enclosing class:
- GandivaTypes
public static final class GandivaTypes.ExtGandivaType
extends com.google.protobuf.GeneratedMessage
implements GandivaTypes.ExtGandivaTypeOrBuilder
Protobuf type
gandiva.types.ExtGandivaType- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typegandiva.types.ExtGandivaTypeNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanused by DATE32/DATE64intused by DATE32/DATE64static GandivaTypes.ExtGandivaTypestatic final com.google.protobuf.Descriptors.Descriptorused by INTERVALintused by INTERVALcom.google.protobuf.Parser<GandivaTypes.ExtGandivaType>intused by DECIMALintgetScale()used by DECIMALintused by TIME32/TIME64intused by TIME32/TIME64used by TIMESTAMPcom.google.protobuf.ByteStringused by TIMESTAMPgetType()optional .gandiva.types.GandivaType type = 1;intoptional .gandiva.types.GandivaType type = 1;intgetWidth()used by FIXED_SIZE_BINARYbooleanused by DATE32/DATE64inthashCode()booleanused by INTERVALbooleanused by DECIMALbooleanhasScale()used by DECIMALbooleanused by TIME32/TIME64booleanused by TIMESTAMPbooleanhasType()optional .gandiva.types.GandivaType type = 1;booleanhasWidth()used by FIXED_SIZE_BINARYprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(GandivaTypes.ExtGandivaType prototype) protected GandivaTypes.ExtGandivaType.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static GandivaTypes.ExtGandivaTypeparseDelimitedFrom(InputStream input) static GandivaTypes.ExtGandivaTypeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GandivaTypes.ExtGandivaTypeparseFrom(byte[] data) static GandivaTypes.ExtGandivaTypeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GandivaTypes.ExtGandivaTypeparseFrom(com.google.protobuf.ByteString data) static GandivaTypes.ExtGandivaTypeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GandivaTypes.ExtGandivaTypeparseFrom(com.google.protobuf.CodedInputStream input) static GandivaTypes.ExtGandivaTypeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GandivaTypes.ExtGandivaTypeparseFrom(InputStream input) static GandivaTypes.ExtGandivaTypeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GandivaTypes.ExtGandivaTypeparseFrom(ByteBuffer data) static GandivaTypes.ExtGandivaTypeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GandivaTypes.ExtGandivaType>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
WIDTH_FIELD_NUMBER
public static final int WIDTH_FIELD_NUMBER- See Also:
-
PRECISION_FIELD_NUMBER
public static final int PRECISION_FIELD_NUMBER- See Also:
-
SCALE_FIELD_NUMBER
public static final int SCALE_FIELD_NUMBER- See Also:
-
DATEUNIT_FIELD_NUMBER
public static final int DATEUNIT_FIELD_NUMBER- See Also:
-
TIMEUNIT_FIELD_NUMBER
public static final int TIMEUNIT_FIELD_NUMBER- See Also:
-
TIMEZONE_FIELD_NUMBER
public static final int TIMEZONE_FIELD_NUMBER- See Also:
-
INTERVALTYPE_FIELD_NUMBER
public static final int INTERVALTYPE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasType
public boolean hasType()optional .gandiva.types.GandivaType type = 1;- Specified by:
hasTypein interfaceGandivaTypes.ExtGandivaTypeOrBuilder- Returns:
- Whether the type field is set.
-
getTypeValue
public int getTypeValue()optional .gandiva.types.GandivaType type = 1;- Specified by:
getTypeValuein interfaceGandivaTypes.ExtGandivaTypeOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
optional .gandiva.types.GandivaType type = 1;- Specified by:
getTypein interfaceGandivaTypes.ExtGandivaTypeOrBuilder- Returns:
- The type.
-
hasWidth
public boolean hasWidth()used by FIXED_SIZE_BINARY
optional uint32 width = 2;- Specified by:
hasWidthin interfaceGandivaTypes.ExtGandivaTypeOrBuilder- Returns:
- Whether the width field is set.
-
getWidth
public int getWidth()used by FIXED_SIZE_BINARY
optional uint32 width = 2;- Specified by:
getWidthin interfaceGandivaTypes.ExtGandivaTypeOrBuilder- Returns:
- The width.
-
hasPrecision
public boolean hasPrecision()used by DECIMAL
optional int32 precision = 3;- Specified by:
hasPrecisionin interfaceGandivaTypes.ExtGandivaTypeOrBuilder- Returns:
- Whether the precision field is set.
-
getPrecision
public int getPrecision()used by DECIMAL
optional int32 precision = 3;- Specified by:
getPrecisionin interfaceGandivaTypes.ExtGandivaTypeOrBuilder- Returns:
- The precision.
-
hasScale
public boolean hasScale()used by DECIMAL
optional int32 scale = 4;- Specified by:
hasScalein interfaceGandivaTypes.ExtGandivaTypeOrBuilder- Returns:
- Whether the scale field is set.
-
getScale
public int getScale()used by DECIMAL
optional int32 scale = 4;- Specified by:
getScalein interfaceGandivaTypes.ExtGandivaTypeOrBuilder- Returns:
- The scale.
-
hasDateUnit
public boolean hasDateUnit()used by DATE32/DATE64
optional .gandiva.types.DateUnit dateUnit = 5;- Specified by:
hasDateUnitin interfaceGandivaTypes.ExtGandivaTypeOrBuilder- Returns:
- Whether the dateUnit field is set.
-
getDateUnitValue
public int getDateUnitValue()used by DATE32/DATE64
optional .gandiva.types.DateUnit dateUnit = 5;- Specified by:
getDateUnitValuein interfaceGandivaTypes.ExtGandivaTypeOrBuilder- Returns:
- The enum numeric value on the wire for dateUnit.
-
getDateUnit
used by DATE32/DATE64
optional .gandiva.types.DateUnit dateUnit = 5;- Specified by:
getDateUnitin interfaceGandivaTypes.ExtGandivaTypeOrBuilder- Returns:
- The dateUnit.
-
hasTimeUnit
public boolean hasTimeUnit()used by TIME32/TIME64
optional .gandiva.types.TimeUnit timeUnit = 6;- Specified by:
hasTimeUnitin interfaceGandivaTypes.ExtGandivaTypeOrBuilder- Returns:
- Whether the timeUnit field is set.
-
getTimeUnitValue
public int getTimeUnitValue()used by TIME32/TIME64
optional .gandiva.types.TimeUnit timeUnit = 6;- Specified by:
getTimeUnitValuein interfaceGandivaTypes.ExtGandivaTypeOrBuilder- Returns:
- The enum numeric value on the wire for timeUnit.
-
getTimeUnit
used by TIME32/TIME64
optional .gandiva.types.TimeUnit timeUnit = 6;- Specified by:
getTimeUnitin interfaceGandivaTypes.ExtGandivaTypeOrBuilder- Returns:
- The timeUnit.
-
hasTimeZone
public boolean hasTimeZone()used by TIMESTAMP
optional string timeZone = 7;- Specified by:
hasTimeZonein interfaceGandivaTypes.ExtGandivaTypeOrBuilder- Returns:
- Whether the timeZone field is set.
-
getTimeZone
used by TIMESTAMP
optional string timeZone = 7;- Specified by:
getTimeZonein interfaceGandivaTypes.ExtGandivaTypeOrBuilder- Returns:
- The timeZone.
-
getTimeZoneBytes
public com.google.protobuf.ByteString getTimeZoneBytes()used by TIMESTAMP
optional string timeZone = 7;- Specified by:
getTimeZoneBytesin interfaceGandivaTypes.ExtGandivaTypeOrBuilder- Returns:
- The bytes for timeZone.
-
hasIntervalType
public boolean hasIntervalType()used by INTERVAL
optional .gandiva.types.IntervalType intervalType = 8;- Specified by:
hasIntervalTypein interfaceGandivaTypes.ExtGandivaTypeOrBuilder- Returns:
- Whether the intervalType field is set.
-
getIntervalTypeValue
public int getIntervalTypeValue()used by INTERVAL
optional .gandiva.types.IntervalType intervalType = 8;- Specified by:
getIntervalTypeValuein interfaceGandivaTypes.ExtGandivaTypeOrBuilder- Returns:
- The enum numeric value on the wire for intervalType.
-
getIntervalType
used by INTERVAL
optional .gandiva.types.IntervalType intervalType = 8;- Specified by:
getIntervalTypein interfaceGandivaTypes.ExtGandivaTypeOrBuilder- Returns:
- The intervalType.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GandivaTypes.ExtGandivaType parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GandivaTypes.ExtGandivaType parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GandivaTypes.ExtGandivaType parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GandivaTypes.ExtGandivaType parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GandivaTypes.ExtGandivaType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GandivaTypes.ExtGandivaType parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GandivaTypes.ExtGandivaType parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GandivaTypes.ExtGandivaType parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GandivaTypes.ExtGandivaType parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GandivaTypes.ExtGandivaType parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GandivaTypes.ExtGandivaType.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-