java.lang.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 class QSqlResult
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static enum
Java wrapper for Qt enumQSqlResult::BindingSyntax
protected static enum
Java wrapper for Qt enumQSqlResult::VirtualHookOperation
-
Constructor Summary
-
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
SeeQSqlResult::
detachFromResultSet() protected final QSqlDriver
driver()
protected boolean
exec()
protected final boolean
Overloaded function forexecBatch(boolean)
witharrayBind = false
.protected boolean
execBatch
(boolean arrayBind) SeeQSqlResult::
execBatch(bool) 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
SeeQSqlResult::
nextResult() protected final QSql.NumericalPrecisionPolicy
SeeQSqlResult::
numericalPrecisionPolicy()const 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 final void
Overloaded function forsetLastError(io.qt.sql.QSqlError)
.protected void
SeeQSqlResult::
setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy) protected void
protected void
setSelect
(boolean s) protected abstract int
size()
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:
-
boundValues
- Returns:
-
clear
-
driver
- Returns:
-
executedQuery
- Returns:
-
hasOutValues
- Returns:
-
isActive
- Returns:
-
isForwardOnly
- Returns:
-
isSelect
- Returns:
-
isValid
- Returns:
-
lastError
- Returns:
-
lastQuery
- Returns:
-
numericalPrecisionPolicy
See
QSqlResult::
numericalPrecisionPolicy()const - Returns:
-
resetBindCount
-
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)
.
-