Click or drag to resize
Metadata Class
Keeps metadata on the connected cluster, including known nodes and schema definitions.
Inheritance Hierarchy
SystemObject
  CassandraMetadata

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.7.0
Syntax
C#
public class Metadata : IDisposable

The Metadata type exposes the following members.

Methods
  NameDescription
Public methodAllHosts
Returns all known hosts of this cluster.
Public methodAllReplicas
Public methodDispose
Releases all resources used by the Metadata
Public methodGetAggregate
Gets the definition associated with a aggregate from Cassandra
Public methodGetFunction
Gets the definition associated with a User Defined Function from Cassandra
Public methodGetHost
Public methodGetKeyspace
Returns metadata of specified keyspace.
Public methodGetKeyspaces
Returns a collection of all defined keyspaces names.
Public methodGetMaterializedView
Returns the view metadata for the provided view name in the keyspace.
Public methodGetReplicas(Byte)
Public methodGetReplicas(String, Byte)
Get the replicas for a given partition key and keyspace
Public methodGetTable
Returns TableMetadata for specified table in specified keyspace.
Public methodGetTables
Returns names of all tables which are defined within specified keyspace.
Public methodGetUdtDefinition
Gets the definition associated with a User Defined Type from Cassandra
Public methodGetUdtDefinitionAsync
Gets the definition associated with a User Defined Type from Cassandra
Public methodRefreshSchema
Updates the keyspace and token information
Public methodShutDown
Top
Properties
  NameDescription
Public propertyClusterName
Returns the name of currently connected cluster.
Top
Events
See Also