public class StringAndPos extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
cursor |
SqlParserPos |
pos |
String |
sql |
| Modifier and Type | Method and Description |
|---|---|
String |
addCarets() |
static StringAndPos |
of(String sql)
Looks for one or two carets in a SQL string, and if present, converts
them into a parser position.
|
public final String sql
public final int cursor
public final SqlParserPos pos
public static StringAndPos of(String sql)
Examples:
public String addCarets()
Copyright © 2012-2020 Apache Software Foundation. All Rights Reserved.