| Package | Description |
|---|---|
| org.apache.calcite.sql.parser |
Provides a SQL parser.
|
| Modifier and Type | Method and Description |
|---|---|
Span |
Span.add(SqlAbstractParserImpl parser)
Adds the position of the last token emitted by a parser to the list,
and returns this Span.
|
Span |
Span.add(SqlNode n)
Adds a node's position to the list,
and returns this Span.
|
Span |
Span.add(SqlParserPos pos)
Adds a position to the list,
and returns this Span.
|
Span |
Span.addAll(Iterable<? extends SqlNode> nodes)
Adds the positions of a collection of nodes to the list,
and returns this Span.
|
Span |
Span.addIf(SqlNode n)
Adds a node's position to the list if the node is not null,
and returns this Span.
|
Span |
Span.clear()
Clears the contents of this Span, and returns this Span.
|
static Span |
Span.of()
Creates an empty Span.
|
static Span |
Span.of(Collection<? extends SqlNode> nodes)
Creates a Span of a list of nodes.
|
static Span |
Span.of(SqlNode n)
Creates a Span of one node.
|
static Span |
Span.of(SqlNode n0,
SqlNode n1)
Creates a Span between two nodes.
|
static Span |
Span.of(SqlParserPos p)
Creates a Span with one position.
|
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.