|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SearchEngine
Given a search filter and a scope the search engine identifies valid candidate entries returning their ids.
Field Summary | |
---|---|
static java.lang.String |
ALIASMODE_KEY
|
static java.lang.String |
ALWAYS
|
static java.lang.String |
FINDING
|
static java.lang.String |
NEVER
|
static java.lang.String |
SEARCHING
|
Method Summary | |
---|---|
boolean |
evaluate(org.apache.directory.shared.ldap.filter.ExprNode filter,
java.math.BigInteger id)
Evaluates a filter on an entry with a id. |
Optimizer |
getOptimizer()
Gets the optimizer for this DefaultSearchEngine. |
javax.naming.NamingEnumeration |
search(javax.naming.Name base,
java.util.Map env,
org.apache.directory.shared.ldap.filter.ExprNode filter,
javax.naming.directory.SearchControls searchCtls)
Conducts a search on a database. |
Field Detail |
---|
static final java.lang.String ALIASMODE_KEY
static final java.lang.String ALWAYS
static final java.lang.String NEVER
static final java.lang.String FINDING
static final java.lang.String SEARCHING
Method Detail |
---|
Optimizer getOptimizer()
javax.naming.NamingEnumeration search(javax.naming.Name base, java.util.Map env, org.apache.directory.shared.ldap.filter.ExprNode filter, javax.naming.directory.SearchControls searchCtls) throws javax.naming.NamingException
base
- the search baseenv
- the environment for the searchfilter
- the search filter AST rootsearchCtls
- the JNDI search controls
javax.naming.NamingException
- if the search failsboolean evaluate(org.apache.directory.shared.ldap.filter.ExprNode filter, java.math.BigInteger id) throws javax.naming.NamingException
filter
- the filter root AST nodeid
- the id of the entry to test
javax.naming.NamingException
- if something goes wrong while accessing the db
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |