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:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasType

      public boolean hasType()
      optional .gandiva.types.GandivaType type = 1;
      Specified by:
      hasType in interface GandivaTypes.ExtGandivaTypeOrBuilder
      Returns:
      Whether the type field is set.
    • getTypeValue

      public int getTypeValue()
      optional .gandiva.types.GandivaType type = 1;
      Specified by:
      getTypeValue in interface GandivaTypes.ExtGandivaTypeOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

      public GandivaTypes.GandivaType getType()
      optional .gandiva.types.GandivaType type = 1;
      Specified by:
      getType in interface GandivaTypes.ExtGandivaTypeOrBuilder
      Returns:
      The type.
    • hasWidth

      public boolean hasWidth()
       used by FIXED_SIZE_BINARY
       
      optional uint32 width = 2;
      Specified by:
      hasWidth in interface GandivaTypes.ExtGandivaTypeOrBuilder
      Returns:
      Whether the width field is set.
    • getWidth

      public int getWidth()
       used by FIXED_SIZE_BINARY
       
      optional uint32 width = 2;
      Specified by:
      getWidth in interface GandivaTypes.ExtGandivaTypeOrBuilder
      Returns:
      The width.
    • hasPrecision

      public boolean hasPrecision()
       used by DECIMAL
       
      optional int32 precision = 3;
      Specified by:
      hasPrecision in interface GandivaTypes.ExtGandivaTypeOrBuilder
      Returns:
      Whether the precision field is set.
    • getPrecision

      public int getPrecision()
       used by DECIMAL
       
      optional int32 precision = 3;
      Specified by:
      getPrecision in interface GandivaTypes.ExtGandivaTypeOrBuilder
      Returns:
      The precision.
    • hasScale

      public boolean hasScale()
       used by DECIMAL
       
      optional int32 scale = 4;
      Specified by:
      hasScale in interface GandivaTypes.ExtGandivaTypeOrBuilder
      Returns:
      Whether the scale field is set.
    • getScale

      public int getScale()
       used by DECIMAL
       
      optional int32 scale = 4;
      Specified by:
      getScale in interface GandivaTypes.ExtGandivaTypeOrBuilder
      Returns:
      The scale.
    • hasDateUnit

      public boolean hasDateUnit()
       used by DATE32/DATE64
       
      optional .gandiva.types.DateUnit dateUnit = 5;
      Specified by:
      hasDateUnit in interface GandivaTypes.ExtGandivaTypeOrBuilder
      Returns:
      Whether the dateUnit field is set.
    • getDateUnitValue

      public int getDateUnitValue()
       used by DATE32/DATE64
       
      optional .gandiva.types.DateUnit dateUnit = 5;
      Specified by:
      getDateUnitValue in interface GandivaTypes.ExtGandivaTypeOrBuilder
      Returns:
      The enum numeric value on the wire for dateUnit.
    • getDateUnit

      public GandivaTypes.DateUnit getDateUnit()
       used by DATE32/DATE64
       
      optional .gandiva.types.DateUnit dateUnit = 5;
      Specified by:
      getDateUnit in interface GandivaTypes.ExtGandivaTypeOrBuilder
      Returns:
      The dateUnit.
    • hasTimeUnit

      public boolean hasTimeUnit()
       used by TIME32/TIME64
       
      optional .gandiva.types.TimeUnit timeUnit = 6;
      Specified by:
      hasTimeUnit in interface GandivaTypes.ExtGandivaTypeOrBuilder
      Returns:
      Whether the timeUnit field is set.
    • getTimeUnitValue

      public int getTimeUnitValue()
       used by TIME32/TIME64
       
      optional .gandiva.types.TimeUnit timeUnit = 6;
      Specified by:
      getTimeUnitValue in interface GandivaTypes.ExtGandivaTypeOrBuilder
      Returns:
      The enum numeric value on the wire for timeUnit.
    • getTimeUnit

      public GandivaTypes.TimeUnit getTimeUnit()
       used by TIME32/TIME64
       
      optional .gandiva.types.TimeUnit timeUnit = 6;
      Specified by:
      getTimeUnit in interface GandivaTypes.ExtGandivaTypeOrBuilder
      Returns:
      The timeUnit.
    • hasTimeZone

      public boolean hasTimeZone()
       used by TIMESTAMP
       
      optional string timeZone = 7;
      Specified by:
      hasTimeZone in interface GandivaTypes.ExtGandivaTypeOrBuilder
      Returns:
      Whether the timeZone field is set.
    • getTimeZone

      public String getTimeZone()
       used by TIMESTAMP
       
      optional string timeZone = 7;
      Specified by:
      getTimeZone in interface GandivaTypes.ExtGandivaTypeOrBuilder
      Returns:
      The timeZone.
    • getTimeZoneBytes

      public com.google.protobuf.ByteString getTimeZoneBytes()
       used by TIMESTAMP
       
      optional string timeZone = 7;
      Specified by:
      getTimeZoneBytes in interface GandivaTypes.ExtGandivaTypeOrBuilder
      Returns:
      The bytes for timeZone.
    • hasIntervalType

      public boolean hasIntervalType()
       used by INTERVAL
       
      optional .gandiva.types.IntervalType intervalType = 8;
      Specified by:
      hasIntervalType in interface GandivaTypes.ExtGandivaTypeOrBuilder
      Returns:
      Whether the intervalType field is set.
    • getIntervalTypeValue

      public int getIntervalTypeValue()
       used by INTERVAL
       
      optional .gandiva.types.IntervalType intervalType = 8;
      Specified by:
      getIntervalTypeValue in interface GandivaTypes.ExtGandivaTypeOrBuilder
      Returns:
      The enum numeric value on the wire for intervalType.
    • getIntervalType

      public GandivaTypes.IntervalType getIntervalType()
       used by INTERVAL
       
      optional .gandiva.types.IntervalType intervalType = 8;
      Specified by:
      getIntervalType in interface GandivaTypes.ExtGandivaTypeOrBuilder
      Returns:
      The intervalType.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static GandivaTypes.ExtGandivaType parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GandivaTypes.ExtGandivaType parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GandivaTypes.ExtGandivaType parseDelimitedFrom(InputStream input) throws IOException
      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

      public GandivaTypes.ExtGandivaType.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static GandivaTypes.ExtGandivaType.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GandivaTypes.ExtGandivaType.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static GandivaTypes.ExtGandivaType getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GandivaTypes.ExtGandivaType> parser()
    • getParserForType

      public com.google.protobuf.Parser<GandivaTypes.ExtGandivaType> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public GandivaTypes.ExtGandivaType getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder