|
||||||||||
| 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 IBasicQuerypublic IBasicExpressionFactory getPropertiesExpressionFactory()
getPropertiesExpressionFactory in interface IBasicQuery
public void parseQueryElement(org.jdom.Element basicSearchElement,
PropertyProvider propertyProvider)
throws BadQueryException
parseQueryElement in interface IBasicQuerybasicSearchElement - an ElementpropertyProvider - a PropertyProvider
BadQueryException
public SearchQueryResult execute()
throws ServiceAccessException
execute in interface IBasicQueryexecute in class SearchQueryServiceAccessExceptionpublic AbstractStore getStore()
getStore in interface IBasicQuerypublic QueryScope getScope()
getScope in interface IBasicQuerypublic PropertyProvider getPropertyProvider()
getPropertyProvider in interface IBasicQuerypublic boolean isLimitDefined()
isLimitDefined in interface IBasicQuerypublic int getLimit()
getLimit in interface IBasicQuerypublic IBasicExpression getExpression()
getExpression in interface IBasicQuerypublic RequestedProperties requestedProperties()
requestedProperties in interface IBasicQueryrequestedProperties in class SearchQuery
public java.lang.String getSlidePath()
throws InvalidScopeException
getSlidePath in interface IBasicQueryInvalidScopeExceptionpublic SearchToken getSearchToken()
getSearchToken in interface IBasicQuerypublic void init(SearchToken token)
IBasicQuery
init in interface IBasicQuerytoken - a SearchToken
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||