public final class BindingSource extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BindingSource.Kind |
| Modifier and Type | Field and Description |
|---|---|
static BindingSource |
NONE
The procedure evaluated on its own.
|
| Modifier and Type | Method and Description |
|---|---|
BindingSource |
alsoAt(BindingSource other)
This binding, also supplied by
other (two calls with the same values): the same values, a description
that names both. |
static BindingSource |
crossFile(String callerUnit,
long callerLine,
String bindingHash)
Bindings a call of the procedure in another unit of the analysis supplied.
|
static BindingSource |
crossFile(String callerUnit,
long callerLine,
String bindingHash,
String routine,
boolean mayNotRun)
crossFile(String, long, String) for a call in the body of routine, or one that may not run. |
static BindingSource |
explicit(String bindingHash)
Bindings the caller of the explicit API supplied.
|
String |
getBindingHash()
A digest of the bound values; null for
BindingSource.Kind.NONE. |
long |
getCallerLine()
The line of the call, for
BindingSource.Kind.SAME_FILE and BindingSource.Kind.CROSS_FILE; -1 otherwise. |
String |
getCallerUnit()
The analysis unit of the call, for
BindingSource.Kind.CROSS_FILE; null otherwise. |
String |
getDescription()
What a site's diagnostic says of the binding; null for
BindingSource.Kind.NONE. |
BindingSource.Kind |
getKind() |
static BindingSource |
preset(String routine,
String bindingHash)
Values preset in the catalog for the parameters of
routine (TSQLEnv, metadata JSON). |
static BindingSource |
sameFile(long callerLine,
String bindingHash)
Bindings a call of the procedure in its own file supplied.
|
static BindingSource |
sameFile(long callerLine,
String bindingHash,
String routine,
boolean mayNotRun)
sameFile(long, String) for a call in the body of routine (null: in a batch), which may not run
on the path its values come from when mayNotRun (Mantis 4962). |
String |
toString() |
public static final BindingSource NONE
public static BindingSource explicit(String bindingHash)
public static BindingSource preset(String routine, String bindingHash)
routine (TSQLEnv, metadata JSON).public static BindingSource sameFile(long callerLine, String bindingHash)
public static BindingSource crossFile(String callerUnit, long callerLine, String bindingHash)
public static BindingSource sameFile(long callerLine, String bindingHash, String routine, boolean mayNotRun)
sameFile(long, String) for a call in the body of routine (null: in a batch), which may not run
on the path its values come from when mayNotRun (Mantis 4962).public static BindingSource crossFile(String callerUnit, long callerLine, String bindingHash, String routine, boolean mayNotRun)
crossFile(String, long, String) for a call in the body of routine, or one that may not run.public BindingSource alsoAt(BindingSource other)
other (two calls with the same values): the same values, a description
that names both.public BindingSource.Kind getKind()
public String getCallerUnit()
BindingSource.Kind.CROSS_FILE; null otherwise.public long getCallerLine()
BindingSource.Kind.SAME_FILE and BindingSource.Kind.CROSS_FILE; -1 otherwise.public String getBindingHash()
BindingSource.Kind.NONE.public String getDescription()
BindingSource.Kind.NONE.