Class PayloadMatcherFactory.EQPayloadMatcher

java.lang.Object
org.apache.lucene.queries.payloads.PayloadMatcherFactory.EQPayloadMatcher
All Implemented Interfaces:
PayloadMatcher
Enclosing class:
PayloadMatcherFactory

private static class PayloadMatcherFactory.EQPayloadMatcher extends Object implements PayloadMatcher
  • Constructor Details

    • EQPayloadMatcher

      private EQPayloadMatcher()
  • Method Details

    • comparePayload

      public boolean comparePayload(BytesRef source, BytesRef payload)
      Description copied from interface: PayloadMatcher
      This method tests if two BytesRef match.
      Specified by:
      comparePayload in interface PayloadMatcher
      Parameters:
      source - left side of the compare
      payload - right side of the compare
      Returns:
      true if the BytesRefs are matching, otherwise false.