use of org.apache.cayenne.dba.mysql.sqltree.MysqlLimitOffsetNode in project cayenne by apache.
the class DB2SQLTreeProcessor method onLimitOffsetNode.
@Override
protected void onLimitOffsetNode(Node parent, LimitOffsetNode child, int index) {
Node replacement = new MysqlLimitOffsetNode(child.getLimit(), child.getOffset());
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)
MysqlLimitOffsetNode(org.apache.cayenne.dba.mysql.sqltree.MysqlLimitOffsetNode)