Package io.trino.sql.tree
Class FetchFirst
java.lang.Object
io.trino.sql.tree.Node
io.trino.sql.tree.FetchFirst
-
Constructor Summary
ConstructorsConstructorDescriptionFetchFirst(Expression rowCount) FetchFirst(Expression rowCount, boolean withTies) FetchFirst(Optional<Expression> rowCount) FetchFirst(Optional<Expression> rowCount, boolean withTies) FetchFirst(Optional<NodeLocation> location, Optional<Expression> rowCount, boolean withTies) -
Method Summary
Modifier and TypeMethodDescription<R,C> R accept(AstVisitor<R, C> visitor, C context) Accessible forAstVisitor, useAstVisitor.process(Node, Object)instead.booleaninthashCode()booleanbooleanshallowEquals(Node other) Compare with another node by considering internal state excluding any Node returned by getChildren()toString()Methods inherited from class io.trino.sql.tree.Node
getLocation
-
Constructor Details
-
FetchFirst
-
FetchFirst
-
FetchFirst
-
FetchFirst
-
FetchFirst
-
-
Method Details
-
getRowCount
-
isWithTies
public boolean isWithTies() -
accept
Description copied from class:NodeAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead. -
getChildren
- Specified by:
getChildrenin classNode
-
equals
-
hashCode
public int hashCode() -
toString
-
shallowEquals
Description copied from class:NodeCompare with another node by considering internal state excluding any Node returned by getChildren()- Overrides:
shallowEqualsin classNode
-