public class AlphanumValue extends IndexValue implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
context |
java.lang.String |
cpath |
java.lang.String |
formName
If this alphanum value comes from the expansion of a Form, its name
|
int |
indexGroupId |
int |
indexKind |
int |
indexSeqId |
java.util.List<java.lang.String> |
tokens
If the alphanum value comes from the expansion of a Form, the list of
original Tokens (E.g.
|
java.lang.String |
value |
field
indexOptions
Constructor and Description |
---|
AlphanumValue() |
AlphanumValue(AlphanumValue other)
Copy constructor
|
AlphanumValue(java.lang.String value)
Create a new Alphanumerical node without field set
|
AlphanumValue(java.lang.String value,
int indexKind) |
AlphanumValue(java.lang.String field,
java.lang.String value) |
AlphanumValue(java.lang.String field,
java.lang.String value,
IndexOptions indexOptions) |
AlphanumValue(java.lang.String field,
java.lang.String value,
int indexKind,
IndexOptions indexOptions) |
AlphanumValue(java.lang.String field,
java.lang.String value,
java.lang.String cpath,
IndexOptions indexOptions)
Create a new Alphanumerical node with field set.
|
Modifier and Type | Method and Description |
---|---|
Node |
accept(NodeVisitor visitor) |
Node |
cloneNode() |
java.lang.String |
getContext()
Get the index context targeted by this node
|
java.lang.String |
getFormName() |
int |
getIndexGroupId() |
int |
getIndexKind()
Get the index kind for this node.
|
int |
getIndexSeqId() |
boolean |
getMayExpand() |
java.lang.String |
getPath()
Get the cpath of this node
|
boolean |
getPatternSearch() |
int |
getPatternSearchMaxNbLists() |
java.lang.String |
getSourceName() |
TokenizedNode.Token.StopWordLevel |
getStopWordLevel() |
java.lang.String |
getValue()
Get the search value of this node
|
double |
getWeight() |
boolean |
isTokenized() |
void |
setContext(java.lang.String context)
Set the index context targeted by this node
|
void |
setCorpusFrequency(long freq)
Set the frequency of the value in the corpus (i.e.
|
AlphanumValue |
setFormName(java.lang.String formName) |
void |
setIndexGroupId(int groupId) |
void |
setIndexKind(int indexKind)
Set the index kind for this node.
|
void |
setIndexSeqId(int seqId) |
void |
setMayExpand(boolean b) |
void |
setPath(java.lang.String cpath)
Set the cpath of this node
|
AlphanumValue |
setPatternSearch(boolean patternSearch) |
AlphanumValue |
setPatternSearchMaxNbLists(int patternSearchMaxNbLists) |
void |
setSource(ModuleConfigs.Base source) |
void |
setStopWordLevel(TokenizedNode.Token.StopWordLevel sw) |
void |
setTokenized(boolean b) |
void |
setValue(java.lang.String value)
Set the search value of this node
|
void |
setWeight(double value) |
void |
toELLQL(java.lang.StringBuilder buffer,
boolean sortNAry) |
getField, setField
copyOptionsFrom, escapeStr, getHighlight, toELLQLBinary, toELLQLConstant, toELLQLNAry, toELLQLUnary, unEscapeStr
public java.lang.String context
public java.lang.String value
public java.lang.String cpath
public int indexKind
public int indexSeqId
public int indexGroupId
public java.lang.String formName
public java.util.List<java.lang.String> tokens
public AlphanumValue()
public AlphanumValue(java.lang.String value)
public AlphanumValue(java.lang.String value, int indexKind)
public AlphanumValue(java.lang.String field, java.lang.String value, java.lang.String cpath, IndexOptions indexOptions)
public AlphanumValue(java.lang.String field, java.lang.String value, int indexKind, IndexOptions indexOptions)
public AlphanumValue(java.lang.String field, java.lang.String value, IndexOptions indexOptions)
public AlphanumValue(java.lang.String field, java.lang.String value)
public AlphanumValue(AlphanumValue other)
public java.lang.String getSourceName()
public void setMayExpand(boolean b)
public boolean getMayExpand()
public boolean isTokenized()
public void setTokenized(boolean b)
public AlphanumValue setPatternSearch(boolean patternSearch)
public AlphanumValue setPatternSearchMaxNbLists(int patternSearchMaxNbLists)
public int getPatternSearchMaxNbLists()
public boolean getPatternSearch()
public AlphanumValue setFormName(java.lang.String formName)
formName
public java.lang.String getContext()
public void setContext(java.lang.String context)
public java.lang.String getValue()
public void setValue(java.lang.String value)
public java.lang.String getPath()
public void setPath(java.lang.String cpath)
public void setCorpusFrequency(long freq)
public int getIndexKind()
public void setIndexKind(int indexKind)
public int getIndexSeqId()
public void setIndexSeqId(int seqId)
public int getIndexGroupId()
public void setIndexGroupId(int groupId)
public void setSource(ModuleConfigs.Base source)
source
public TokenizedNode.Token.StopWordLevel getStopWordLevel()
#sw
public void setStopWordLevel(TokenizedNode.Token.StopWordLevel sw)
#sw
public java.lang.String getFormName()
formName
public void setWeight(double value)
public double getWeight()
public void toELLQL(java.lang.StringBuilder buffer, boolean sortNAry)
public Node accept(NodeVisitor visitor) throws QueryProcessingException
accept
in class Node
QueryProcessingException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.