Class OffsetLimit
java.lang.Object
org.apache.druid.sql.calcite.planner.OffsetLimit
Represents an offset and a limit.
-
Method Summary
Modifier and TypeMethodDescriptionandThen(OffsetLimit next) Return a new instance that represents applying this one first, then the one.booleanstatic OffsetLimitfromSort(org.apache.calcite.rel.core.Sort sort) longgetLimit()org.apache.calcite.rex.RexNodegetLimitAsRexNode(org.apache.calcite.rex.RexBuilder builder) longorg.apache.calcite.rex.RexNodegetOffsetAsRexNode(org.apache.calcite.rex.RexBuilder builder) inthashCode()booleanhasLimit()booleanbooleanisNone()static OffsetLimitnone()toString()
-
Method Details
-
none
-
fromSort
-
hasOffset
public boolean hasOffset() -
getOffset
public long getOffset() -
hasLimit
public boolean hasLimit() -
isNone
public boolean isNone() -
getLimit
public long getLimit() -
getOffsetAsRexNode
@Nullable public org.apache.calcite.rex.RexNode getOffsetAsRexNode(org.apache.calcite.rex.RexBuilder builder) -
getLimitAsRexNode
@Nullable public org.apache.calcite.rex.RexNode getLimitAsRexNode(org.apache.calcite.rex.RexBuilder builder) -
andThen
Return a new instance that represents applying this one first, then the one. -
equals
-
hashCode
public int hashCode() -
toString
-
toOperatorOffsetLimit
-