Package | Description |
---|---|
org.apache.cassandra.config | |
org.apache.cassandra.cql3.functions | |
org.apache.cassandra.schema | |
org.apache.cassandra.service |
Modifier and Type | Method and Description |
---|---|
void |
Schema.addFunction(UDFunction udf) |
void |
Schema.dropFunction(UDFunction udf) |
void |
Schema.updateFunction(UDFunction udf) |
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).
|
Modifier and Type | Method and Description |
---|---|
java.util.stream.Stream<UDFunction> |
Functions.udfs() |
Modifier and Type | Method and Description |
---|---|
static Mutation |
SchemaKeyspace.makeCreateFunctionMutation(KeyspaceMetadata keyspace,
UDFunction function,
long timestamp) |
static Mutation |
SchemaKeyspace.makeDropFunctionMutation(KeyspaceMetadata keyspace,
UDFunction function,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
static void |
MigrationManager.announceFunctionDrop(UDFunction udf,
boolean announceLocally) |
static void |
MigrationManager.announceNewFunction(UDFunction udf,
boolean announceLocally) |
void |
MigrationManager.notifyCreateFunction(UDFunction udf) |
void |
MigrationManager.notifyDropFunction(UDFunction udf) |
void |
MigrationManager.notifyUpdateFunction(UDFunction udf) |
Copyright © 2017 The Apache Software Foundation