Module org.apache.lucene.queries
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 java.lang.Object implements PayloadMatcher
-
-
Constructor Summary
Constructors Modifier Constructor Description private
EQPayloadMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
comparePayload(BytesRef source, BytesRef payload)
This method tests if two BytesRef match.
-
-
-
Method Detail
-
comparePayload
public boolean comparePayload(BytesRef source, BytesRef payload)
Description copied from interface:PayloadMatcher
This method tests if two BytesRef match.- Specified by:
comparePayload
in interfacePayloadMatcher
- Parameters:
source
- left side of the comparepayload
- right side of the compare- Returns:
- true if the BytesRefs are matching, otherwise false.
-
-