public static final class DescribeStatement.Listing extends DescribeStatement<SchemaElement>
DescribeStatement implementation used for describe queries that only list elements names.DescribeStatement.Element, DescribeStatement.ListingCQLStatement.RawbindVariables| 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, withInternalDetailssetBindVariablesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFunctions, getPartitionKeyBindVariableIndexes, hasConditionspublic 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)
DescribeStatementdescribe in class DescribeStatement<SchemaElement>protected java.util.List<ColumnSpecification> metadata(ClientState state)
DescribeStatementResultMetadatametadata in class DescribeStatement<SchemaElement>protected java.util.List<java.nio.ByteBuffer> toRow(SchemaElement element, boolean withInternals)
toRow in class DescribeStatement<SchemaElement>Copyright © 2009-2020 The Apache Software Foundation