public TableMetadata fetchTableMetadata ( ) { Metadata metadata = getSession ( ) . getCluster ( ) . getMetadata ( ) ; KeyspaceMetadata ksMetadata = metadata . getKeyspace ( quote ( this . catalog ) ) ; if ( ksMetadata != null ) { return ksMetadata . getTable ( quote ( this . table ) ) ; } else { return null ; } }
Fetches table metadata from the underlying datastore using DataStax java driver .