Package io.substrait.proto
Interface RelCommon.Hint.SavedComputationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RelCommon.Hint.SavedComputation,RelCommon.Hint.SavedComputation.Builder
- Enclosing class:
- RelCommon.Hint
public static interface RelCommon.Hint.SavedComputationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintThe value corresponds to a plan unique number for that datastructure.getType()The type of this computation.intThe type of this computation.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
-
getComputationId
int getComputationId()The value corresponds to a plan unique number for that datastructure. Any particular computation may be saved only once but it may be loaded multiple times.
int32 computation_id = 1;- Returns:
- The computationId.
-
getTypeValue
int getTypeValue()The type of this computation. While a plan may use COMPUTATION_TYPE_UNKNOWN for all of its types it is recommended to use a more specific type so that the optimization is more portable. The consumer should be able to decide if an unknown type here matches the same unknown type at a different plan and ignore the optimization if they are mismatched.
.substrait.RelCommon.Hint.ComputationType type = 2;- Returns:
- The enum numeric value on the wire for type.
-
getType
RelCommon.Hint.ComputationType getType()The type of this computation. While a plan may use COMPUTATION_TYPE_UNKNOWN for all of its types it is recommended to use a more specific type so that the optimization is more portable. The consumer should be able to decide if an unknown type here matches the same unknown type at a different plan and ignore the optimization if they are mismatched.
.substrait.RelCommon.Hint.ComputationType type = 2;- Returns:
- The type.
-