code: protected CFMetaData getCFMetaData(String ks, String cf, Cassandra.Client client)
              throws NotFoundException,
              InvalidRequestException,
              TException,
              org.apache.cassandra.exceptions.InvalidRequestException,
              ConfigurationException
      {
          KsDef ksDef = client.describe_keyspace(ks);
          for (CfDef cfDef : ksDef.cf_defs)
          {
              if (cfDef.name.equalsIgnoreCase(cf))
                  return CFMetaData.fromThrift(cfDef);
          }
          return null;
      }
docs: get CFMetaData of a column family