public static RowMapper build(CFMetaData metadata, ColumnDefinition columnDefinition, Schema schema) {
        if (metadata.clusteringColumns().size() > 0) {
            return new RowMapperWide(metadata, columnDefinition, schema);
        } else {
            return new RowMapperSkinny(metadata, columnDefinition, schema);
        }
    }
public static RowMapper build ( CFMetaData metadata , ColumnDefinition columnDefinition , Schema schema ) { if ( metadata . clusteringColumns ( ) . size ( ) > 0 ) { return new RowMapperWide ( metadata , columnDefinition , schema ) ; } else { return new RowMapperSkinny ( metadata , columnDefinition , schema ) ; } }
Returns a new {@link RowMapper} for the specified column family metadata, indexed column definition and {@link
Schema}.

@param metadata         The indexed column family metadata.
@param columnDefinition The indexed column definition.
@param schema           The mapping {@link Schema}.
@return A new {@link RowMapper} for the specified column family metadata, indexed column definition and {@link
Schema}.