lib/column_family.js
function columnPath(cf, column, subcolumn)
{
    var args = { column_family: cf.name };

    if (column)
        args.column = cf.columnMarshaller.serialize(column);

    if (cf.isSuper && subcolumn)
        args.subcolumn = cf.subcolumnMarshaller.serialize(subcolumn);

    return new ttype.ColumnPath(args);
}
function columnPath(cf, column, subcolumn)
{
    var args = { column_family: cf.name };

    if (column)
        args.column = cf.columnMarshaller.serialize(column);

    if (cf.isSuper && subcolumn)
        args.subcolumn = cf.subcolumnMarshaller.serialize(subcolumn);

    return new ttype.ColumnPath(args);
}
function columnPath ( cf , column , subcolumn ) { var args = { column_family : cf . name } ; if ( column ) args . column = cf . columnMarshaller . serialize ( column ) ; if ( cf . isSuper && subcolumn ) args . subcolumn = cf . subcolumnMarshaller . serialize ( subcolumn ) ; return new ttype . ColumnPath ( args ) ; }
Returns a column path
As with the ColumnParent, the value of the ColumnPath depends on whether
this is a standard or super column family.  Both must specify the column
family name.  A standard column family may provide an optional column name
parameter.  In addition to the column name, a super column family may also
use a subcolumn parameter.

@param {Object} cf A reference to the ColumnFamily
@param {Object} column The name of the column (optional)
@param {Object} subcolumn The name of the subcolumn (optional)
@private
@memberOf ColumnFamily a Thrift ColumnPath object
Returns a column path As with the ColumnParent the value of the ColumnPath depends on whether this is a standard or super column family . Both must specify the column family name . A standard column family may provide an optional column name parameter . In addition to the column name a super column family may also use a subcolumn parameter .