public class StoredProcedureParameter extends Object implements com.denodo.vdb.catalog.view.EquivalenceVerifiable
| Modifier and Type | Field and Description |
|---|---|
static int |
DIRECTION_IN
Input parameter.
|
static int |
DIRECTION_INOUT
Input/output parameter.
|
static int |
DIRECTION_OUT
Output parameter.
|
| Constructor and Description |
|---|
StoredProcedureParameter(String name,
int type,
int direction)
Creates a new StoredProcedureParameter.
|
StoredProcedureParameter(String name,
int type,
int direction,
boolean nullable)
Creates a new StoredProcedureParameter.
|
StoredProcedureParameter(String name,
int type,
int direction,
boolean nullable,
StoredProcedureParameter[] columns)
Creates a new StoredProcedureParameter.
|
StoredProcedureParameter(String name,
int type,
int direction,
StoredProcedureParameter[] columns)
Creates a new StoredProcedureParameter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equivalent(com.denodo.vdb.catalog.view.EquivalenceVerifiable obj) |
StoredProcedureParameter[] |
getColumns()
Obtains the columns of the parameter.
|
int |
getDirection()
Obtains the direction of the parameter, indicating if the value must
be provided or it is generated by the procedure.
|
String |
getName()
Obtains the name of the parameter.
|
int |
getType()
Obtains the type of the parameter.
|
boolean |
isNullable()
Determines if the parameter is nullable.
|
String |
toString() |
public static final int DIRECTION_IN
public static final int DIRECTION_OUT
public static final int DIRECTION_INOUT
public StoredProcedureParameter(String name, int type, int direction)
name - the name of the parameter.type - the type of the parameter, from Types.direction - the direction of the parameter, indicating if the value must
be provided or it is generated by the procedure. Should be one of these:
DIRECTION_IN, DIRECTION_OUT or DIRECTION_INOUTpublic StoredProcedureParameter(String name, int type, int direction, boolean nullable)
name - the name of the parameter.type - the type of the parameter, from Types.direction - the direction of the parameter, indicating if the value must
be provided or it is generated by the procedure. Should be one of these:
DIRECTION_IN, DIRECTION_OUT or DIRECTION_INOUTnullable - indicates if a NULL value can be specified for this parameterpublic StoredProcedureParameter(String name, int type, int direction, StoredProcedureParameter[] columns)
name - the name of the parameter.type - the type of the parameter, from Types.direction - the direction of the parameter, indicating if the value must
be provided or it is generated by the procedure. Should be one of these:
DIRECTION_IN, DIRECTION_OUT or DIRECTION_INOUTcolumns - if the parameter is register or array, specifies its
subfields.public StoredProcedureParameter(String name, int type, int direction, boolean nullable, StoredProcedureParameter[] columns)
name - the name of the parameter.type - the type of the parameter, from Types.direction - the direction of the parameter, indicating if the value must
be provided or it is generated by the procedure. Should be one of these:
DIRECTION_IN, DIRECTION_OUT or DIRECTION_INOUTnullable - indicates if a NULL value can be specified for this parametercolumns - if the parameter is register or array, specifies its
subfields.public StoredProcedureParameter[] getColumns()
public int getDirection()
DIRECTION_IN,
DIRECTION_OUT or DIRECTION_INOUTpublic String getName()
public int getType()
Typespublic boolean isNullable()
true if the parameter is nullable, false
otherwise.public String toString()
toString in class ObjectObject.toString()public boolean equivalent(com.denodo.vdb.catalog.view.EquivalenceVerifiable obj)
equivalent in interface com.denodo.vdb.catalog.view.EquivalenceVerifiableCopyright © 2024 Denodo Technologies. All rights reserved.