public static RowService build(ColumnFamilyStore baseCfs, ColumnDefinition columnDefinition) {
        int clusteringPosition = baseCfs.metadata.clusteringColumns().size();
        if (clusteringPosition > 0) {
            return new RowServiceWide(baseCfs, columnDefinition);
        } else {
            return new RowServiceSkinny(baseCfs, columnDefinition);
        }
    }
public static RowService build ( ColumnFamilyStore baseCfs , ColumnDefinition columnDefinition ) { int clusteringPosition = baseCfs . metadata . clusteringColumns ( ) . size ( ) ; if ( clusteringPosition > 0 ) { return new RowServiceWide ( baseCfs , columnDefinition ) ; } else { return new RowServiceSkinny ( baseCfs , columnDefinition ) ; } }
Returns a new {@link RowService} for the specified {@link ColumnFamilyStore} and {@link ColumnDefinition}.

@param baseCfs          The {@link ColumnFamilyStore} associated to the managed index.
@param columnDefinition The {@link ColumnDefinition} of the indexed column.
@return A new {@link RowService} for the specified {@link ColumnFamilyStore} and {@link ColumnDefinition}.