@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, waitgetRequirements, isDeterministic, supportsConstantFoldingpublic static final String PROCEDURE_CALL
public ProcedureDefinition(Procedure procedure)
public FunctionKind getKind()
FunctionDefinitiongetKind in interface FunctionDefinitionpublic TypeInference getTypeInference(DataTypeFactory typeFactory)
FunctionDefinitionThe 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 FunctionDefinitionCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.