|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EosQuery
A query is always constructed by the EosLookup
instance and supports
simple lookups in an entity oriented search index.
The query is very simple. At this time an entity oriented search system doesn't need sophisticated queries.
Method Summary | |
---|---|
EosQuery |
and(String phrase)
Adds a phrase to lookup with the boolean and operation. |
EosQuery |
andMeta(String fieldName,
String value)
Adds a meta entry for a special field to lookup with the boolean and operation. |
EosQuery |
andMetaRange(String fieldName,
String lowerBoundValue,
String upperBoundValue)
Adds a meta entry for a special field to lookup with the boolean and operation. |
EosQuery |
andNot(String phrase)
Adds a phrase not to lookup with the boolean and operation. |
EosQuery |
andNotMeta(String fieldName,
String value)
Adds a meta entry for a special field to not lookup with the boolean and operation. |
List<LookupEntry> |
execute()
Creates the executable query. |
EosQuery |
or(String phrase)
Adds a phrase to lookup with the boolean or operation. |
EosQuery |
orMeta(String fieldName,
String value)
Adds a meta entry for a special field to lookup with the boolean or operation. |
EosQuery |
orMetaRange(String fieldName,
String lowerBoundValue,
String upperBoundValue)
Adds a meta entry for a special field to lookup with the boolean or operation. |
Methods inherited from interface net.sf.eos.config.Configurable |
---|
configure |
Method Detail |
---|
EosQuery and(String phrase) throws EosException
phrase
- the phrase to lookup
EosException
- if an error occursEosQuery or(String phrase) throws EosException
phrase
- the phrase to lookup
EosException
- if an error occursEosQuery andNot(String phrase) throws EosException
phrase
- the phrase to lookup
EosException
- if an error occursEosQuery andMeta(String fieldName, String value) throws EosException
fieldName
- the meta field name to lookupvalue
- the meta value to lookup
EosException
- if an error occursEosQuery andNotMeta(String fieldName, String value) throws EosException
fieldName
- the meta field name to lookupvalue
- the meta value to lookup
EosException
- if an error occursEosQuery orMeta(String fieldName, String value) throws EosException
fieldName
- the meta field name to lookupvalue
- the meta value to lookup
EosException
- if an error occursEosQuery andMetaRange(String fieldName, String lowerBoundValue, String upperBoundValue) throws EosException
fieldName
- the meta field name to lookuplowerBoundValue
- the meta lower bound value to lookupupperBoundValue
- the meta upper bound value to lookup
EosException
- if an error occursEosQuery orMetaRange(String fieldName, String lowerBoundValue, String upperBoundValue) throws EosException
fieldName
- the meta field name to lookuplowerBoundValue
- the meta lower bound value to lookupupperBoundValue
- the meta upper bound value to lookup
EosException
- if an error occursList<LookupEntry> execute() throws EosException
EosException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |