public final class QueryProperties extends Object
Constructor and Description |
---|
QueryProperties() |
Modifier and Type | Method and Description |
---|---|
float |
getConfidence()
Gets the confidence sepcified for richtext search
|
boolean |
getIsBasicSearch()
Gets if to use Asset.Search for flex asset type, default to be false if the value is not set by the setter method.
|
boolean |
getIsCaseSensitive()
Gets whether the flex asset search is case sensitive or not, default to be false if the value is not set by the setter method.
|
boolean |
getIsImmediateOnly()
Gets whether to only retrieve the immediate attribute values from flex asset attributes, default value is true
|
boolean |
getIsLowerEqual()
Gets whether the lower bound contains equal or not for range search, default to be false if the value is not set by the setter method.
|
boolean |
getIsUpperEqual()
Gets whether the upper bound contains equal or not for range search, default to be false if the value is not set by the setter method.
|
int |
getLoadDependency()
Gets what kind of depency to log when loading assets returned from Query
|
int |
getMaxAnswers()
Gets the max answers specified for richtext search
|
int |
getMaxRows()
Gets the max number of items the query wants to return
|
String |
getParser()
Gets the search-engine dependent parser for richtext search.
|
Long |
getSite()
Gets the site id for the Query
|
int |
getStartIndex()
Gets the starting index to limit items returned by query
|
boolean |
isFixedList()
Gets whether search contains a set of assets whose identities will not change.
|
boolean |
isReadAll()
Gets whether all the attributes of the assettype/subtype will be read
|
void |
setConfidence(float fConfidence)
Sets the confidence value for richtext search
|
void |
setFixedList(boolean isFixedList)
Sets whether search contains a set of assets whose identities will not change.
|
void |
setIsBasicSearch(boolean bIsBasicSearch)
Specifies whether to use Asset.Search for flex asset type
|
void |
setIsCaseSensitive(boolean bIsCaseSensitive)
Specifies whether the flex asset search is case sensitive or not
|
void |
setIsImmediateOnly(boolean bIsImmediateOnly)
Specifies whether to only retrieve the immediate attribute values from flex asset attributes
|
void |
setIsLowerEqual(boolean bIsLowerEqual)
Specifies whether the lower bound contains equal or not for range search
|
void |
setIsUpperEqual(boolean bIsUpperEqual)
Specifies whether the upper bound contains equal or not for range search
|
void |
setLoadDependency(int loadDependency)
Sets the load dependency for the assets that would be returned by the Query
|
void |
setMaxAnswers(int iMaxAnswers)
Sets the maxAnswers value for richtext search
|
void |
setMaxRows(int iMaxRows)
set the max number of items to return from the query
|
void |
setParser(String sParser)
Sets the search-engine dependent parser for richtext search.
|
void |
setReadAll(boolean readAll)
Sets whether all the attributes of the assettype/subtype will be read
|
void |
setSite(Long site)
Sets the site id for the query
|
void |
setStartIndex(int startIndex)
Sets the starting index to limit items returned by query
|
public int getMaxRows()
public void setMaxRows(int iMaxRows)
iMaxRows
- the numberpublic boolean getIsBasicSearch()
public void setIsBasicSearch(boolean bIsBasicSearch)
bIsBasicSearch
- true indicates using Asset.Search, false indicates not using Asset.Searchpublic boolean getIsLowerEqual()
public void setIsLowerEqual(boolean bIsLowerEqual)
bIsLowerEqual
- true indicates lower bound contains equal, false indicates lower bound does not contain equalpublic boolean getIsUpperEqual()
public void setIsUpperEqual(boolean bIsUpperEqual)
bIsUpperEqual
- true indicates upper bound contains equal, false indicates upper bound does not contain equalpublic boolean getIsCaseSensitive()
public void setIsCaseSensitive(boolean bIsCaseSensitive)
bIsCaseSensitive
- true indicates the flex asset search is case sensitive, false indicates it is notpublic boolean getIsImmediateOnly()
public void setIsImmediateOnly(boolean bIsImmediateOnly)
bIsImmediateOnly
- true only retrieve the child attribute value, false means retrieving the inherited parent values toopublic String getParser()
public void setParser(String sParser)
sParser
- the parser namepublic float getConfidence()
public void setConfidence(float fConfidence)
fConfidence
- the float value fo the confidencepublic int getMaxAnswers()
public void setMaxAnswers(int iMaxAnswers)
iMaxAnswers
- the int value of the maxAnswerspublic int getLoadDependency()
public void setLoadDependency(int loadDependency)
loadDependency
- the value of the dependencypublic Long getSite()
public void setSite(Long site)
site
- the site idpublic boolean isReadAll()
public void setReadAll(boolean readAll)
readAll
- true indicates all the attributes will be read; false indicates the attributes will be specified in the querypublic int getStartIndex()
public void setStartIndex(int startIndex)
startIndex
- the numberpublic boolean isFixedList()
public void setFixedList(boolean isFixedList)
isFixedList
- default is false.