Package org.apache.cayenne.access.sqlbuilder.sqltree

# Class LimitOffsetNode

java.lang.Object
org.apache.cayenne.access.sqlbuilder.sqltree.Node
org.apache.cayenne.access.sqlbuilder.sqltree.LimitOffsetNode

Direct Known Subclasses:
  `MysqlLimitOffsetNode`, `OffsetFetchNextNode`, `PostgresLimitOffsetNode`, `SQLServerLimitOffsetNode`

public class LimitOffsetNode extends Node

Since:
  4.2

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected final int`
  `limit`
  `protected final int`
  `offset`

  ### Fields inherited from class org.apache.cayenne.access.sqlbuilder.sqltree.Node

  `children, childrenCount, parent, type`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LimitOffsetNode(int limit, int offset)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `QuotingAppendable`
  `append(QuotingAppendable buffer)`
  `Node`
  `copy()`
  `int`
  `getLimit()`
  `int`
  `getOffset()`

  ### Methods inherited from class org.apache.cayenne.access.sqlbuilder.sqltree.Node

  `addChild, addChild, appendChildrenEnd, appendChildrenSeparator, appendChildrenStart, deepCopy, getChild, getChildrenCount, getParent, getType, replaceChild, setParent, toString, visit`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### limit

    protected final int limit

  - ### offset

    protected final int offset

- ## Constructor Details

  - ### LimitOffsetNode

    public LimitOffsetNode(int limit, int offset)

- ## Method Details

  - ### append

    public QuotingAppendable append(QuotingAppendable buffer)
    Specified by:
      `append` in class `Node`

  - ### getLimit

    public int getLimit()

  - ### getOffset

    public int getOffset()

  - ### copy

    public Node copy()
    Specified by:
      `copy` in class `Node`