com.sun.ebxml.registry.query.filter
Class QueryProcessor
java.lang.Object
com.sun.ebxml.registry.query.filter.QueryProcessor
- All Implemented Interfaces:
- SQLConverter
- Direct Known Subclasses:
- RegistryObjectQueryProcessor
- public abstract class QueryProcessor
- extends java.lang.Object
- implements SQLConverter
Class Declaration for QueryProcessor
- See Also:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
filterProcessor
protected FilterProcessor filterProcessor
clauseHandler
protected ClauseHandler clauseHandler
sqlQuery
protected java.lang.String sqlQuery
whereClause
protected java.lang.String whereClause
nativeQuery
protected org.oasis.ebxml.registry.bindings.query.RegistryObjectQueryType nativeQuery
QueryProcessor
public QueryProcessor()
setNativeQuery
protected abstract void setNativeQuery(org.oasis.ebxml.registry.bindings.query.RegistryObjectQueryType query)
getName
protected abstract java.lang.String getName()
buildFilterClauses
protected abstract void buildFilterClauses()
throws RegistryException
- Throws:
RegistryException
buildQueryClauses
protected abstract void buildQueryClauses()
throws RegistryException
- Throws:
RegistryException
buildBranchClauses
protected abstract void buildBranchClauses()
throws RegistryException
- Throws:
RegistryException
setParentJoinColumn
public void setParentJoinColumn(java.lang.String parJoinColumn)
setSelectColumn
public void setSelectColumn(java.lang.String selColumn)
convertToSQL
public java.lang.String convertToSQL(java.lang.Object obj)
throws RegistryException
- Convert the specified Object obj to an equivalent SQL query string.
- Specified by:
convertToSQL
in interface SQLConverter
- Throws:
RegistryException
addWhereClause
public java.lang.String addWhereClause(java.lang.String whereClause,
java.lang.Object query)
throws RegistryException
- Throws:
RegistryException
buildNativeWhereClause
protected void buildNativeWhereClause(org.oasis.ebxml.registry.bindings.query.FilterType nativeFilter)
throws RegistryException
- Throws:
RegistryException
buildForeignWhereClause
protected void buildForeignWhereClause(org.oasis.ebxml.registry.bindings.query.FilterType foreignFilter)
throws RegistryException
- Throws:
RegistryException