Class PartitionRecord.ValueWrapper

java.lang.Object
org.apache.nifi.processors.standard.PartitionRecord.ValueWrapper
Enclosing class:
PartitionRecord

static class PartitionRecord.ValueWrapper extends Object
We have this ValueWrapper class here because we want to use it as part of the key to a Map and we want two values that may or may not be arrays. Since calling a.equals(b) returns false when a and b are arrays, we need to wrap our values in a class that can handle comparisons appropriately.
  • Field Details

    • value

      private final Object value
  • Constructor Details

    • ValueWrapper

      public ValueWrapper(Object value)
  • Method Details