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

Namespace: Dse
Assembly: Dse (in Dse.dll) Version: 2.1.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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
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
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyClusterName
Returns the name of currently connected cluster.
Top
Events
See Also

Reference