Package com.sap.cds.impl.sql
Class TokenToSQLTransformer
java.lang.Object
com.sap.cds.impl.sql.TokenToSQLTransformer
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTokenToSQLTransformer(Context context, List<PreparedCqnStmt.Parameter> params, Ref2Column aliasResolver, Deque<QatSelectableNode> outer, Map<String, CTE> ctes, boolean ctesInSubqueries, Collator collator) -
Method Summary
Modifier and TypeMethodDescriptionstatic TokenToSQLTransformernotCollating(Context context, Ref2Column aliasResolver, CqnSelect query, CdsStructuredType rowType, List<PreparedCqnStmt.Parameter> params) static TokenToSQLTransformernotCollating(Context context, Ref2Column aliasResolver, CdsEntity entity, String tableName, List<PreparedCqnStmt.Parameter> params) static TokenToSQLTransformernotCollating(Context context, List<PreparedCqnStmt.Parameter> params, Ref2Column aliasResolver, Deque<QatSelectableNode> outer) selectColumn(CqnValue value) sortSpec(CqnSortSpecification sortSpec) toSQL(CqnPredicate pred) toSQL(CdsStructuredType rowType, CqnPredicate pred)
-
Field Details
-
SQL_TRUE
- See Also:
-
SQL_FALSE
- See Also:
-
-
Constructor Details
-
TokenToSQLTransformer
public TokenToSQLTransformer(Context context, List<PreparedCqnStmt.Parameter> params, Ref2Column aliasResolver, Deque<QatSelectableNode> outer, Map<String, CTE> ctes, boolean ctesInSubqueries, Collator collator)
-
-
Method Details
-
notCollating
public static TokenToSQLTransformer notCollating(Context context, List<PreparedCqnStmt.Parameter> params, Ref2Column aliasResolver, Deque<QatSelectableNode> outer) -
notCollating
public static TokenToSQLTransformer notCollating(Context context, Ref2Column aliasResolver, CdsEntity entity, String tableName, List<PreparedCqnStmt.Parameter> params) -
notCollating
public static TokenToSQLTransformer notCollating(Context context, Ref2Column aliasResolver, CqnSelect query, CdsStructuredType rowType, List<PreparedCqnStmt.Parameter> params) -
toSQL
-
toSQL
-
selectColumn
-
orderBy
-
sortSpec
-
apply
-