public static WriteReference tombstone(TableReference tableRef, Cell cell) { return WriteReference.of(tableRef, cell, true); }
public static WriteReference write(TableReference tableRef, Cell cell) { return WriteReference.of(tableRef, cell, false); }
public static WriteInfo toWriteInfo(TableReference tableRef, Map.Entry<Cell, byte[]> write, long timestamp) { Cell cell = write.getKey(); boolean isTombstone = Arrays.equals(write.getValue(), PtBytes.EMPTY_BYTE_ARRAY); return WriteInfo.of(WriteReference.of(tableRef, cell, isTombstone), timestamp); }
static WriteInfo tombstone(TableReference tableRef, Cell cell, long timestamp) { return WriteInfo.of(WriteReference.of(tableRef, cell, true), timestamp); }
static WriteInfo write(TableReference tableRef, Cell cell, long timestamp) { return WriteInfo.of(WriteReference.of(tableRef, cell, false), timestamp); } }
private int write(SweepQueueTable writer, long ts, Cell cell, boolean isTombstone, TableReference tableRef) { WriteInfo write = WriteInfo.of(WriteReference.of(tableRef, cell, isTombstone), ts); writer.enqueue(ImmutableList.of(write)); return write.toShard(numShards); }
public static WriteReference tombstone(TableReference tableRef, Cell cell) { return WriteReference.of(tableRef, cell, true); }
public static WriteReference write(TableReference tableRef, Cell cell) { return WriteReference.of(tableRef, cell, false); }
public static WriteInfo toWriteInfo(TableReference tableRef, Map.Entry<Cell, byte[]> write, long timestamp) { Cell cell = write.getKey(); boolean isTombstone = Arrays.equals(write.getValue(), PtBytes.EMPTY_BYTE_ARRAY); return WriteInfo.of(WriteReference.of(tableRef, cell, isTombstone), timestamp); }
static WriteInfo write(TableReference tableRef, Cell cell, long timestamp) { return WriteInfo.of(WriteReference.of(tableRef, cell, false), timestamp); } }
static WriteInfo tombstone(TableReference tableRef, Cell cell, long timestamp) { return WriteInfo.of(WriteReference.of(tableRef, cell, true), timestamp); }