|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.slide.search.SearchQuery
org.apache.slide.search.basic.BasicQueryEnvelope
Envelopes all queries that are necessary, if a scope covers several stores. For example: /mycoll is mapped to an SQL store, /mycoll/xml is mapped to an XML database. A query with scope /mycoll must be divided in two different queries, the result must be joined.
Field Summary |
Fields inherited from class org.apache.slide.search.SearchQuery |
searchToken, structureHelper |
Constructor Summary | |
BasicQueryEnvelope(SearchToken token,
QueryScope queryScope)
|
Method Summary | |
SearchQueryResult |
execute()
Executes each involved query and merges the results |
IBasicExpressionFactory |
getContentExpressionFactory()
Should never be called ?? |
IBasicExpression |
getExpression()
Method getExpression |
int |
getLimit()
Method getLimit |
IBasicExpressionFactory |
getPropertiesExpressionFactory()
Should never be called ?? |
PropertyProvider |
getPropertyProvider()
Method getPropertyProvider |
QueryScope |
getScope()
Method getScope |
SearchToken |
getSearchToken()
Method getSearchToken |
java.lang.String |
getSlidePath()
Method getSlidePath |
AbstractStore |
getStore()
Method getStore |
void |
init(SearchToken token)
Method init |
boolean |
isLimitDefined()
Method isLimitDefined |
void |
parseQueryElement(org.jdom.Element basicSearchElement,
PropertyProvider propertyProvider)
parses all subQueries. |
RequestedProperties |
requestedProperties()
Method requestedProperties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BasicQueryEnvelope(SearchToken token, QueryScope queryScope) throws InvalidScopeException
Method Detail |
public IBasicExpressionFactory getContentExpressionFactory()
getContentExpressionFactory
in interface IBasicQuery
public IBasicExpressionFactory getPropertiesExpressionFactory()
getPropertiesExpressionFactory
in interface IBasicQuery
public void parseQueryElement(org.jdom.Element basicSearchElement, PropertyProvider propertyProvider) throws BadQueryException
parseQueryElement
in interface IBasicQuery
basicSearchElement
- an ElementpropertyProvider
- a PropertyProvider
BadQueryException
public SearchQueryResult execute() throws ServiceAccessException
execute
in interface IBasicQuery
execute
in class SearchQuery
ServiceAccessException
public AbstractStore getStore()
getStore
in interface IBasicQuery
public QueryScope getScope()
getScope
in interface IBasicQuery
public PropertyProvider getPropertyProvider()
getPropertyProvider
in interface IBasicQuery
public boolean isLimitDefined()
isLimitDefined
in interface IBasicQuery
public int getLimit()
getLimit
in interface IBasicQuery
public IBasicExpression getExpression()
getExpression
in interface IBasicQuery
public RequestedProperties requestedProperties()
requestedProperties
in interface IBasicQuery
requestedProperties
in class SearchQuery
public java.lang.String getSlidePath() throws InvalidScopeException
getSlidePath
in interface IBasicQuery
InvalidScopeException
public SearchToken getSearchToken()
getSearchToken
in interface IBasicQuery
public void init(SearchToken token)
IBasicQuery
init
in interface IBasicQuery
token
- a SearchToken
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |