public Metadata getMetadata() throws DBException {
        if (!this.cluster.isClosed()) {
            this.metadata = cluster.getMetadata();
            return this.metadata;
        } else {
            throw new DBException("The cluster has been closed");
        }
    }
public Metadata getMetadata ( ) throws DBException { if ( ! this . cluster . isClosed ( ) ) { this . metadata = cluster . getMetadata ( ) ; return this . metadata ; } else { throw new DBException ( "The cluster has been closed" ) ; } }
Get the metadata of the Cassandra Cluster.

@return Metadata
@throws DBException