java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.sql.QSqlResult
- All Implemented Interfaces:
QtObjectInterface
Abstract interface for accessing data from specific SQL databases
Java wrapper for Qt's class QSqlResult
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static enum
Java wrapper for Qt enum QSqlResult::BindingSyntaxprotected static enum
Java wrapper for Qt enum QSqlResult::VirtualHookOperationNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only.protected
QSqlResult
(QSqlDriver db) -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
addBindValue
(Object val, QSql.ParamType type) protected final void
addBindValue
(Object val, QSql.ParamTypeFlag... type) Overloaded function foraddBindValue(java.lang.Object, io.qt.sql.QSql.ParamType)
.protected final int
at()
protected final QSqlResult.BindingSyntax
protected void
bindValue
(int pos, Object val, QSql.ParamType type) protected final void
bindValue
(int pos, Object val, QSql.ParamTypeFlag... type) Overloaded function forbindValue(int, java.lang.Object, io.qt.sql.QSql.ParamType)
.protected void
bindValue
(String placeholder, Object val, QSql.ParamType type) protected final void
bindValue
(String placeholder, Object val, QSql.ParamTypeFlag... type) Overloaded function forbindValue(java.lang.String, java.lang.Object, io.qt.sql.QSql.ParamType)
.protected final QSql.ParamType
bindValueType
(int pos) protected final QSql.ParamType
bindValueType
(String placeholder) protected final Object
boundValue
(int pos) protected final Object
boundValue
(String placeholder) protected final int
protected final String
boundValueName
(int pos) protected final void
clear()
protected abstract Object
data
(int i) protected void
protected final QSqlDriver
driver()
protected boolean
exec()
protected final boolean
Overloaded function forexecBatch(boolean)
witharrayBind = false
.protected boolean
execBatch
(boolean arrayBind) protected final String
protected abstract boolean
fetch
(int i) protected abstract boolean
protected abstract boolean
protected boolean
protected boolean
handle()
protected final boolean
protected final boolean
isActive()
protected final boolean
protected abstract boolean
isNull
(int i) protected final boolean
isSelect()
protected final boolean
isValid()
protected final QSqlError
protected Object
protected final String
protected boolean
protected final QSql.NumericalPrecisionPolicy
protected abstract int
protected boolean
protected QSqlRecord
record()
protected abstract boolean
protected final void
protected boolean
savePrepare
(String sqlquery) protected void
setActive
(boolean a) protected void
setAt
(int at) protected void
setForwardOnly
(boolean forward) protected void
protected void
protected void
protected void
setSelect
(boolean s) protected abstract int
size()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QSqlResult
-
QSqlResult
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addBindValue
Overloaded function for
addBindValue(java.lang.Object, io.qt.sql.QSql.ParamType)
. -
addBindValue
-
at
-
bindValueType
-
bindValueType
-
bindingSyntax
-
boundValue
-
boundValue
-
boundValueCount
-
boundValueName
-
boundValues
-
clear
-
driver
-
executedQuery
-
hasOutValues
-
isActive
-
isForwardOnly
-
isSelect
-
isValid
-
lastError
-
lastQuery
-
numericalPrecisionPolicy
-
resetBindCount
-
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
-
bindValue
Overloaded function for
bindValue(int, java.lang.Object, io.qt.sql.QSql.ParamType)
. -
bindValue
-
data
-
detachFromResultSet
-
exec
-
execBatch
Overloaded function for
execBatch(boolean)
witharrayBind = false
. -
execBatch
-
fetch
-
fetchFirst
-
fetchLast
-
fetchNext
-
fetchPrevious
-
handle
-
isNull
-
lastInsertId
-
nextResult
-
numRowsAffected
-
prepare
-
record
-
reset
-
savePrepare
-
setActive
-
setAt
-
setForwardOnly
-
setLastError
-
setNumericalPrecisionPolicy
-
setQuery
-
setSelect
-
size
-