Search in sources :

Example 1 with DerbyValueNode

use of org.apache.cayenne.dba.derby.sqltree.DerbyValueNode in project cayenne by apache.

the class DB2SQLTreeProcessor method onValueNode.

@Override
protected void onValueNode(Node parent, ValueNode child, int index) {
    Node replacement = new DerbyValueNode(child.getValue(), child.isArray(), child.getAttribute());
    replaceChild(parent, index, replacement, false);
}
Also used : ValueNode(org.apache.cayenne.access.sqlbuilder.sqltree.ValueNode) MysqlLimitOffsetNode(org.apache.cayenne.dba.mysql.sqltree.MysqlLimitOffsetNode) ColumnNode(org.apache.cayenne.access.sqlbuilder.sqltree.ColumnNode) Node(org.apache.cayenne.access.sqlbuilder.sqltree.Node) OpExpressionNode(org.apache.cayenne.access.sqlbuilder.sqltree.OpExpressionNode) FunctionNode(org.apache.cayenne.access.sqlbuilder.sqltree.FunctionNode) LimitOffsetNode(org.apache.cayenne.access.sqlbuilder.sqltree.LimitOffsetNode) DerbyValueNode(org.apache.cayenne.dba.derby.sqltree.DerbyValueNode) TrimmingColumnNode(org.apache.cayenne.access.sqlbuilder.sqltree.TrimmingColumnNode) DerbyValueNode(org.apache.cayenne.dba.derby.sqltree.DerbyValueNode)

Aggregations

ColumnNode (org.apache.cayenne.access.sqlbuilder.sqltree.ColumnNode)1 FunctionNode (org.apache.cayenne.access.sqlbuilder.sqltree.FunctionNode)1 LimitOffsetNode (org.apache.cayenne.access.sqlbuilder.sqltree.LimitOffsetNode)1 Node (org.apache.cayenne.access.sqlbuilder.sqltree.Node)1 OpExpressionNode (org.apache.cayenne.access.sqlbuilder.sqltree.OpExpressionNode)1 TrimmingColumnNode (org.apache.cayenne.access.sqlbuilder.sqltree.TrimmingColumnNode)1 ValueNode (org.apache.cayenne.access.sqlbuilder.sqltree.ValueNode)1 DerbyValueNode (org.apache.cayenne.dba.derby.sqltree.DerbyValueNode)1 MysqlLimitOffsetNode (org.apache.cayenne.dba.mysql.sqltree.MysqlLimitOffsetNode)1