Class FunctionResolver
- java.lang.Object
-
- org.apache.cassandra.cql3.functions.FunctionResolver
-
public final class FunctionResolver extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Function
get(java.lang.String keyspace, FunctionName name, java.util.List<? extends AssignmentTestable> providedArgs, java.lang.String receiverKeyspace, java.lang.String receiverTable, AbstractType<?> receiverType)
static Function
get(java.lang.String keyspace, FunctionName name, java.util.List<? extends AssignmentTestable> providedArgs, java.lang.String receiverKeyspace, java.lang.String receiverTable, AbstractType<?> receiverType, UserFunctions functions)
static ColumnSpecification
makeArgSpec(java.lang.String receiverKeyspace, java.lang.String receiverTable, Function fun, int i)
-
-
-
Method Detail
-
makeArgSpec
public static ColumnSpecification makeArgSpec(java.lang.String receiverKeyspace, java.lang.String receiverTable, Function fun, int i)
-
get
@Nullable public static Function get(java.lang.String keyspace, FunctionName name, java.util.List<? extends AssignmentTestable> providedArgs, java.lang.String receiverKeyspace, java.lang.String receiverTable, AbstractType<?> receiverType) throws InvalidRequestException
- Parameters:
keyspace
- the current keyspacename
- the name of the functionprovidedArgs
- the arguments provided for the function callreceiverKeyspace
- the receiver's keyspacereceiverTable
- the receiver's tablereceiverType
- if the receiver type is known (during inserts, for example), this should be the type of the receiver- Throws:
InvalidRequestException
-
get
@Nullable public static Function get(java.lang.String keyspace, FunctionName name, java.util.List<? extends AssignmentTestable> providedArgs, java.lang.String receiverKeyspace, java.lang.String receiverTable, AbstractType<?> receiverType, UserFunctions functions) throws InvalidRequestException
- Parameters:
keyspace
- the current keyspacename
- the name of the functionprovidedArgs
- the arguments provided for the function callreceiverKeyspace
- the receiver's keyspacereceiverTable
- the receiver's tablereceiverType
- if the receiver type is known (during inserts, for example), this should be the type of the receiverfunctions
- a set of user functions that is not yet available in the schema, used during startup when those functions might not be yet available- Throws:
InvalidRequestException
-
-