com.infoengine.jndi
Class DirectoryQueryTranslator
java.lang.Object
com.infoengine.jndi.DirectoryQueryTranslator
- public class DirectoryQueryTranslator
- extends Object
Method Summary |
String |
translate(String whereClause)
Translate a SQL-like WHERE clause to a directory search filter. |
private String |
translateTerm()
Translate a term of an Info*Engine WHERE clause to an LDAP
search expression. |
private String |
translateWhereClause()
Translate an Info*Engine WHERE clause to an LDAP search expression. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
whereCursor
private int whereCursor
whereTokens
private Vector whereTokens
DirectoryQueryTranslator
public DirectoryQueryTranslator()
- Constructor.
translate
public String translate(String whereClause)
throws IEAdapterIOException
- Translate a SQL-like WHERE clause to a directory search filter.
- Parameters:
whereClause
- The WHERE clause to be translated
- Returns:
- The directory search filter
- Throws:
IEAdapterIOException
translateWhereClause
private String translateWhereClause()
- Translate an Info*Engine WHERE clause to an LDAP search expression.
- Returns:
- The LDAP search expression, or null if expression can not
be translated.
translateTerm
private String translateTerm()
- Translate a term of an Info*Engine WHERE clause to an LDAP
search expression.
- Returns:
- LDAP search expression, or null if expression can not be
translated.