public static final class SqllrSnapshot.Call extends Object
| Modifier and Type | Method and Description |
|---|---|
SqllrSnapshot.Anchor |
getAnchor() |
int |
getArguments()
The number of arguments, or -1 when the call has no argument list.
|
List<SqllrSnapshot.Anchor> |
getConditions()
For a CASE: the operand of a simple CASE, then each WHEN condition, in order.
|
SqllrSnapshot.Token |
getNameToken()
The token of the function's own name (its part token, else its object token), or null.
|
String |
getVendor() |
boolean |
isQualified()
Whether the function name is written with a qualifier (schema, database, server or package).
|
boolean |
isStarArgument()
Whether the only argument is a wildcard (
COUNT(*)), decided by its token type. |
boolean |
isWindowed()
Whether the call has an OVER clause.
|
void |
write(StringBuilder out) |
public SqllrSnapshot.Anchor getAnchor()
public SqllrSnapshot.Token getNameToken()
public boolean isQualified()
public boolean isWindowed()
public int getArguments()
public boolean isStarArgument()
COUNT(*)), decided by its token type.public List<SqllrSnapshot.Anchor> getConditions()
public void write(StringBuilder out)