@Internal public class ProcedureDefinition extends Object implements FunctionDefinition
FunctionDefinition
.Modifier and Type | Field and Description |
---|---|
static String |
PROCEDURE_CALL
the name for the methods to be involved in the procedure.
|
Constructor and Description |
---|
ProcedureDefinition(Procedure procedure) |
Modifier and Type | Method and Description |
---|---|
FunctionKind |
getKind()
Returns the kind of function this definition describes.
|
TypeInference |
getTypeInference(DataTypeFactory typeFactory)
Returns the logic for performing type inference of a call to this function definition.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRequirements, isDeterministic
public static final String PROCEDURE_CALL
public ProcedureDefinition(Procedure procedure)
public FunctionKind getKind()
FunctionDefinition
getKind
in interface FunctionDefinition
public TypeInference getTypeInference(DataTypeFactory typeFactory)
FunctionDefinition
The type inference process is responsible for inferring unknown types of input arguments, validating input arguments, and producing result types. The type inference process happens independent of a function body. The output of the type inference is used to search for a corresponding runtime implementation.
Instances of type inference can be created by using TypeInference.newBuilder()
.
See BuiltInFunctionDefinitions
for concrete usage examples.
getTypeInference
in interface FunctionDefinition
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.