@Override void copyFrom(CompressionState state) { super.copyFrom(state); DiffCompressionState state2 = (DiffCompressionState) state; timestamp = state2.timestamp; } }
/** * Analyze the key and fill the state. * Uses mark() and reset() in ByteBuffer. * @param in Buffer at the position where key starts * @param keyLength Length of key in bytes * @param valueLength Length of values in bytes */ void readKey(ByteBuffer in, int keyLength, int valueLength) { readKey(in, keyLength, valueLength, 0, null); }
@Override void copyFrom(CompressionState state) { super.copyFrom(state); FastDiffCompressionState state2 = (FastDiffCompressionState) state; System.arraycopy(state2.timestamp, 0, timestamp, 0, KeyValue.TIMESTAMP_SIZE); prevTimestampOffset = state2.prevTimestampOffset; }
/** * Analyze the key and fill the state. * Uses mark() and reset() in ByteBuffer. * @param in Buffer at the position where key starts * @param keyLength Length of key in bytes * @param valueLength Length of values in bytes */ void readKey(ByteBuffer in, int keyLength, int valueLength) { readKey(in, keyLength, valueLength, 0, null); }
@Override void copyFrom(CompressionState state) { super.copyFrom(state); DiffCompressionState state2 = (DiffCompressionState) state; timestamp = state2.timestamp; } }
/** * Analyze the key and fill the state. * Uses mark() and reset() in ByteBuffer. * @param in Buffer at the position where key starts * @param keyLength Length of key in bytes * @param valueLength Length of values in bytes */ void readKey(ByteBuffer in, int keyLength, int valueLength) { readKey(in, keyLength, valueLength, 0, null); }
@Override void copyFrom(CompressionState state) { super.copyFrom(state); DiffCompressionState state2 = (DiffCompressionState) state; timestamp = state2.timestamp; } }
/** * Analyze the key and fill the state. * Uses mark() and reset() in ByteBuffer. * @param in Buffer at the position where key starts * @param keyLength Length of key in bytes * @param valueLength Length of values in bytes */ void readKey(ByteBuffer in, int keyLength, int valueLength) { readKey(in, keyLength, valueLength, 0, null); }
@Override void copyFrom(CompressionState state) { super.copyFrom(state); DiffCompressionState state2 = (DiffCompressionState) state; timestamp = state2.timestamp; } }
/** * Analyze the key and fill the state. * Uses mark() and reset() in ByteBuffer. * @param in Buffer at the position where key starts * @param keyLength Length of key in bytes * @param valueLength Length of values in bytes */ void readKey(ByteBuffer in, int keyLength, int valueLength) { readKey(in, keyLength, valueLength, 0, null); }
@Override void copyFrom(CompressionState state) { super.copyFrom(state); DiffCompressionState state2 = (DiffCompressionState) state; timestamp = state2.timestamp; } }
@Override void copyFrom(CompressionState state) { super.copyFrom(state); FastDiffCompressionState state2 = (FastDiffCompressionState) state; System.arraycopy(state2.timestamp, 0, timestamp, 0, KeyValue.TIMESTAMP_SIZE); prevTimestampOffset = state2.prevTimestampOffset; }
@Override void copyFrom(CompressionState state) { super.copyFrom(state); FastDiffCompressionState state2 = (FastDiffCompressionState) state; System.arraycopy(state2.timestamp, 0, timestamp, 0, KeyValue.TIMESTAMP_SIZE); prevTimestampOffset = state2.prevTimestampOffset; }
@Override void copyFrom(CompressionState state) { super.copyFrom(state); FastDiffCompressionState state2 = (FastDiffCompressionState) state; System.arraycopy(state2.timestamp, 0, timestamp, 0, KeyValue.TIMESTAMP_SIZE); prevTimestampOffset = state2.prevTimestampOffset; }
@Override void copyFrom(CompressionState state) { super.copyFrom(state); FastDiffCompressionState state2 = (FastDiffCompressionState) state; System.arraycopy(state2.timestamp, 0, timestamp, 0, KeyValue.TIMESTAMP_SIZE); prevTimestampOffset = state2.prevTimestampOffset; }