java.lang.Object
io.qt.QtObject
io.qt.sql.QSqlRecord
io.qt.sql.QSqlIndex
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Functions to manipulate and describe database indexes
Java wrapper for Qt class QSqlIndex
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ConstructorDescriptionOverloaded constructor forQSqlIndex(java.lang.String, java.lang.String)
Overloaded constructor forQSqlIndex(java.lang.String, java.lang.String)
withname = (String)null
. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final void
final void
clone()
Creates and returns a copy of this object.final String
final boolean
isDescending
(int i) final String
name()
final void
setCursorName
(String cursorName) final void
setDescending
(int i, boolean desc) final void
final void
SeeQSqlIndex::
swap(QSqlIndex&) Methods inherited from class io.qt.sql.QSqlRecord
assign, clear, clearValues, contains, count, equals, equals, field, field, fieldName, hashCode, indexOf, insert, isEmpty, isGenerated, isGenerated, isNull, isNull, keyValues, remove, replace, setGenerated, setGenerated, setNull, setNull, setValue, setValue, swap, toString, value, value
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QSqlIndex
- Parameters:
other
-
-
QSqlIndex
- Parameters:
cursorName
-name
-
-
QSqlIndex
Overloaded constructor for
QSqlIndex(java.lang.String, java.lang.String)
withname = (String)null
. -
QSqlIndex
public QSqlIndex()Overloaded constructor for
QSqlIndex(java.lang.String, java.lang.String)
with:
cursorName = (String)null
name = (String)null
-
-
Method Details
-
append
- Overrides:
append
in classQSqlRecord
- Parameters:
field
-
-
append
- Parameters:
field
-desc
-
-
cursorName
- Returns:
-
isDescending
- Parameters:
i
-- Returns:
-
name
- Returns:
-
assign
- Parameters:
other
-
-
setCursorName
- Parameters:
cursorName
-
-
setDescending
- Parameters:
i
-desc
-
-
setName
- Parameters:
name
-
-
swap
See
QSqlIndex::
swap(QSqlIndex&) - Parameters:
other
-
-
clone
Creates and returns a copy of this object.
- Overrides:
clone
in classQSqlRecord
-