- All Implemented Interfaces:
QtObjectInterface
Abstract interface for accessing data from specific SQL databases
Java wrapper for Qt class QSqlResult
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static enumJava wrapper for Qt enumQSqlResult::BindingSyntaxprotected static enumJava wrapper for Qt enumQSqlResult::VirtualHookOperation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidaddBindValue(Object val, QSql.ParamType type) protected final voidaddBindValue(Object val, QSql.ParamTypeFlag ... type) Overloaded function foraddBindValue(java.lang.Object, io.qt.sql.QSql.ParamType).protected final intat()protected final QSqlResult.BindingSyntaxprotected voidbindValue(int pos, Object val, QSql.ParamType type) protected final voidbindValue(int pos, Object val, QSql.ParamTypeFlag ... type) Overloaded function forbindValue(int, java.lang.Object, io.qt.sql.QSql.ParamType).protected voidbindValue(String placeholder, Object val, QSql.ParamType type) protected final voidbindValue(String placeholder, Object val, QSql.ParamTypeFlag ... type) Overloaded function forbindValue(java.lang.String, java.lang.Object, io.qt.sql.QSql.ParamType).protected final QSql.ParamTypebindValueType(int pos) protected final QSql.ParamTypebindValueType(String placeholder) protected final ObjectboundValue(int pos) protected final ObjectboundValue(String placeholder) protected final intprotected final StringboundValueName(int pos) protected final QStringListSeeQSqlResult::boundValues(Qt::Disambiguated_t) protected final voidclear()protected abstract Objectdata(int i) protected voidSeeQSqlResult::detachFromResultSet() protected final QSqlDriverdriver()protected booleanexec()protected final booleanOverloaded function forexecBatch(boolean)witharrayBind = false.protected booleanexecBatch(boolean arrayBind) SeeQSqlResult::execBatch(bool) protected final Stringprotected abstract booleanfetch(int i) protected abstract booleanprotected abstract booleanprotected booleanprotected booleanhandle()protected final booleanprotected final booleanisActive()protected final booleanprotected abstract booleanisNull(int i) protected final booleanSeeQSqlResult::isPositionalBindingEnabled()const protected final booleanisSelect()protected final booleanisValid()protected final QSqlErrorprotected Objectprotected final Stringprotected booleanSeeQSqlResult::nextResult() protected final QSql.NumericalPrecisionPolicySeeQSqlResult::numericalPrecisionPolicy()const protected abstract intprotected booleanprotected QSqlRecordrecord()protected abstract booleanprotected final voidprotected booleansavePrepare(String sqlquery) protected voidsetActive(boolean a) protected voidsetAt(int at) protected voidsetForwardOnly(boolean forward) protected voidprotected final voidOverloaded function forsetLastError(io.qt.sql.QSqlError).protected voidSeeQSqlResult::setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy) protected final voidsetPositionalBindingEnabled(boolean enable) SeeQSqlResult::setPositionalBindingEnabled(bool) protected voidprotected voidsetSelect(boolean s) protected abstract intsize()Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QSqlResult
- Parameters:
db-
-
-
Method Details
-
addBindValue
- Parameters:
val-type-
-
at
- Returns:
-
bindValueType
- Parameters:
placeholder-- Returns:
-
bindValueType
- Parameters:
pos-- Returns:
-
bindingSyntax
- Returns:
-
boundValue
- Parameters:
placeholder-- Returns:
-
boundValue
- Parameters:
pos-- Returns:
-
boundValueCount
- Returns:
-
boundValueName
- Parameters:
pos-- Returns:
-
boundValueNames
- Returns:
-
boundValues
See
QSqlResult::boundValues(Qt::Disambiguated_t) - Returns:
-
clear
-
driver
- Returns:
-
executedQuery
- Returns:
-
hasOutValues
- Returns:
-
isActive
- Returns:
-
isForwardOnly
- Returns:
-
isPositionalBindingEnabled
See
QSqlResult::isPositionalBindingEnabled()const - Returns:
-
isSelect
- Returns:
-
isValid
- Returns:
-
lastError
- Returns:
-
lastQuery
- Returns:
-
numericalPrecisionPolicy
See
QSqlResult::numericalPrecisionPolicy()const - Returns:
-
resetBindCount
-
setPositionalBindingEnabled
See
QSqlResult::setPositionalBindingEnabled(bool) - Parameters:
enable-
-
bindValue
- Parameters:
placeholder-val-type-
-
bindValue
- Parameters:
pos-val-type-
-
data
- Parameters:
i-- Returns:
-
detachFromResultSet
See
QSqlResult::detachFromResultSet() -
exec
- Returns:
-
execBatch
See
QSqlResult::execBatch(bool) - Parameters:
arrayBind-- Returns:
-
fetch
- Parameters:
i-- Returns:
-
fetchFirst
- Returns:
-
fetchLast
- Returns:
-
fetchNext
- Returns:
-
fetchPrevious
- Returns:
-
handle
- Returns:
-
isNull
- Parameters:
i-- Returns:
-
lastInsertId
- Returns:
-
nextResult
See
QSqlResult::nextResult() - Returns:
-
numRowsAffected
- Returns:
-
prepare
- Parameters:
query-- Returns:
-
record
- Returns:
-
reset
- Parameters:
sqlquery-- Returns:
-
savePrepare
- Parameters:
sqlquery-- Returns:
-
setActive
- Parameters:
a-
-
setAt
- Parameters:
at-
-
setForwardOnly
- Parameters:
forward-
-
setLastError
- Parameters:
e-
-
setNumericalPrecisionPolicy
See
QSqlResult::setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy) - Parameters:
policy-
-
setQuery
- Parameters:
query-
-
setSelect
- Parameters:
s-
-
size
- Returns:
-
addBindValue
Overloaded function for
addBindValue(java.lang.Object, io.qt.sql.QSql.ParamType). -
bindValue
@QtUninvokable protected final void bindValue(String placeholder, Object val, QSql.ParamTypeFlag ... type) Overloaded function for
bindValue(java.lang.String, java.lang.Object, io.qt.sql.QSql.ParamType). -
bindValue
Overloaded function for
bindValue(int, java.lang.Object, io.qt.sql.QSql.ParamType). -
execBatch
Overloaded function for
execBatch(boolean)witharrayBind = false. -
setLastError
Overloaded function for
setLastError(io.qt.sql.QSqlError).
-