MariaDbCallableStatement
classin packageklyn.databases.sql.mariadb
public class MariaDbCallableStatement extends MariaDbPreparedStatement implements CallableStatement:
└ MariaDbCallableStatement
All Implemented Interfaces: CallableStatement
MariaDB callable statement. Output parameters are mapped to session variables and fetched after the `CALL` completes.
import klyn.databases.sql.mariadb

# call = connection.callable("{ call ping() }")
Properties
Modifier and Type Member Description
public readonly property outParameters
outParameters as Map<Int, Int>:
No summary.
public readonly property outValues
outValues as Map<Int, Object>:
No summary.
Properties inherited from MariaDbPreparedStatement: parameterInfo, parameters, sql
Properties inherited from CallableStatement: outParameters, outValues
Properties inherited from PreparedStatement: parameterInfo, parameters, sql
Properties inherited from Statement: batchSize, closeOnCompletion, closed, concurrency, connection, cursorName, escapeProcessing, fetchDirection, fetchSize, generatedKeys, holdability, largeMaxRows, maxFieldSize, maxRows, poolable, queryTimeoutSeconds, resultSetType, warning
Methods
Modifier and Type Member Description
public override execute
execute() as Boolean throws SQLException:
No summary.
public override execute
execute(sql as String) as Boolean throws SQLException:
No summary.
public override executeQuery
executeQuery(sql as String) as ResultSet throws SQLException:
No summary.
public override executeUpdate
executeUpdate(sql as String) as Int throws SQLException:
No summary.
public getBoolean
getBoolean(index as Int) as Boolean throws SQLException:
No summary.
public getDouble
getDouble(index as Int) as Double throws SQLException:
No summary.
public getInt
getInt(index as Int) as Int throws SQLException:
No summary.
public getLong
getLong(index as Int) as Long throws SQLException:
No summary.
public getObject
getObject(index as Int) as Object throws SQLException:
No summary.
public getString
getString(index as Int) as String throws SQLException:
No summary.
public out
out(index as Int, sqlType as Int, scale as Int = 0) as CallableStatement throws SQLException:
No summary.
public override query
query() as ResultSet throws SQLException:
No summary.
public override query
query(sql as String) as ResultSet throws SQLException:
No summary.
public registerOutParameter
registerOutParameter(index as Int, sqlType as Int, scale as Int = 0) as CallableStatement throws SQLException:
No summary.
public override update
update() as Long throws SQLException:
No summary.
public override update
update(sql as String) as Long throws SQLException:
No summary.
public wasNull
wasNull() as Boolean throws SQLException:
No summary.
Methods inherited from MariaDbPreparedStatement: bind, bindBoolean, bindDouble, bindInt, bindLong, bindNull, bindString, clearParameters, execute, query, update
Methods inherited from CallableStatement: getBoolean, getDouble, getInt, getLong, getObject, getString, out, registerOutParameter, wasNull
Methods inherited from PreparedStatement: bind, bindBoolean, bindDouble, bindInt, bindLong, bindNull, bindString, clearParameters, execute, query, update
Methods inherited from Statement: addBatch, clearBatch, clearWarnings, execute, executeBatch, executeQuery, executeUpdate, query, update
Methods inherited from AutoClosable: close