Modifier and Type | Method and Description |
---|---|
FunctionName |
FunctionResource.getFunctionName() |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<Function> |
Schema.findFunction(FunctionName name,
java.util.List<AbstractType<?>> argTypes)
Find the function with the specified name
|
java.util.Collection<Function> |
Schema.getFunctions(FunctionName name)
Get all function overloads with the specified name
|
Modifier and Type | Method and Description |
---|---|
FunctionName |
CqlParser.functionName() |
Modifier and Type | Field and Description |
---|---|
protected FunctionName |
AbstractFunction.name |
static FunctionName |
FromJsonFct.NAME |
static FunctionName |
ToJsonFct.NAME |
Modifier and Type | Method and Description |
---|---|
FunctionName |
FunctionName.asNativeFunction() |
FunctionName |
AbstractFunction.name() |
FunctionName |
Function.name() |
static FunctionName |
FunctionName.nativeFunction(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
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 UDAggregate |
UDAggregate.create(Functions functions,
FunctionName name,
java.util.List<AbstractType<?>> argTypes,
AbstractType<?> returnType,
FunctionName stateFunc,
FunctionName finalFunc,
AbstractType<?> stateType,
java.nio.ByteBuffer initcond) |
static UDAggregate |
UDAggregate.createBroken(FunctionName name,
java.util.List<AbstractType<?>> argTypes,
AbstractType<?> returnType,
java.nio.ByteBuffer initcond,
InvalidRequestException reason) |
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 receiverKs,
java.lang.String receiverCf,
AbstractType<?> receiverType) |
Constructor and 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) |
UDFunction(FunctionName name,
java.util.List<ColumnIdentifier> argNames,
java.util.List<AbstractType<?>> argTypes,
com.datastax.driver.core.DataType[] argDataTypes,
AbstractType<?> returnType,
com.datastax.driver.core.DataType returnDataType,
boolean calledOnNullInput,
java.lang.String language,
java.lang.String body) |
Modifier and Type | Field and Description |
---|---|
FunctionName |
Selectable.WithFunction.functionName |
Constructor and Description |
---|
Raw(FunctionName functionName,
java.util.List<Selectable.Raw> args) |
WithFunction(FunctionName functionName,
java.util.List<Selectable> args) |
Constructor and Description |
---|
CreateAggregateStatement(FunctionName functionName,
java.util.List<CQL3Type.Raw> argRawTypes,
java.lang.String stateFunc,
CQL3Type.Raw stateType,
java.lang.String finalFunc,
Term.Raw ival,
boolean orReplace,
boolean ifNotExists) |
CreateFunctionStatement(FunctionName functionName,
java.lang.String language,
java.lang.String body,
java.util.List<ColumnIdentifier> argNames,
java.util.List<CQL3Type.Raw> argRawTypes,
CQL3Type.Raw rawReturnType,
boolean calledOnNullInput,
boolean orReplace,
boolean ifNotExists) |
DropAggregateStatement(FunctionName functionName,
java.util.List<CQL3Type.Raw> argRawTypes,
boolean argsPresent,
boolean ifExists) |
DropFunctionStatement(FunctionName functionName,
java.util.List<CQL3Type.Raw> argRawTypes,
boolean argsPresent,
boolean ifExists) |
Modifier and Type | Field and Description |
---|---|
FunctionName |
FunctionExecutionException.functionName |
Constructor and Description |
---|
FunctionExecutionException(FunctionName functionName,
java.util.List<java.lang.String> argTypes,
java.lang.String detail) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<Function> |
Functions.find(FunctionName name,
java.util.List<AbstractType<?>> argTypes)
Find the function with the specified name
|
java.util.Collection<Function> |
Functions.get(FunctionName name)
Get all function overloads with the specified name
|
Functions |
Functions.without(FunctionName name,
java.util.List<AbstractType<?>> argTypes)
Creates a Functions instance with the function with the provided name and argument types removed
|
Copyright © 2016 The Apache Software Foundation