public interface StoredProcedureExecutor
Modifier and Type | Field and Description |
---|---|
static int |
LOG_DEBUG
'Debug' log level
|
static int |
LOG_ERROR
'Error' log level
|
static int |
LOG_FATAL
'Fatal' log level
|
static int |
LOG_INFO
'Info' log level
|
static int |
LOG_TRACE
'Trace' log level
|
static int |
LOG_WARN
'Warn' log level
|
Modifier and Type | Method and Description |
---|---|
StoredProcedureResultSet |
call(String accessName,
Object[] inputValues,
com.denodo.vdb.misc.IContext context)
Method which executes the stored procedure.
|
void |
close()
Deprecated.
This method will be removed in future versions because it is not used.
|
int |
getNumOfAffectedRows()
Obtains the number of rows in the database which have been written,
deleted or modified.
|
StoredProcedureParameter[] |
getParameters()
Obtains the stored procedure parameter description.
|
StoredProcedureResultSet |
getProcedureResultSet()
Obtains the execution result of the stored procedure.
|
static final int LOG_TRACE
static final int LOG_DEBUG
static final int LOG_INFO
static final int LOG_WARN
static final int LOG_ERROR
static final int LOG_FATAL
@Deprecated void close()
int getNumOfAffectedRows()
StoredProcedureResultSet getProcedureResultSet()
StoredProcedureParameter[] getParameters()
StoredProcedureParameter
object. A StoredProcedureParameter object specifies the name, type, direction (input
and/or output) and “nullability” of a parameter (if the parameter accepts a null
as
value or not).null
. If the procedure
does not have input nor output parameters, it has to return an empty array.StoredProcedureResultSet call(String accessName, Object[] inputValues, com.denodo.vdb.misc.IContext context) throws StoredProcedureException
accessName
- the name of the procedure access.inputValues
- the input parameters of the procedure.context
- the execution context.StoredProcedureException
- if there is some error executing the
procedure.Copyright © 2024 Denodo Technologies. All rights reserved.