public class QueryTerms
extends atg.search.routing.command.SearchXMLObject
implements java.io.Serializable
QueryTerm
s and various stats.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
QueryTerms() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object pObject) |
protected void |
getAttributeXML(java.lang.StringBuilder sb) |
int |
getBaseWeight()
Returns the Base term weight
|
protected void |
getBodyXML(java.lang.StringBuilder sb) |
int |
getIndexSize()
Returns the total index term frequency
|
QueryTermsMode |
getMode()
returns query terms mode
|
java.lang.String |
getRequestTag()
Gets the xml element tag used in the request
|
java.util.List<QueryTerm> |
getTerms()
Returns the List of QueryTerms
|
int |
getTotalDocs()
Returns the total documents in index
|
int |
getTotalTerms()
Returns the total index terms
|
int |
hashCode() |
void |
setBaseWeight(int baseWeight)
Sets the Base term weight
|
void |
setIndexSize(int indexSize)
Sets the total index term frequency
|
void |
setMode(QueryTermsMode pMode)
Sets query terms mode
|
void |
setTerms(java.util.List<QueryTerm> terms)
Sets the List of QueryTerm
|
void |
setTotalDocs(int totalDocs)
Sets the total documents in index
|
void |
setTotalTerms(int totalTerms)
Sets the total index terms
|
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getDefaultXmlBytes, getParentXMLObject, getXmlPath, isPrintedFirstChild, setParentXMLObject, setPrintedFirstChild, toString, toXML, toXML
public boolean equals(java.lang.Object pObject)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.List<QueryTerm> getTerms()
public void setTerms(java.util.List<QueryTerm> terms)
terms
- List of QueryTermpublic int getBaseWeight()
public void setBaseWeight(int baseWeight)
baseWeight
- Base term weightpublic QueryTermsMode getMode()
public void setMode(QueryTermsMode pMode)
pMode
- the modepublic int getTotalDocs()
public void setTotalDocs(int totalDocs)
totalDocs
- Total documents in indexpublic int getTotalTerms()
public void setTotalTerms(int totalTerms)
totalTerms
- Total index termspublic int getIndexSize()
public void setIndexSize(int indexSize)
indexSize
- Total index term frequencypublic java.lang.String getRequestTag()
getRequestTag
in class atg.search.routing.command.SearchXMLObject
protected void getAttributeXML(java.lang.StringBuilder sb) throws atg.search.routing.command.IncompleteCommandException
getAttributeXML
in class atg.search.routing.command.SearchXMLObject
atg.search.routing.command.IncompleteCommandException
protected void getBodyXML(java.lang.StringBuilder sb) throws atg.search.routing.command.IncompleteCommandException
getBodyXML
in class atg.search.routing.command.SearchXMLObject
atg.search.routing.command.IncompleteCommandException