Package io.substrait.proto
Interface Type.IntervalDayOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Type.IntervalDay,Type.IntervalDay.Builder
- Enclosing class:
- Type
public static interface Type.IntervalDayOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.substrait.Type.Nullability nullability = 2;int.substrait.Type.Nullability nullability = 2;intSub-second precision, 0 means the value given is in seconds, 3 is milliseconds, 6 microseconds, 9 is nanoseconds, etc.intuint32 type_variation_reference = 1;booleanSub-second precision, 0 means the value given is in seconds, 3 is milliseconds, 6 microseconds, 9 is nanoseconds, etc.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTypeVariationReference
int getTypeVariationReference()uint32 type_variation_reference = 1;- Returns:
- The typeVariationReference.
-
getNullabilityValue
int getNullabilityValue().substrait.Type.Nullability nullability = 2;- Returns:
- The enum numeric value on the wire for nullability.
-
getNullability
Type.Nullability getNullability().substrait.Type.Nullability nullability = 2;- Returns:
- The nullability.
-
hasPrecision
boolean hasPrecision()Sub-second precision, 0 means the value given is in seconds, 3 is milliseconds, 6 microseconds, 9 is nanoseconds, etc. if unset, treat as 6.
optional int32 precision = 3;- Returns:
- Whether the precision field is set.
-
getPrecision
int getPrecision()Sub-second precision, 0 means the value given is in seconds, 3 is milliseconds, 6 microseconds, 9 is nanoseconds, etc. if unset, treat as 6.
optional int32 precision = 3;- Returns:
- The precision.
-