Class MatchOperation
- java.lang.Object
-
- com.yahoo.searchdefinition.fieldoperation.MatchOperation
-
- All Implemented Interfaces:
FieldOperation
,java.lang.Comparable<FieldOperation>
public class MatchOperation extends java.lang.Object implements FieldOperation
- Author:
- Einar M R Rosenvinge
-
-
Constructor Summary
Constructors Constructor Description MatchOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(SDField field)
Apply this operation on the given fieldvoid
setExactMatchTerminator(java.lang.String exactMatchTerminator)
void
setGramSize(java.lang.Integer gramSize)
void
setMatchingAlgorithm(Matching.Algorithm matchingAlgorithm)
void
setMatchingType(Matching.Type matchingType)
void
setMaxLength(java.lang.Integer maxLength)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.yahoo.searchdefinition.fieldoperation.FieldOperation
compareTo
-
-
-
-
Method Detail
-
setMatchingType
public void setMatchingType(Matching.Type matchingType)
-
setGramSize
public void setGramSize(java.lang.Integer gramSize)
-
setMaxLength
public void setMaxLength(java.lang.Integer maxLength)
-
setMatchingAlgorithm
public void setMatchingAlgorithm(Matching.Algorithm matchingAlgorithm)
-
setExactMatchTerminator
public void setExactMatchTerminator(java.lang.String exactMatchTerminator)
-
apply
public void apply(SDField field)
Description copied from interface:FieldOperation
Apply this operation on the given field- Specified by:
apply
in interfaceFieldOperation
-
-