Package | Description |
---|---|
com.datastax.oss.driver.api.core.session |
Modifier and Type | Method and Description |
---|---|
Metadata |
Session.getMetadata()
Returns a snapshot of the Cassandra cluster's topology and schema metadata.
|
default Metadata |
Session.refreshSchema()
Convenience method to call
Session.refreshSchemaAsync() and block for the result. |
Modifier and Type | Method and Description |
---|---|
CompletionStage<Metadata> |
Session.refreshSchemaAsync()
Force an immediate refresh of the schema metadata, even if it is currently disabled (either in
the configuration or via
Session.setSchemaMetadataEnabled(Boolean) ). |
CompletionStage<Metadata> |
Session.setSchemaMetadataEnabled(Boolean newValue)
Enable or disable schema metadata programmatically.
|
Copyright © 2017–2024. All rights reserved.