Uses of Class
org.apache.cassandra.cql3.functions.FunctionName
-
-
Uses of FunctionName in org.apache.cassandra.auth
Methods in org.apache.cassandra.auth that return FunctionName Modifier and Type Method Description FunctionName
FunctionResource. getFunctionName()
Methods in org.apache.cassandra.auth with parameters of type FunctionName Modifier and Type Method Description static FunctionResource
FunctionResource. functionFromCql(FunctionName name, java.util.List<CQL3Type.Raw> argTypes)
-
Uses of FunctionName in org.apache.cassandra.cql3
Methods in org.apache.cassandra.cql3 with parameters of type FunctionName Modifier and Type Method Description CqlBuilder
CqlBuilder. append(FunctionName name)
-
Uses of FunctionName in org.apache.cassandra.cql3.functions
Fields in org.apache.cassandra.cql3.functions declared as FunctionName Modifier and Type Field Description protected FunctionName
AbstractFunction. name
protected FunctionName
FunctionFactory. name
The name of the built functions.Methods in org.apache.cassandra.cql3.functions that return FunctionName Modifier and Type Method Description FunctionName
FunctionName. asNativeFunction()
static FunctionName
OperationFcts. getFunctionNameFromOperator(char operator)
Returns the name of the function associated to the specified operator.FunctionName
AbstractFunction. name()
FunctionName
Function. name()
FunctionName
FunctionFactory. name()
static FunctionName
FunctionName. nativeFunction(java.lang.String name)
Methods in org.apache.cassandra.cql3.functions with parameters of type FunctionName Modifier and Type Method Description static UDAggregate
UDAggregate. create(java.util.Collection<UDFunction> functions, FunctionName name, java.util.List<AbstractType<?>> argTypes, AbstractType<?> returnType, FunctionName stateFunc, FunctionName finalFunc, AbstractType<?> stateType, java.nio.ByteBuffer initcond)
static UDFunction
UDFunction. create(FunctionName name, java.util.List<ColumnIdentifier> argNames, java.util.List<AbstractType<?>> argTypes, AbstractType<?> returnType, boolean calledOnNullInput, java.lang.String language, java.lang.String body)
static UDFunction
UDFunction. createBrokenFunction(FunctionName name, java.util.List<ColumnIdentifier> argNames, java.util.List<AbstractType<?>> argTypes, AbstractType<?> returnType, boolean calledOnNullInput, java.lang.String language, java.lang.String body, InvalidRequestException reason)
It can happen that a function has been declared (is listed in the scheam) but cannot be loaded (maybe only on some nodes).boolean
FunctionName. equalsNativeFunction(FunctionName nativeFunction)
static Function
FunctionResolver. 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
FunctionResolver. 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)
java.util.Collection<FunctionFactory>
NativeFunctions. getFactories(FunctionName name)
Returns all the registered functions factories with the specified name.java.util.Collection<NativeFunction>
NativeFunctions. getFunctions(FunctionName name)
Returns all the registered pre-built functions overloads with the specified name.static FromJsonFct
FromJsonFct. getInstance(FunctionName name, AbstractType<?> returnType)
static char
OperationFcts. getOperator(FunctionName function)
Returns the operator associated to the specified function.boolean
NativeFunctions. hasFactory(FunctionName name)
Returns whether there is a function factory with the specified name.static boolean
OperationFcts. isNegation(FunctionName function)
Checks if the function with the specified name is a negation.static boolean
OperationFcts. isOperation(FunctionName function)
Checks if the function with the specified name is an operation.static UDFunction
UDFunction. tryCreate(FunctionName name, java.util.List<ColumnIdentifier> argNames, java.util.List<AbstractType<?>> argTypes, AbstractType<?> returnType, boolean calledOnNullInput, java.lang.String language, java.lang.String body)
void
FunctionParameter. validateType(FunctionName name, AssignmentTestable arg, AbstractType<?> argType)
Constructors in org.apache.cassandra.cql3.functions with parameters of type FunctionName Constructor Description AbstractFunction(FunctionName name, java.util.List<AbstractType<?>> argTypes, AbstractType<?> returnType)
Raw(FunctionName name, java.util.List<Term.Raw> terms)
UDAggregate(FunctionName name, java.util.List<AbstractType<?>> argTypes, AbstractType<?> returnType, ScalarFunction stateFunc, ScalarFunction finalFunc, java.nio.ByteBuffer initcond)
UDFunction(FunctionName name, java.util.List<ColumnIdentifier> argNames, java.util.List<AbstractType<?>> argTypes, AbstractType<?> returnType, boolean calledOnNullInput, java.lang.String language, java.lang.String body)
UserFunction(FunctionName name, java.util.List<AbstractType<?>> argTypes, AbstractType<?> returnType)
-
Uses of FunctionName in org.apache.cassandra.cql3.functions.masking
Fields in org.apache.cassandra.cql3.functions.masking declared as FunctionName Modifier and Type Field Description FunctionName
ColumnMask.Raw. name
Constructors in org.apache.cassandra.cql3.functions.masking with parameters of type FunctionName Constructor Description MaskingFunction(FunctionName name, AbstractType<?> outputType, AbstractType<?> inputType, AbstractType<?>... argsType)
Raw(FunctionName name, java.util.List<Term.Raw> rawPartialArguments)
-
Uses of FunctionName in org.apache.cassandra.cql3.selection
Constructors in org.apache.cassandra.cql3.selection with parameters of type FunctionName Constructor Description Raw(FunctionName functionName, java.util.List<Selectable.Raw> args)
-
Uses of FunctionName in org.apache.cassandra.cql3.statements.schema
Constructors in org.apache.cassandra.cql3.statements.schema with parameters of type FunctionName Constructor Description CreateAggregateStatement(java.lang.String keyspaceName, java.lang.String aggregateName, java.util.List<CQL3Type.Raw> rawArgumentTypes, CQL3Type.Raw rawStateType, FunctionName stateFunctionName, FunctionName finalFunctionName, Term.Raw rawInitialValue, boolean orReplace, boolean ifNotExists)
Raw(FunctionName aggregateName, java.util.List<CQL3Type.Raw> rawArgumentTypes, CQL3Type.Raw rawStateType, java.lang.String stateFunctionName, java.lang.String finalFunctionName, Term.Raw rawInitialValue, boolean orReplace, boolean ifNotExists)
Raw(FunctionName name, java.util.List<ColumnIdentifier> argumentNames, java.util.List<CQL3Type.Raw> rawArgumentTypes, CQL3Type.Raw rawReturnType, boolean calledOnNullInput, java.lang.String language, java.lang.String body, boolean orReplace, boolean ifNotExists)
Raw(FunctionName name, java.util.List<CQL3Type.Raw> arguments, boolean argumentsSpecified, boolean ifExists)
Raw(FunctionName name, java.util.List<CQL3Type.Raw> arguments, boolean argumentsSpecified, boolean ifExists)
-
Uses of FunctionName in org.apache.cassandra.exceptions
Fields in org.apache.cassandra.exceptions declared as FunctionName Modifier and Type Field Description FunctionName
FunctionExecutionException. functionName
Methods in org.apache.cassandra.exceptions with parameters of type FunctionName Modifier and Type Method Description static FunctionExecutionException
FunctionExecutionException. create(FunctionName functionName, java.util.List<java.lang.String> argTypes, java.lang.String detail)
Constructors in org.apache.cassandra.exceptions with parameters of type FunctionName Constructor Description FunctionExecutionException(FunctionName functionName, java.util.List<java.lang.String> argTypes, java.lang.String msg)
-
Uses of FunctionName in org.apache.cassandra.schema
Methods in org.apache.cassandra.schema with parameters of type FunctionName Modifier and Type Method Description java.util.Optional<UserFunction>
UserFunctions. find(FunctionName name, java.util.List<AbstractType<?>> argTypes)
java.util.Optional<UserFunction>
UserFunctions. find(FunctionName name, java.util.List<AbstractType<?>> argTypes, UserFunctions.Filter filter)
Find the function with the specified namejava.util.Optional<UserFunction>
Schema. findUserFunction(FunctionName name, java.util.List<AbstractType<?>> argTypes)
Find the function with the specified name and arguments.java.util.Collection<UserFunction>
UserFunctions. get(FunctionName name)
Get all function overloads with the specified namejava.util.Collection<UDAggregate>
UserFunctions. getUdas(FunctionName name)
Get all UDAs overloads with the specified namejava.util.Collection<UDFunction>
UserFunctions. getUdfs(FunctionName name)
Get all UDFs overloads with the specified namejava.util.Collection<UserFunction>
Schema. getUserFunctions(FunctionName name)
Get all user-defined function overloads with the specified name.UserFunctions
UserFunctions. without(FunctionName name, java.util.List<AbstractType<?>> argTypes)
Creates a Functions instance with the function with the provided name and argument types removed
-