table cf list
Lists a MapR table's column families.
Syntax
- CLI
-
maprcli table cf list -path <path> [ -cfname <name> ]
- REST
-
http[s]://<host>:<port>/rest/table/cf/list?path=<path>&<parameters
mapr
user is not treated as a superuser.
MapR-DB does not allow the mapr
user to run this command unless that user
is given the relevant permission or permissions with access-control expressions.Parameters
Parameter |
Description |
---|---|
path |
The path to the table.
|
cfname |
The name of the column family to edit. |
Output fields
Verbose Field Name |
Terse Field Name |
Field Value |
---|---|---|
inmemory |
inmem |
Whether or not this column value resides in memory |
cfname |
n |
The column family name |
maxversions |
vmax |
Maximum number of versions for this column family |
minversions |
vmin |
Minimum number of versions for this column family |
compression |
comp |
Compression scheme used for this column family |
ttl |
ttl |
Time to live for this column family |
Examples
Tersely listing the column families for a tableThis example
lists all column families for the table newtable
.
- CLI
-
maprcli table cf list -path /my.cluster.com/volume1/newtable
- REST
-
https://r1n1.sj.us:8443/rest/table/cf/list?path=%2Fmy.cluster.com%2Fvolume1%2Fnewtable
[user@node]# maprcli table cf list -path /mapr/default/user/user/newtable
comp inmem vmax n ttl vmin
lz4 false 3 dine 2147483647 0
lz4 false 3 nahashchid 2147483647 0
lz4 false 3 wollachee 2147483647 0