public interface CqnLimit extends JSONizable
Modifier and Type | Method and Description |
---|---|
default void |
accept(CqnVisitor visitor) |
CqnValue |
limit()
Returns a
CqnValue representing the maximum number of entries to be
returned. |
Optional<CqnValue> |
offset()
Returns a
CqnValue representing the number of entries to be skipped. |
default Stream<CqnParameter> |
params() |
CqnValue |
rows()
Deprecated.
instead use
limit() |
long |
skip()
Returns
offset() as long. |
long |
top()
Returns
limit() as long. |
toJson
@Deprecated CqnValue rows()
limit()
CqnValue limit()
CqnValue
representing the maximum number of entries to be
returned.long top()
limit()
as long.ClassCastException
- if limit is not a numeric literalOptional<CqnValue> offset()
CqnValue
representing the number of entries to be skipped.long skip()
offset()
as long.ClassCastException
- if offset is not a numeric literaldefault void accept(CqnVisitor visitor)
default Stream<CqnParameter> params()
Copyright © 2020 SAP. All rights reserved.