public static final class DescribeStatement.Listing extends DescribeStatement<SchemaElement>
DescribeStatement
implementation used for describe queries that only list elements names.DescribeStatement.Element, DescribeStatement.Listing
CQLStatement.Raw
bindVariables
Constructor and Description |
---|
Listing(java.util.function.Function<KeyspaceMetadata,java.util.stream.Stream<? extends SchemaElement>> elementsProvider) |
Modifier and Type | Method and Description |
---|---|
protected java.util.stream.Stream<? extends SchemaElement> |
describe(ClientState state,
Keyspaces keyspaces)
Returns the schema elements that must be part of the output.
|
protected java.util.List<ColumnSpecification> |
metadata(ClientState state)
Returns the columns of the
ResultMetadata |
protected java.util.List<java.nio.ByteBuffer> |
toRow(SchemaElement element,
boolean withInternals) |
aggregate, aggregates, authorize, cluster, execute, executeLocally, function, functions, generic, getAuditLogContext, getBindVariables, index, keyspace, keyspaces, prepare, schema, table, tables, type, types, validate, view, withInternalDetails
setBindVariables
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFunctions, getPartitionKeyBindVariableIndexes, hasConditions
public Listing(java.util.function.Function<KeyspaceMetadata,java.util.stream.Stream<? extends SchemaElement>> elementsProvider)
protected java.util.stream.Stream<? extends SchemaElement> describe(ClientState state, Keyspaces keyspaces)
DescribeStatement
describe
in class DescribeStatement<SchemaElement>
protected java.util.List<ColumnSpecification> metadata(ClientState state)
DescribeStatement
ResultMetadata
metadata
in class DescribeStatement<SchemaElement>
protected java.util.List<java.nio.ByteBuffer> toRow(SchemaElement element, boolean withInternals)
toRow
in class DescribeStatement<SchemaElement>
Copyright © 2009-2021 The Apache Software Foundation