|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.plasma.query.visitor.DefaultQueryVisitor
org.plasma.sdo.access.provider.common.TextQueryFilterAssembler
org.plasma.sdo.access.provider.common.SQLQueryFilterAssembler
org.cloudgraph.rdb.filter.FilterAssembler
public class FilterAssembler
| Field Summary |
|---|
| Fields inherited from class org.plasma.sdo.access.provider.common.SQLQueryFilterAssembler |
|---|
ALIAS_PREFIX, contextRelationalOperator, contextWildcardOperator, stringType |
| Fields inherited from class org.plasma.sdo.access.provider.common.TextQueryFilterAssembler |
|---|
contextProperty, contextType, filter, params |
| Fields inherited from interface org.plasma.query.model.QueryConstants |
|---|
FREE_TEXT_SELECT_DECLARATION_DELIMITER_REGEXP, FREE_TEXT_SELECT_PATH_DELIMITER_REGEXP, MAX_RESULTS, MAX_WILDCARDS, PATH_DELIMITER, WILDCARD |
| Fields inherited from interface org.plasma.sdo.access.model.EntityConstants |
|---|
DATA_ACCESS_CLASS_MEMBER_MULTI_VALUED_SUFFIX, DATA_ACCESS_CLASS_MEMBER_PREFIX, DATA_ACCESS_DECLARATION_DELIMITER, DATA_ACCESS_TRAVERSAL_PATH_DELIMITER, JAVAX_JDO_OPTION_CONNECTIONDRIVERNAME, JAVAX_JDO_OPTION_CONNECTIONFACTORYNAME, JAVAX_JDO_OPTION_CONNECTIONPASSWORD, JAVAX_JDO_OPTION_CONNECTIONURL, JAVAX_JDO_OPTION_CONNECTIONUSERNAME, JPA_METADATA_INIT_ON_STARTUP |
| Constructor Summary | |
|---|---|
FilterAssembler(org.plasma.query.model.Where where,
commonj.sdo.Type contextType,
AliasMap aliasMap)
|
|
| Method Summary | |
|---|---|
protected void |
assembleSubquery(org.plasma.query.model.Property property,
org.plasma.query.model.SubqueryOperator oper,
org.plasma.query.model.Query query)
|
String |
getImportDeclarations()
|
String |
getParameterDeclarations()
|
String |
getVariableDeclarations()
|
boolean |
hasImportDeclarations()
|
boolean |
hasParameterDeclarations()
|
boolean |
hasVariableDeclarations()
|
protected void |
log(org.plasma.query.model.Where root)
|
protected void |
processWildcardExpression(org.plasma.query.model.Property property,
org.plasma.query.model.WildcardOperator oper,
org.plasma.query.model.Literal literal)
|
void |
start(org.plasma.query.model.Expression expression)
|
void |
start(org.plasma.query.model.Property property)
Handles a property query node, traversing the property path appending SQL 'AND' expressions based on key relationships until the property endpoint is reached. |
| Methods inherited from class org.plasma.sdo.access.provider.common.SQLQueryFilterAssembler |
|---|
start, start, start, start, start |
| Methods inherited from class org.plasma.sdo.access.provider.common.TextQueryFilterAssembler |
|---|
filterTokens, getFilter, getParams, hasWildcard, start |
| Methods inherited from class org.plasma.query.visitor.DefaultQueryVisitor |
|---|
end, end, end, end, end, end, end, end, end, end, end, end, end, end, end, end, end, end, end, end, end, end, getContext, start, start, start, start, start, start, start, start, start, start, start, start, start, start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilterAssembler(org.plasma.query.model.Where where,
commonj.sdo.Type contextType,
AliasMap aliasMap)
| Method Detail |
|---|
public String getVariableDeclarations()
public boolean hasVariableDeclarations()
public String getImportDeclarations()
public boolean hasImportDeclarations()
public String getParameterDeclarations()
public boolean hasParameterDeclarations()
public void start(org.plasma.query.model.Expression expression)
start in interface org.plasma.query.visitor.QueryVisitorstart in class org.plasma.sdo.access.provider.common.TextQueryFilterAssembler
protected void assembleSubquery(org.plasma.query.model.Property property,
org.plasma.query.model.SubqueryOperator oper,
org.plasma.query.model.Query query)
assembleSubquery in class org.plasma.sdo.access.provider.common.TextQueryFilterAssembler
protected void processWildcardExpression(org.plasma.query.model.Property property,
org.plasma.query.model.WildcardOperator oper,
org.plasma.query.model.Literal literal)
processWildcardExpression in class org.plasma.sdo.access.provider.common.TextQueryFilterAssemblerpublic void start(org.plasma.query.model.Property property)
start in interface org.plasma.query.visitor.QueryVisitorstart in class org.plasma.query.visitor.DefaultQueryVisitorprotected void log(org.plasma.query.model.Where root)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||