public static class DescribeStatement.Element extends DescribeStatement<SchemaElement>
DescribeStatement
implementation used for describe queries for a single schema element.DescribeStatement.Element, DescribeStatement.Listing
CQLStatement.Raw, CQLStatement.SingleKeyspaceCqlStatement
bindVariables
Constructor and Description |
---|
Element(java.lang.String keyspace,
java.lang.String name,
java.util.function.BiFunction<KeyspaceMetadata,java.lang.String,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 Element(java.lang.String keyspace, java.lang.String name, java.util.function.BiFunction<KeyspaceMetadata,java.lang.String,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- The Apache Software Foundation