Package io.trino.sql.tree
Class SkipTo
- java.lang.Object
-
- io.trino.sql.tree.Node
-
- io.trino.sql.tree.SkipTo
-
public class SkipTo extends Node
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSkipTo.Position
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(AstVisitor<R,C> visitor, C context)Accessible forAstVisitor, useAstVisitor.process(Node, Object)instead.booleanequals(Object o)List<? extends Node>getChildren()Optional<Identifier>getIdentifier()SkipTo.PositiongetPosition()inthashCode()booleanshallowEquals(Node other)Compare with another node by considering internal state excluding any Node returned by getChildren()static SkipToskipPastLastRow()static SkipToskipPastLastRow(NodeLocation location)static SkipToskipToFirst(Identifier identifier)static SkipToskipToFirst(NodeLocation location, Identifier identifier)static SkipToskipToLast(Identifier identifier)static SkipToskipToLast(NodeLocation location, Identifier identifier)static SkipToskipToNextRow()static SkipToskipToNextRow(NodeLocation location)StringtoString()-
Methods inherited from class io.trino.sql.tree.Node
getLocation
-
-
-
-
Method Detail
-
skipPastLastRow
public static SkipTo skipPastLastRow()
-
skipPastLastRow
public static SkipTo skipPastLastRow(NodeLocation location)
-
skipToNextRow
public static SkipTo skipToNextRow()
-
skipToNextRow
public static SkipTo skipToNextRow(NodeLocation location)
-
skipToFirst
public static SkipTo skipToFirst(Identifier identifier)
-
skipToFirst
public static SkipTo skipToFirst(NodeLocation location, Identifier identifier)
-
skipToLast
public static SkipTo skipToLast(Identifier identifier)
-
skipToLast
public static SkipTo skipToLast(NodeLocation location, Identifier identifier)
-
getPosition
public SkipTo.Position getPosition()
-
getIdentifier
public Optional<Identifier> getIdentifier()
-
accept
public <R,C> R accept(AstVisitor<R,C> visitor, C context)
Description copied from class:NodeAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead.
-
getChildren
public List<? extends Node> getChildren()
- Specified by:
getChildrenin classNode
-
shallowEquals
public boolean shallowEquals(Node other)
Description copied from class:NodeCompare with another node by considering internal state excluding any Node returned by getChildren()- Overrides:
shallowEqualsin classNode
-
-