public class MaterializedViewMetadata extends AbstractTableMetadata
cassandraVersion, clusteringColumns, clusteringOrder, columns, id, keyspace, name, options, partitionKey
Modifier and Type | Method and Description |
---|---|
String |
asCQLQuery()
Returns a single CQL statement representing this materialized view.
|
protected String |
asCQLQuery(boolean formatted) |
boolean |
equals(Object other) |
String |
exportAsString()
Returns a single CQL statement representing this materialized view.
|
TableMetadata |
getBaseTable()
Return this materialized view's base table.
|
int |
hashCode() |
appendOptions, getClusteringColumns, getClusteringOrder, getColumn, getColumns, getId, getKeyspace, getName, getOptions, getPartitionKey, getPrimaryKey, isVirtual, toString
public TableMetadata getBaseTable()
public String exportAsString()
This method returns a single CREATE MATERIALIZED VIEW
statement with the options
corresponding to the materialized view definition.
Note that the returned String is formatted to be human readable (for some definition of human readable at least).
exportAsString
in class AbstractTableMetadata
CREATE MATERIALIZED VIEW
statement corresponding to this view.asCQLQuery()
public String asCQLQuery()
This method returns a single CREATE MATERIALIZED VIEW
statement with the options
corresponding to the materialized view definition.
Note that the returned string is a single line; the returned statement is not formatted in any way.
asCQLQuery
in class AbstractTableMetadata
CREATE MATERIALIZED VIEW
statement corresponding to this view.exportAsString()
protected String asCQLQuery(boolean formatted)
asCQLQuery
in class AbstractTableMetadata
Copyright © 2012–2019. All rights reserved.