Class DescribeStatement.Listing
java.lang.Object
org.apache.cassandra.cql3.CQLStatement.Raw
org.apache.cassandra.cql3.statements.DescribeStatement<SchemaElement>
org.apache.cassandra.cql3.statements.DescribeStatement.Listing
- All Implemented Interfaces:
CQLStatement
- Enclosing class:
- DescribeStatement<T>
DescribeStatement implementation used for describe queries that only list elements names.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.cassandra.cql3.statements.DescribeStatement
DescribeStatement.Element, DescribeStatement.ListingNested classes/interfaces inherited from interface org.apache.cassandra.cql3.CQLStatement
CQLStatement.Raw, CQLStatement.SingleKeyspaceCqlStatement -
Field Summary
Fields inherited from class org.apache.cassandra.cql3.CQLStatement.Raw
bindVariables -
Constructor Summary
ConstructorsConstructorDescriptionListing(Function<KeyspaceMetadata, Stream<? extends SchemaElement>> elementsProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected Stream<? extends SchemaElement>describe(ClientState state, Keyspaces keyspaces) Returns the schema elements that must be part of the output.protected List<ColumnSpecification>metadata(ClientState state) Returns the columns of theResultMetadataprotected List<ByteBuffer>toRow(SchemaElement element, boolean withInternals) Methods inherited from class org.apache.cassandra.cql3.statements.DescribeStatement
aggregate, aggregates, authorize, cluster, execute, executeLocally, function, functions, generic, getAuditLogContext, getBindVariables, index, keyspace, keyspaces, prepare, schema, table, tables, type, types, validate, view, withInternalDetailsMethods inherited from class org.apache.cassandra.cql3.CQLStatement.Raw
setBindVariablesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cassandra.cql3.CQLStatement
getFunctions, getPartitionKeyBindVariableIndexes, hasConditions
-
Constructor Details
-
Listing
-
-
Method Details
-
describe
Description copied from class:DescribeStatementReturns the schema elements that must be part of the output.- Specified by:
describein classDescribeStatement<SchemaElement>
-
metadata
Description copied from class:DescribeStatementReturns the columns of theResultMetadata- Specified by:
metadatain classDescribeStatement<SchemaElement>
-
toRow
- Specified by:
toRowin classDescribeStatement<SchemaElement>
-