public final class CreateFunctionStatement extends AlterSchemaStatement
Modifier and Type | Class and Description |
---|---|
static class |
CreateFunctionStatement.Raw |
CQLStatement.SingleKeyspaceCqlStatement
keyspaceName
Constructor and Description |
---|
CreateFunctionStatement(java.lang.String keyspaceName,
java.lang.String functionName,
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) |
Modifier and Type | Method and Description |
---|---|
Keyspaces |
apply(Keyspaces schema)
Apply a statement transformation to a schema snapshot.
|
void |
authorize(ClientState client)
Perform any access verification necessary for the statement.
|
AuditLogContext |
getAuditLogContext()
Provides the context needed for audit logging statements.
|
java.lang.String |
toString() |
execute, execute, executeLocally, keyspace, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBindVariables, getFunctions, getPartitionKeyBindVariableIndexes, hasConditions
public CreateFunctionStatement(java.lang.String keyspaceName, java.lang.String functionName, 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)
public Keyspaces apply(Keyspaces schema)
SchemaTransformation
schema
- Keyspaces to base the transformation onpublic void authorize(ClientState client)
CQLStatement
client
- the current client statepublic AuditLogContext getAuditLogContext()
CQLStatement
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2009- The Apache Software Foundation