public class LocalSearchMatcher
extends java.lang.Object
Constructor and Description |
---|
LocalSearchMatcher(PQuery query,
java.util.Collection<SearchPlanExecutor> plan,
int keySize,
int frameSize) |
LocalSearchMatcher(PQuery query,
SearchPlanExecutor[] plan,
int keySize,
int frameSize) |
LocalSearchMatcher(PQuery query,
SearchPlanExecutor plan,
int keySize,
int frameSize) |
Modifier and Type | Method and Description |
---|---|
void |
addAdapter(ILocalSearchAdapter adapter) |
int |
countMatches() |
int |
countMatches(MatchingFrame initialFrame) |
MatchingFrame |
editableMatchingFrame() |
java.util.List<ILocalSearchAdapter> |
getAdapters() |
java.util.Collection<MatchingFrame> |
getAllMatches() |
java.util.Collection<MatchingFrame> |
getAllMatches(MatchingFrame initialFrame) |
int |
getFrameSize() |
int |
getKeySize() |
MatchingFrame |
getOneArbitraryMatch() |
MatchingFrame |
getOneArbitraryMatch(MatchingFrame initialFrame) |
com.google.common.collect.ImmutableList<SearchPlanExecutor> |
getPlan() |
PQuery |
getQuerySpecification()
Returns the query specification this matcher used as source for the implementation
|
boolean |
hasMatch() |
boolean |
hasMatch(MatchingFrame initialFrame) |
void |
removeAdapter(ILocalSearchAdapter adapter) |
public LocalSearchMatcher(PQuery query, SearchPlanExecutor plan, int keySize, int frameSize)
public LocalSearchMatcher(PQuery query, SearchPlanExecutor[] plan, int keySize, int frameSize)
public LocalSearchMatcher(PQuery query, java.util.Collection<SearchPlanExecutor> plan, int keySize, int frameSize)
public com.google.common.collect.ImmutableList<SearchPlanExecutor> getPlan()
public int getFrameSize()
public int getKeySize()
public java.util.List<ILocalSearchAdapter> getAdapters()
public void addAdapter(ILocalSearchAdapter adapter)
public void removeAdapter(ILocalSearchAdapter adapter)
public MatchingFrame editableMatchingFrame()
public boolean hasMatch() throws LocalSearchException
LocalSearchException
public boolean hasMatch(MatchingFrame initialFrame) throws LocalSearchException
LocalSearchException
public int countMatches() throws LocalSearchException
LocalSearchException
public int countMatches(MatchingFrame initialFrame) throws LocalSearchException
LocalSearchException
public MatchingFrame getOneArbitraryMatch() throws LocalSearchException
LocalSearchException
public MatchingFrame getOneArbitraryMatch(MatchingFrame initialFrame) throws LocalSearchException
LocalSearchException
public java.util.Collection<MatchingFrame> getAllMatches() throws LocalSearchException
LocalSearchException
public java.util.Collection<MatchingFrame> getAllMatches(MatchingFrame initialFrame) throws LocalSearchException
LocalSearchException
public PQuery getQuerySpecification()