Class FunctionResolver
java.lang.Object
org.apache.cassandra.cql3.functions.FunctionResolver
-
Method Summary
Modifier and TypeMethodDescriptionstatic Functionget(String keyspace, FunctionName name, List<? extends AssignmentTestable> providedArgs, String receiverKeyspace, String receiverTable, AbstractType<?> receiverType) static Functionget(String keyspace, FunctionName name, List<? extends AssignmentTestable> providedArgs, String receiverKeyspace, String receiverTable, AbstractType<?> receiverType, UserFunctions functions) static ColumnSpecificationmakeArgSpec(String receiverKeyspace, String receiverTable, Function fun, int i)
-
Method Details
-
makeArgSpec
public static ColumnSpecification makeArgSpec(String receiverKeyspace, String receiverTable, Function fun, int i) -
get
@Nullable public static Function get(String keyspace, FunctionName name, List<? extends AssignmentTestable> providedArgs, String receiverKeyspace, 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(String keyspace, FunctionName name, List<? extends AssignmentTestable> providedArgs, String receiverKeyspace, 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
-