public final class RoutineAliases extends Object
DlineageUtil.getProcedureNameWithArgs, getProcedureNameWithArgNum,
getProcedureNameWithInputArgNum, getFunctionNameWithArgNum): the suffix is raw text, and a vendor
without overloading, or a missing parameter or argument list, has none (null).| Modifier and Type | Method and Description |
|---|---|
static String |
argumentCount(TStoredProcedureSqlStatement stmt,
EDbVendor vendor)
(n): the number of parameters. |
static String |
argumentTypes(TStoredProcedureSqlStatement stmt,
EDbVendor vendor)
(type,type): each parameter's data type name as written, empty for a parameter without one. |
static String |
callArgumentCount(TFunctionCall call,
EDbVendor vendor)
(n): the number of arguments of a call. |
static String |
count(int n) |
static String |
countIfOverloads(int n,
EDbVendor vendor)
(n) for a vendor that overloads, null otherwise: a count the caller already knows applies. |
static String |
inputArgumentCount(TStoredProcedureSqlStatement stmt,
EDbVendor vendor)
(n): the number of IN parameters, or of all parameters when none is IN. |
public static String argumentTypes(TStoredProcedureSqlStatement stmt, EDbVendor vendor)
(type,type): each parameter's data type name as written, empty for a parameter without one.public static String argumentCount(TStoredProcedureSqlStatement stmt, EDbVendor vendor)
(n): the number of parameters.public static String inputArgumentCount(TStoredProcedureSqlStatement stmt, EDbVendor vendor)
(n): the number of IN parameters, or of all parameters when none is IN.public static String callArgumentCount(TFunctionCall call, EDbVendor vendor)
(n): the number of arguments of a call.public static String countIfOverloads(int n, EDbVendor vendor)
(n) for a vendor that overloads, null otherwise: a count the caller already knows applies.