Package tkrzw
Interface RecordProcessor
public interface RecordProcessor
Interface of processor for a record.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Container of a processor and a key. -
Field Summary
Modifier and TypeFieldDescriptionstatic final byte[]
The special string indicating removing operation. -
Method Summary
-
Field Details
-
REMOVE
static final byte[] REMOVEThe special string indicating removing operation.- Note:
- The actual value is set by the native code.
-
-
Method Details
-
process
byte[] process(byte[] key, byte[] value) Processes a record.- Parameters:
key
- The key of the existing record.value
- The value of the existing record.- Returns:
- A string reference to NOOP, REMOVE, or a byte array of a new value.
-