Package io.substrait.proto
Interface Type.FuncOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Type.Func,Type.Func.Builder
- Enclosing class:
- Type
public static interface Type.FuncOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionNullability of the function value itself, not its return type.intNullability of the function value itself, not its return type.getParameterTypes(int index) Types of parameters this function type accepts.intTypes of parameters this function type accepts.Types of parameters this function type accepts.getParameterTypesOrBuilder(int index) Types of parameters this function type accepts.List<? extends TypeOrBuilder>Types of parameters this function type accepts.Return type of the function.Return type of the function.booleanReturn type of the function.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
-
getParameterTypesList
Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1; -
getParameterTypes
Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1; -
getParameterTypesCount
int getParameterTypesCount()Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1; -
getParameterTypesOrBuilderList
List<? extends TypeOrBuilder> getParameterTypesOrBuilderList()Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1; -
getParameterTypesOrBuilder
Types of parameters this function type accepts.
repeated .substrait.Type parameter_types = 1; -
hasReturnType
boolean hasReturnType()Return type of the function.
.substrait.Type return_type = 2;- Returns:
- Whether the returnType field is set.
-
getReturnType
Type getReturnType()Return type of the function.
.substrait.Type return_type = 2;- Returns:
- The returnType.
-
getReturnTypeOrBuilder
TypeOrBuilder getReturnTypeOrBuilder()Return type of the function.
.substrait.Type return_type = 2; -
getNullabilityValue
int getNullabilityValue()Nullability of the function value itself, not its return type. A nullable function type (e.g., func?<i32 -> i32>) means the function reference may be null. This is distinct from the return type's nullability (e.g., func<i32 -> i32?> where the function always exists but may return null).
.substrait.Type.Nullability nullability = 3;- Returns:
- The enum numeric value on the wire for nullability.
-
getNullability
Type.Nullability getNullability()Nullability of the function value itself, not its return type. A nullable function type (e.g., func?<i32 -> i32>) means the function reference may be null. This is distinct from the return type's nullability (e.g., func<i32 -> i32?> where the function always exists but may return null).
.substrait.Type.Nullability nullability = 3;- Returns:
- The nullability.
-