Metadata Class |
Namespace: Dse
public class Metadata : IDisposable
The Metadata type exposes the following members.
Name | Description | |
---|---|---|
ClusterName |
Returns the name of currently connected cluster.
| |
IsDbaas |
Determines whether the cluster is provided as a service (DataStax Apollo).
|
Name | Description | |
---|---|---|
AllHosts |
Returns all known hosts of this cluster.
| |
AllReplicas | ||
CheckSchemaAgreementAsync |
Initiates a schema agreement check.
Schema changes need to be propagated to all nodes in the cluster.
Once they have settled on a common version, we say that they are in agreement.
This method does not perform retries so
MaxSchemaAgreementWaitSeconds does not apply.
| |
Dispose | Releases all resources used by the Metadata | |
GetAggregate |
Gets the definition associated with a aggregate from Cassandra
| |
GetFunction |
Gets the definition associated with a User Defined Function from Cassandra
| |
GetHost | ||
GetKeyspace |
Returns metadata of specified keyspace.
| |
GetKeyspaces |
Returns a collection of all defined keyspaces names.
| |
GetMaterializedView |
Returns the view metadata for the provided view name in the keyspace.
| |
GetReplicas(Byte) | ||
GetReplicas(String, Byte) |
Get the replicas for a given partition key and keyspace
| |
GetTable |
Returns TableMetadata for specified table in specified keyspace.
| |
GetTables |
Returns names of all tables which are defined within specified keyspace.
| |
GetUdtDefinition |
Gets the definition associated with a User Defined Type from Cassandra
| |
GetUdtDefinitionAsync |
Gets the definition associated with a User Defined Type from Cassandra
| |
RefreshSchema |
Updates the keyspace and token information
| |
RefreshSchemaAsync |
Updates the keyspace and token information
| |
ShutDown |
Name | Description | |
---|---|---|
HostsEvent | ||
SchemaChangedEvent |