public Row.SimpleBuilder row(Object... clusteringValues) { Clustering clustering = makeClustering(metadata, clusteringValues); RowBuilder builder = rowBuilders.get(clustering); if (builder == null) { builder = new RowBuilder(metadata, clustering); rowBuilders.put(clustering, builder); } copyParams(builder); return builder; }
public Row.SimpleBuilder row(Object... clusteringValues) { Clustering clustering = makeClustering(metadata, clusteringValues); RowBuilder builder = rowBuilders.get(clustering); if (builder == null) { builder = new RowBuilder(metadata, clustering); rowBuilders.put(clustering, builder); } copyParams(builder); return builder; }
public Row.SimpleBuilder row(Object... clusteringValues) { Clustering clustering = makeClustering(metadata, clusteringValues); RowBuilder builder = rowBuilders.get(clustering); if (builder == null) { builder = new RowBuilder(metadata, clustering); rowBuilders.put(clustering, builder); } copyParams(builder); return builder; }
/** * Creates a new simple row builder. * * @param metadata the metadata of the table this is a row of. * @param clusteringValues the value for the clustering columns of the row to add to this build. There may be no * values if either the table has no clustering column, or if you want to edit the static row. Note that as a * shortcut it is also allowed to pass a {@code Clustering} object directly, in which case that should be the * only argument. * @return a newly created builder. */ public static Row.SimpleBuilder simpleBuilder(CFMetaData metadata, Object... clusteringValues) { return new SimpleBuilders.RowBuilder(metadata, clusteringValues); }
/** * Creates a new simple row builder. * * @param metadata the metadata of the table this is a row of. * @param clusteringValues the value for the clustering columns of the row to add to this build. There may be no * values if either the table has no clustering column, or if you want to edit the static row. Note that as a * shortcut it is also allowed to pass a {@code Clustering} object directly, in which case that should be the * only argument. * @return a newly created builder. */ public static Row.SimpleBuilder simpleBuilder(CFMetaData metadata, Object... clusteringValues) { return new SimpleBuilders.RowBuilder(metadata, clusteringValues); }
/** * Creates a new simple row builder. * * @param metadata the metadata of the table this is a row of. * @param clusteringValues the value for the clustering columns of the row to add to this build. There may be no * values if either the table has no clustering column, or if you want to edit the static row. Note that as a * shortcut it is also allowed to pass a {@code Clustering} object directly, in which case that should be the * only argument. * @return a newly created builder. */ public static Row.SimpleBuilder simpleBuilder(CFMetaData metadata, Object... clusteringValues) { return new SimpleBuilders.RowBuilder(metadata, clusteringValues); }