code: 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;
          }
      }
docs: Fetches table metadata from the underlying datastore, using DataStax java driver.
  
  @return the table metadata as returned by the driver.