@PublicEvolving
public interface CallContextBase
| Modifier and Type | Method and Description |
|---|---|
<T> Optional<T> |
getArgumentValue(int pos,
Class<T> clazz)
Returns the literal value of the argument at the given position, given that the argument is a
literal, is not null, and can be expressed as an instance of the provided class.
|
FunctionDefinition |
getFunctionDefinition()
Returns the function definition that defines the function currently being called.
|
String |
getName()
Returns the function's name usually referencing the function in a catalog.
|
boolean |
isArgumentLiteral(int pos)
Returns whether the argument at the given position is a value literal.
|
boolean |
isArgumentNull(int pos)
Returns
true if the argument at the given position is a literal and null,
false otherwise. |
FunctionDefinition getFunctionDefinition()
boolean isArgumentLiteral(int pos)
boolean isArgumentNull(int pos)
true if the argument at the given position is a literal and null,
false otherwise.
Use isArgumentLiteral(int) before to check if the argument is actually a literal.
<T> Optional<T> getArgumentValue(int pos, Class<T> clazz)
Use isArgumentLiteral(int) before to check if the argument is actually a literal.
String getName()
Note: The name is meant for debugging purposes only.
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.