Package org.dmg.pmml
Class TextIndex
- java.lang.Object
-
- org.dmg.pmml.PMMLObject
-
- org.dmg.pmml.Expression
-
- org.dmg.pmml.TextIndex
-
- All Implemented Interfaces:
Serializable,HasExpression<TextIndex>,HasExtensions<TextIndex>,HasFieldReference<TextIndex>,HasLocator,Visitable
public class TextIndex extends Expression implements HasExpression<TextIndex>, HasExtensions<TextIndex>, HasFieldReference<TextIndex>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTextIndex.CountHitsstatic classTextIndex.LocalTermWeights
-
Constructor Summary
Constructors Constructor Description TextIndex()TextIndex(String textField, Expression expression)TextIndex(Field<?> textField, Expression expression)
-
Method Summary
-
Methods inherited from class org.dmg.pmml.PMMLObject
getLocator, getSchemaVersion, getSchemaVersion, hasLocator, setLocator
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dmg.pmml.HasFieldReference
setField
-
-
-
-
Constructor Detail
-
TextIndex
public TextIndex()
-
TextIndex
public TextIndex(String textField, Expression expression)
-
TextIndex
public TextIndex(Field<?> textField, Expression expression)
-
-
Method Detail
-
requireField
public String requireField()
- Specified by:
requireFieldin interfaceHasFieldReference<TextIndex>
-
requireTextField
public String requireTextField()
-
getField
public String getField()
- Specified by:
getFieldin interfaceHasFieldReference<TextIndex>
-
setField
public TextIndex setField(String field)
- Specified by:
setFieldin interfaceHasFieldReference<TextIndex>
-
getTextField
public String getTextField()
-
getLocalTermWeights
public TextIndex.LocalTermWeights getLocalTermWeights()
-
setLocalTermWeights
public TextIndex setLocalTermWeights(TextIndex.LocalTermWeights localTermWeights)
-
isCaseSensitive
public boolean isCaseSensitive()
-
getMaxLevenshteinDistance
public Integer getMaxLevenshteinDistance()
-
setMaxLevenshteinDistance
public TextIndex setMaxLevenshteinDistance(Integer maxLevenshteinDistance)
-
getCountHits
public TextIndex.CountHits getCountHits()
-
setCountHits
public TextIndex setCountHits(TextIndex.CountHits countHits)
-
getWordSeparatorCharacterRE
public String getWordSeparatorCharacterRE()
-
setWordSeparatorCharacterRE
public TextIndex setWordSeparatorCharacterRE(String wordSeparatorCharacterRE)
-
getWordRE
public String getWordRE()
-
isTokenize
public boolean isTokenize()
-
hasExtensions
public boolean hasExtensions()
- Specified by:
hasExtensionsin interfaceHasExtensions<TextIndex>
-
getExtensions
public List<Extension> getExtensions()
- Specified by:
getExtensionsin interfaceHasExtensions<TextIndex>
-
addExtensions
public TextIndex addExtensions(Extension... extensions)
- Specified by:
addExtensionsin interfaceHasExtensions<TextIndex>
-
hasTextIndexNormalizations
public boolean hasTextIndexNormalizations()
-
getTextIndexNormalizations
public List<TextIndexNormalization> getTextIndexNormalizations()
-
addTextIndexNormalizations
public TextIndex addTextIndexNormalizations(TextIndexNormalization... textIndexNormalizations)
-
requireExpression
public Expression requireExpression()
- Specified by:
requireExpressionin interfaceHasExpression<TextIndex>
-
getExpression
public Expression getExpression()
- Specified by:
getExpressionin interfaceHasExpression<TextIndex>
-
setExpression
public TextIndex setExpression(Expression expression)
- Specified by:
setExpressionin interfaceHasExpression<TextIndex>
-
accept
public VisitorAction accept(Visitor visitor)
-
-