Class Slice

    • Constructor Detail

      • Slice

        public Slice()
      • Slice

        public Slice​(TupleExpr arg,
                     long offset2,
                     long limit2)
    • Method Detail

      • getOffset

        public long getOffset()
      • setOffset

        public void setOffset​(long offset)
      • hasOffset

        public boolean hasOffset()
        Checks whether the row selection has a (valid) offset.
        Returns:
        true when offset > 0
      • getLimit

        public long getLimit()
      • setLimit

        public void setLimit​(long limit)
      • hasLimit

        public boolean hasLimit()
        Checks whether the row selection has a (valid) limit.
        Returns:
        true when offset >= 0
      • clone

        public Slice clone()
        Description copied from interface: QueryModelNode
        Returns a (deep) clone of this query model node. This method recursively clones the entire node tree, starting from this nodes.
        Specified by:
        clone in interface QueryModelNode
        Specified by:
        clone in interface TupleExpr
        Overrides:
        clone in class UnaryTupleOperator
        Returns:
        A deep clone of this query model node.