public KeyBound minValue() { return getPartitioner().getMinimumToken().minKeyBound(); }
public KeyBound minValue() { return getPartitioner().getMinimumToken().minKeyBound(); }
/** * Adds PartitionUpdate to the local set of modifications. * Assumes no updates for the Table this PartitionUpdate impacts. * * @param update PartitionUpdate to append to Modifications list * @return Mutation this mutation * @throws IllegalArgumentException If PartitionUpdate for duplicate table is passed as argument */ public Mutation add(PartitionUpdate update) { assert update != null; assert update.partitionKey().getPartitioner() == key.getPartitioner(); cdcEnabled |= update.metadata().params.cdc; PartitionUpdate prev = modifications.put(update.metadata().cfId, update); if (prev != null) // developer error throw new IllegalArgumentException("Table " + update.metadata().cfName + " already has modifications in this mutation: " + prev); return this; }
/** * Adds PartitionUpdate to the local set of modifications. * Assumes no updates for the Table this PartitionUpdate impacts. * * @param update PartitionUpdate to append to Modifications list * @return Mutation this mutation * @throws IllegalArgumentException If PartitionUpdate for duplicate table is passed as argument */ public Mutation add(PartitionUpdate update) { assert update != null; assert update.partitionKey().getPartitioner() == key.getPartitioner(); cdcEnabled |= update.metadata().params.cdc; PartitionUpdate prev = modifications.put(update.metadata().cfId, update); if (prev != null) // developer error throw new IllegalArgumentException("Table " + update.metadata().cfName + " already has modifications in this mutation: " + prev); return this; }
public KeyBound minValue() { return getPartitioner().getMinimumToken().minKeyBound(); }
public KeyBound minValue() { return getPartitioner().getMinimumToken().minKeyBound(); }
/** * Adds PartitionUpdate to the local set of modifications. * Assumes no updates for the Table this PartitionUpdate impacts. * * @param update PartitionUpdate to append to Modifications list * @return Mutation this mutation * @throws IllegalArgumentException If PartitionUpdate for duplicate table is passed as argument */ public Mutation add(PartitionUpdate update) { assert update != null; assert update.partitionKey().getPartitioner() == key.getPartitioner(); cdcEnabled |= update.metadata().params.cdc; PartitionUpdate prev = modifications.put(update.metadata().cfId, update); if (prev != null) // developer error throw new IllegalArgumentException("Table " + update.metadata().cfName + " already has modifications in this mutation: " + prev); return this; }
assert partitionKey.getPartitioner() == metadata.partitioner; this.partitionKey = partitionKey; this.clusteringIndexFilter = clusteringIndexFilter;
assert partitionKey.getPartitioner() == metadata.partitioner; this.partitionKey = partitionKey; this.clusteringIndexFilter = clusteringIndexFilter;
assert partitionKey.getPartitioner() == metadata.partitioner; this.partitionKey = partitionKey; this.clusteringIndexFilter = clusteringIndexFilter;