Package tkrzw

Class RecordProcessor.WithKey

Object
WithKey
Enclosing interface:
RecordProcessor

public static class RecordProcessor.WithKey extends Object
Container of a processor and a key.
  • Field Details

    • key

      public byte[] key
      The key of the record to process.
    • processor

      public RecordProcessor processor
      The processor object.
  • Constructor Details

    • WithKey

      public WithKey(byte[] key, RecordProcessor processor)
      Constructor.
      Parameters:
      key - The key of the record to process.
      processor - The processor to process the record.
    • WithKey

      public WithKey(String key, RecordProcessor processor)
      Constructor.
      Parameters:
      key - The key of the record to process.
      processor - The processor to process the record.