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