|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tmatesoft.sqljet.core.internal.table.SqlJetCursor
org.tmatesoft.sqljet.core.internal.table.SqlJetRowNumCursor
org.tmatesoft.sqljet.core.internal.table.SqlJetTableDataCursor
org.tmatesoft.sqljet.core.internal.table.SqlJetIndexOrderCursor
org.tmatesoft.sqljet.core.internal.table.SqlJetIndexScopeCursor
public class SqlJetIndexScopeCursor
Field Summary |
---|
Fields inherited from class org.tmatesoft.sqljet.core.internal.table.SqlJetIndexOrderCursor |
---|
indexName, indexTable |
Fields inherited from class org.tmatesoft.sqljet.core.internal.table.SqlJetCursor |
---|
btreeTable, db |
Constructor Summary | |
---|---|
SqlJetIndexScopeCursor(ISqlJetBtreeDataTable table,
SqlJetDb db,
java.lang.String indexName,
java.lang.Object[] firstKey,
java.lang.Object[] lastKey)
|
|
SqlJetIndexScopeCursor(ISqlJetBtreeDataTable table,
SqlJetDb db,
java.lang.String indexName,
SqlJetScope scope)
|
Method Summary | |
---|---|
void |
delete()
Deletes the current record. |
boolean |
eof()
Tests whether this cursor is positioned behind the last record. |
boolean |
first()
Goes to the first record. |
long |
getRowId()
Gets row Id of the current record. |
boolean |
goTo(long rowId)
Goes to the record with the specified row Id. |
boolean |
last()
Goes to the last record. |
boolean |
next()
Goes to the next record. |
boolean |
previous()
Goes to the previous record. |
Methods inherited from class org.tmatesoft.sqljet.core.internal.table.SqlJetIndexOrderCursor |
---|
computeRows |
Methods inherited from class org.tmatesoft.sqljet.core.internal.table.SqlJetTableDataCursor |
---|
getBlobAsArray, getBlobAsStream, getBoolean, getBtreeDataTable, getFieldType, getFloat, getInteger, getRowValues, getString, getValue, isNull, update, updateByFieldNames, updateByFieldNamesOr, updateOr, updateWithRowId, updateWithRowIdOr |
Methods inherited from class org.tmatesoft.sqljet.core.internal.table.SqlJetRowNumCursor |
---|
firstRowNum, getLimit, getRowCount, getRowIndex, goToRow, lastRowNum, nextRowNum, previousRowNum, setLimit |
Methods inherited from class org.tmatesoft.sqljet.core.internal.table.SqlJetCursor |
---|
close, getBlobAsArray, getBlobAsStream, getBoolean, getFieldsCount, getFieldType, getFloat, getInteger, getString, getValue, isNull, reverse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.tmatesoft.sqljet.core.table.ISqlJetCursor |
---|
close, getBlobAsArray, getBlobAsArray, getBlobAsStream, getBlobAsStream, getBoolean, getBoolean, getFieldsCount, getFieldType, getFieldType, getFloat, getFloat, getInteger, getInteger, getLimit, getRowCount, getRowIndex, getRowValues, getString, getString, getValue, getValue, goToRow, isNull, isNull, reverse, setLimit, update, updateByFieldNames, updateByFieldNamesOr, updateOr, updateWithRowId, updateWithRowIdOr |
Constructor Detail |
---|
public SqlJetIndexScopeCursor(ISqlJetBtreeDataTable table, SqlJetDb db, java.lang.String indexName, java.lang.Object[] firstKey, java.lang.Object[] lastKey) throws SqlJetException
table
- db
- indexName
- firstKey
- lastKey
-
SqlJetException
public SqlJetIndexScopeCursor(ISqlJetBtreeDataTable table, SqlJetDb db, java.lang.String indexName, SqlJetScope scope) throws SqlJetException
table
- db
- indexName
- scope
-
SqlJetException
Method Detail |
---|
public boolean goTo(long rowId) throws SqlJetException
ISqlJetCursor
goTo
in interface ISqlJetCursor
goTo
in class SqlJetTableDataCursor
rowId
- row Id
SqlJetException
public boolean first() throws SqlJetException
ISqlJetCursor
first
in interface ISqlJetCursor
first
in class SqlJetIndexOrderCursor
SqlJetException
public boolean next() throws SqlJetException
ISqlJetCursor
next
in interface ISqlJetCursor
next
in class SqlJetIndexOrderCursor
SqlJetException
public boolean previous() throws SqlJetException
ISqlJetCursor
previous
in interface ISqlJetCursor
previous
in class SqlJetIndexOrderCursor
SqlJetException
public boolean eof() throws SqlJetException
ISqlJetCursor
eof
in interface ISqlJetCursor
eof
in class SqlJetIndexOrderCursor
SqlJetException
public boolean last() throws SqlJetException
ISqlJetCursor
last
in interface ISqlJetCursor
last
in class SqlJetIndexOrderCursor
SqlJetException
public void delete() throws SqlJetException
ISqlJetCursor
delete
in interface ISqlJetCursor
delete
in class SqlJetIndexOrderCursor
SqlJetException
public long getRowId() throws SqlJetException
ISqlJetCursor
getRowId
in interface ISqlJetCursor
getRowId
in class SqlJetTableDataCursor
SqlJetException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |