Package | Description |
---|---|
org.apache.cassandra.cql3.functions | |
org.apache.cassandra.schema | |
org.apache.cassandra.transport |
Modifier and Type | Class and Description |
---|---|
class |
JavaBasedUDFunction |
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 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).
|
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) |
UDFunction |
UDFunction.withUpdatedUserType(UserType udt) |
Modifier and Type | Method and 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) |
UDAggregate |
UDAggregate.withUpdatedUserType(java.util.Collection<UDFunction> udfs,
UserType udt) |
Modifier and Type | Field and Description |
---|---|
Functions.FunctionsDiff<UDFunction> |
KeyspaceMetadata.KeyspaceDiff.udfs |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<UDFunction> |
Functions.getUdfs(FunctionName name)
Get all UDFs overloads with the specified name
|
java.util.stream.Stream<UDFunction> |
Functions.udfs() |
Modifier and Type | Method and Description |
---|---|
static Event.SchemaChange |
Event.SchemaChange.forFunction(Event.SchemaChange.Change change,
UDFunction function) |
Copyright © 2009-2022 The Apache Software Foundation