Edits a column family definition. You can alter a column family's name, minimum and maximum versions, time to live, compression, memory residence status, and permissions.
maprcli table cf edit -path <path> -cfname <name> [ -appendperm Append Permissions ] [ -compression off|lzf|lz4|zlib ] [ -compressionperm Compression Permissions ] [ -inmemory true|false ] [ -maxversions <integer> ] [ -memoryperm Memory Permissions ] [ -minversions <integer> ] [ -newcfname <name> ] [ -readperm Read Permissions ] [ -ttl <value> ] [ -versionperm Version Permissions ] [ -writeperm Write Permissions ]
The path to the table.
The name of the column family to edit.
The Access Control Expression for column appends. Use single quotation marks around the ACE.
Column appends require permission both at the column-family level and at the column level. By default, permission is given to the value of
|compression||The compression setting to use for the column family. Valid options are |
Boolean. Determines whether preference is given to values of this column family for storage with row keys. Because row keys are cached in memory in preference to row data, column-family data that is stored inline with the row keys is also cached in memory.
For all column families in a table together, up to 200 bytes of row data will be stored inline with each row key. Storing data inline with a row key might speed retrieval of the data from a column family because disk access can often be avoided. For each column family, up to 32 bytes can be stored inline with each row key even if its
If the total number of bytes for all column families together exceeds 200 for a row, then preference for inclusion within the inline storage for that row is given to column families that have the
All of the data for a column family will be stored in-line with the row key, or none will be. If the contents in a column family for a particular row are larger than the maximum number of bytes that are allowed to be stored for that column family, no data at all will be stored in-line for that column family.
The default value for the
Maximum number of versions to keep. The default is three.
|memoryperm||The Access Control Expression for changing the value of the |
|minversions||Minimum number of versions to keep. The default is zero.|
The new name of the column family.
The Access Control Expression for column reads. Use single quotation marks around the ACE.
Column reads require permission both at the column-family level and at the column level. By default, permission is given to the value of
Time to live in seconds. The default value is
|The Access Control Expression for changing the value of the |
The Access Control Expression for column writes (puts and deletes). Use single quotation marks around the ACE.
Column writes require permission both at the column-family level and at the column level. By default, permission is given to the value of
Changing a column family's name and time to live
maprcli table cf edit -path /my.cluster.com/volume1/mytable -cfname mycf -newcfname mynewcfname -ttl 86400