|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.force.sdk.jpa.query.ExpressionBuilderHelper
public class ExpressionBuilderHelper
Helper class for building the WHERE clause in SOQL queries.
| Method Summary | |
|---|---|
void |
appendRelationship(org.datanucleus.metadata.AbstractClassMetaData colCmd,
int fieldNum,
ColumnImpl col,
String prefix,
boolean isQuery)
Appends a relationship via a join to this query builder. |
StringBuilder |
getBuilder()
|
org.datanucleus.query.expression.Expression |
getFilterExpression(String alias)
First looks in filter mappings cache for the filter expression associated with the given alias, else returns the expression from the compilation. |
boolean |
isJoinQuery()
check for whether the query is joined. |
boolean |
skipRelationship()
this method tells us whether to skip querying for relationship fields by comparing the current depth of the query to the maximum. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void appendRelationship(org.datanucleus.metadata.AbstractClassMetaData colCmd,
int fieldNum,
ColumnImpl col,
String prefix,
boolean isQuery)
colCmd - the class metadata of the relationship columnfieldNum - the field number of the relationship columncol - the column object for the relationship fieldprefix - the prefix to use for the joinisQuery - true if we're appending the relationship field but not all of the fields of the related objectpublic StringBuilder getBuilder()
public boolean isJoinQuery()
public org.datanucleus.query.expression.Expression getFilterExpression(String alias)
alias - the alias of the queried object
public boolean skipRelationship()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||