public void addRowUpdate(Composite prefix, ModificationStatement stmt, QueryOptions options, long timestamp) { updates.add(new RowUpdate(prefix, stmt, options, timestamp)); }
public void addRowUpdate(Clustering clustering, ModificationStatement stmt, QueryOptions options, long timestamp) { updates.add(new RowUpdate(clustering, stmt, options, timestamp)); }
public void addRowUpdate(Clustering clustering, ModificationStatement stmt, QueryOptions options, long timestamp) { updates.add(new RowUpdate(clustering, stmt, options, timestamp)); }
public ColumnFamily makeUpdates(ColumnFamily current) throws InvalidRequestException { ColumnFamily cf = ArrayBackedSortedColumns.factory.create(cfm); for (RowUpdate upd : updates) upd.applyUpdates(current, cf); if (isBatch) BatchStatement.verifyBatchSize(Collections.singleton(cf)); return cf; }
public PartitionUpdate makeUpdates(FilteredPartition current) throws InvalidRequestException { PartitionUpdate update = new PartitionUpdate(cfm, key, updatedColumns(), conditions.size()); for (RowUpdate upd : updates) upd.applyUpdates(current, update); for (RangeDeletion upd : rangeDeletions) upd.applyUpdates(current, update); Keyspace.openAndGetStore(cfm).indexManager.validate(update); return update; }
public void addRowUpdate(Clustering clustering, ModificationStatement stmt, QueryOptions options, long timestamp) { updates.add(new RowUpdate(clustering, stmt, options, timestamp)); }
public PartitionUpdate makeUpdates(FilteredPartition current) throws InvalidRequestException { PartitionUpdate update = new PartitionUpdate(cfm, key, updatedColumns(), conditions.size()); for (RowUpdate upd : updates) upd.applyUpdates(current, update); for (RangeDeletion upd : rangeDeletions) upd.applyUpdates(current, update); Keyspace.openAndGetStore(cfm).indexManager.validate(update); return update; }
public PartitionUpdate makeUpdates(FilteredPartition current) throws InvalidRequestException { PartitionUpdate update = new PartitionUpdate(cfm, key, updatedColumns(), conditions.size()); for (RowUpdate upd : updates) upd.applyUpdates(current, update); for (RangeDeletion upd : rangeDeletions) upd.applyUpdates(current, update); Keyspace.openAndGetStore(cfm).indexManager.validate(update); return update; }