java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.sql.QSqlRecord
io.qt.sql.QSqlIndex
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QSqlIndex extends QSqlRecord implements Cloneable
Functions to manipulate and describe database indexes
Java wrapper for Qt class QSqlIndex
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QSqlIndex()
Overloaded constructor forQSqlIndex(java.lang.String, java.lang.String)
protected
QSqlIndex(QtObject.QPrivateConstructor p)
Constructor for internal use only.QSqlIndex(QSqlIndex other)
QSqlIndex(String cursorName)
Overloaded constructor forQSqlIndex(java.lang.String, java.lang.String)
withname = ""
.QSqlIndex(String cursorName, String name)
-
Method Summary
Modifier and Type Method Description void
append(QSqlField field)
void
append(QSqlField field, boolean desc)
QSqlIndex
clone()
String
cursorName()
boolean
isDescending(int i)
String
name()
void
setCursorName(String cursorName)
void
setDescending(int i, boolean desc)
void
setName(String name)
Methods inherited from class io.qt.sql.QSqlRecord
clear, clearValues, contains, count, equals, field, field, fieldName, hashCode, indexOf, insert, isEmpty, isGenerated, isGenerated, isNull, isNull, keyValues, remove, replace, setGenerated, setGenerated, setNull, setNull, setValue, setValue, toString, value, value
-
Constructor Details
-
QSqlIndex
-
QSqlIndex
Overloaded constructor for
QSqlIndex(java.lang.String, java.lang.String)
withname = ""
. -
QSqlIndex
public QSqlIndex()Overloaded constructor for
QSqlIndex(java.lang.String, java.lang.String)
with:
cursorName = ""
name = ""
-
QSqlIndex
-
QSqlIndex
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
append
- Overrides:
append
in classQSqlRecord
-
append
-
cursorName
-
isDescending
-
name
-
setCursorName
-
setDescending
-
setName
-
clone
- Overrides:
clone
in classQSqlRecord
-