public final class CreateViewStatement extends AlterSchemaStatement
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateViewStatement.Raw |
CQLStatement.SingleKeyspaceCqlStatementkeyspaceName| Constructor and Description |
|---|
CreateViewStatement(java.lang.String keyspaceName,
java.lang.String tableName,
java.lang.String viewName,
java.util.List<RawSelector> rawColumns,
java.util.List<ColumnIdentifier> partitionKeyColumns,
java.util.List<ColumnIdentifier> clusteringColumns,
WhereClause whereClause,
java.util.LinkedHashMap<ColumnIdentifier,java.lang.Boolean> clusteringOrder,
TableAttributes attrs,
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, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBindVariables, getFunctions, getPartitionKeyBindVariableIndexes, hasConditionspublic CreateViewStatement(java.lang.String keyspaceName,
java.lang.String tableName,
java.lang.String viewName,
java.util.List<RawSelector> rawColumns,
java.util.List<ColumnIdentifier> partitionKeyColumns,
java.util.List<ColumnIdentifier> clusteringColumns,
WhereClause whereClause,
java.util.LinkedHashMap<ColumnIdentifier,java.lang.Boolean> clusteringOrder,
TableAttributes attrs,
boolean ifNotExists)
public Keyspaces apply(Keyspaces schema)
SchemaTransformationschema - Keyspaces to base the transformation onpublic void authorize(ClientState client)
CQLStatementclient - the current client statepublic AuditLogContext getAuditLogContext()
CQLStatementpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2009-2022 The Apache Software Foundation