Listing Column Families

Use a maprcli command or MCS to list the column families that are in a MapR-DB table.

maprcli command

The command to list the column families that are in a table is:
maprcli table cf list -path <path> -cfname <name_of_column_family>

The format of the value of the -path parameter depends on whether you are creating a table on a local cluster or a remote cluster:

  • For a path on the local cluster, start the path at the volume mount point. For example, for a table named test under a volume with a mount point at /volume1, specify the following path: /volume1/test
  • For a path on a remote cluster, you must also specify the cluster name in the path. For example, for a table named customer under volume1 in the sanfrancisco cluster, specify the following path:/mapr/sanfrancisco/volume1/customer

MCS

  1. Open the table for which you want to see the list of column families.
  2. Click the Column Families tab.

    Figure: Where to find the Column Families tab

The list of column families appears in the Column Families section below the tab.