public interface ISqlJetBtreeTable
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
close()
Close B-Tree table cursor.
|
void |
delete() |
boolean |
eof()
Check of end of B-Tree table cursor.
|
boolean |
first()
Go to first record.
|
ISqlJetMemoryPointer |
getBlob(int field)
Get field's value as BLOB.
|
SqlJetEncoding |
getEncoding() |
int |
getFieldsCount()
Get count of fields in current record.
|
SqlJetValueType |
getFieldType(int field)
Get type of field.
|
double |
getFloat(int field)
Get field's value as real (float).
|
long |
getInteger(int field)
Get field's value as integer.
|
long |
getKeySize() |
ISqlJetBtreeRecord |
getRecord() |
java.lang.String |
getString(int field)
Get field's value as string.
|
java.lang.Object |
getValue(int field)
Get value as object.
|
java.lang.Object[] |
getValues()
Get values as objects.
|
boolean |
hasMoved()
Returns true if cursor has been moved.
|
void |
insert(ISqlJetMemoryPointer pKey,
long nKey,
ISqlJetMemoryPointer pData,
int nData,
int nZero,
boolean bias) |
boolean |
isNull(int field)
Check to field has null value.
|
boolean |
last()
Go to last record.
|
void |
lock()
Lock B-Tree table cursor's mutex.
|
void |
lockTable(boolean write) |
int |
moveTo(ISqlJetMemoryPointer pKey,
long nKey,
boolean bias) |
long |
newRowId() |
long |
newRowId(long prev) |
boolean |
next()
Go to next record.
|
boolean |
popState()
Restores previously saved state if there any.
|
boolean |
previous()
Go to previous record.
|
void |
pushState()
Saves current state of this table and sets it
to point to the first record.
|
void |
unlock()
Unlock B-Tree table cursror's mutex.
|
void close()
throws SqlJetException
SqlJetExceptionvoid lock() throws SqlJetException
SqlJetExceptionvoid unlock()
boolean eof()
throws SqlJetException
SqlJetExceptionboolean first()
throws SqlJetException
SqlJetExceptionboolean last()
throws SqlJetException
SqlJetExceptionboolean next()
throws SqlJetException
SqlJetExceptionboolean previous()
throws SqlJetException
SqlJetExceptionISqlJetBtreeRecord getRecord() throws SqlJetException
SqlJetExceptionvoid lockTable(boolean write)
write - SqlJetEncoding getEncoding() throws SqlJetException
SqlJetExceptionint getFieldsCount()
throws SqlJetException
SqlJetExceptionSqlJetValueType getFieldType(int field) throws SqlJetException
field - number of field begin from zeroSqlJetExceptionboolean isNull(int field)
throws SqlJetException
field - number of field begin from zeroSqlJetExceptionjava.lang.String getString(int field)
throws SqlJetException
field - number of field begin from zeroSqlJetExceptionlong getInteger(int field)
throws SqlJetException
field - number of field begin from zeroSqlJetExceptiondouble getFloat(int field)
throws SqlJetException
field - number of field begin from zeroSqlJetExceptionISqlJetMemoryPointer getBlob(int field) throws SqlJetException
field - number of field begin from zeroSqlJetExceptionjava.lang.Object[] getValues()
throws SqlJetException
SqlJetExceptionjava.lang.Object getValue(int field)
throws SqlJetException
field - SqlJetExceptionboolean hasMoved()
throws SqlJetException
SqlJetExceptionvoid clear()
throws SqlJetException
SqlJetExceptionvoid delete()
throws SqlJetException
SqlJetExceptionvoid insert(ISqlJetMemoryPointer pKey, long nKey, ISqlJetMemoryPointer pData, int nData, int nZero, boolean bias) throws SqlJetException
pKey - nKey - pData - nData - nZero - bias - SqlJetExceptionint moveTo(ISqlJetMemoryPointer pKey, long nKey, boolean bias) throws SqlJetException
pKey - nKey - bias - SqlJetExceptionlong getKeySize()
throws SqlJetException
SqlJetExceptionlong newRowId(long prev)
throws SqlJetException
prev - SqlJetExceptionlong newRowId()
throws SqlJetException
SqlJetExceptionvoid pushState()
throws SqlJetException
SqlJetExceptionboolean popState()
throws SqlJetException
SqlJetExceptionCopyright © 2009-2010 TMate Software Ltd. All Rights Reserved.