public class SchemaMetadataResultSetBuilder extends AbstractMetadataResultSetBuilder
CassandraMetadataResultSet objects) related to schemas.| Constructor and Description |
|---|
SchemaMetadataResultSetBuilder(CassandraStatement statement)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CassandraMetadataResultSet |
buildSchemas(String schemaPattern)
Builds a valid result set of the schema names available in this Cassandra database.
|
matchesPatternpublic SchemaMetadataResultSetBuilder(CassandraStatement statement) throws SQLException
statement - The statement.SQLException - if a database access error occurs or this statement is closed.public CassandraMetadataResultSet buildSchemas(String schemaPattern) throws SQLException
DatabaseMetaData.getSchemas() and
DatabaseMetaData.getSchemas(String, String). The results are ordered by TABLE_CATALOG, then
TABLE_SCHEMA.
The columns of this result set are:
null: here is the Cassandra cluster name
(if available).schemaPattern - A schema name pattern. It must match the schema name as it is stored in the database;
null means that the schema name should not be used to narrow the search. Using
"" as the same effect as null because here the schema corresponds to the
keyspace and Cassandra tables cannot be defined outside a keyspace.DatabaseMetaData.getSchemas(String, String).SQLException - when something went wrong during the creation of the result set.Copyright © 2020–2024 ING Bank. All rights reserved.