Interface PayloadMatcher

All Known Implementing Classes:
PayloadMatcherFactory.EQPayloadMatcher, PayloadMatcherFactory.FloatPayloadMatcher, PayloadMatcherFactory.GTEFloatPayloadMatcher, PayloadMatcherFactory.GTEIntPayloadMatcher, PayloadMatcherFactory.GTEStringPayloadMatcher, PayloadMatcherFactory.GTFloatPayloadMatcher, PayloadMatcherFactory.GTIntPayloadMatcher, PayloadMatcherFactory.GTStringPayloadMatcher, PayloadMatcherFactory.IntPayloadMatcher, PayloadMatcherFactory.LTEFloatPayloadMatcher, PayloadMatcherFactory.LTEIntPayloadMatcher, PayloadMatcherFactory.LTEStringPayloadMatcher, PayloadMatcherFactory.LTFloatPayloadMatcher, PayloadMatcherFactory.LTIntPayloadMatcher, PayloadMatcherFactory.LTStringPayloadMatcher, PayloadMatcherFactory.StringPayloadMatcher

public interface PayloadMatcher
Defines an interface for testing if two payloads should be consider to match
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    comparePayload(BytesRef source, BytesRef payload)
    This method tests if two BytesRef match.
  • Method Details

    • comparePayload

      boolean comparePayload(BytesRef source, BytesRef payload)
      This method tests if two BytesRef match.
      Parameters:
      source - left side of the compare
      payload - right side of the compare
      Returns:
      true if the BytesRefs are matching, otherwise false.