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
SqlJetException
void lock() throws SqlJetException
SqlJetException
void unlock()
boolean eof() throws SqlJetException
SqlJetException
boolean first() throws SqlJetException
SqlJetException
boolean last() throws SqlJetException
SqlJetException
boolean next() throws SqlJetException
SqlJetException
boolean previous() throws SqlJetException
SqlJetException
ISqlJetBtreeRecord getRecord() throws SqlJetException
SqlJetException
void lockTable(boolean write)
write
- SqlJetEncoding getEncoding() throws SqlJetException
SqlJetException
int getFieldsCount() throws SqlJetException
SqlJetException
SqlJetValueType getFieldType(int field) throws SqlJetException
field
- number of field begin from zeroSqlJetException
boolean isNull(int field) throws SqlJetException
field
- number of field begin from zeroSqlJetException
java.lang.String getString(int field) throws SqlJetException
field
- number of field begin from zeroSqlJetException
long getInteger(int field) throws SqlJetException
field
- number of field begin from zeroSqlJetException
double getFloat(int field) throws SqlJetException
field
- number of field begin from zeroSqlJetException
ISqlJetMemoryPointer getBlob(int field) throws SqlJetException
field
- number of field begin from zeroSqlJetException
java.lang.Object[] getValues() throws SqlJetException
SqlJetException
java.lang.Object getValue(int field) throws SqlJetException
field
- SqlJetException
boolean hasMoved() throws SqlJetException
SqlJetException
void clear() throws SqlJetException
SqlJetException
void delete() throws SqlJetException
SqlJetException
void insert(ISqlJetMemoryPointer pKey, long nKey, ISqlJetMemoryPointer pData, int nData, int nZero, boolean bias) throws SqlJetException
pKey
- nKey
- pData
- nData
- nZero
- bias
- SqlJetException
int moveTo(ISqlJetMemoryPointer pKey, long nKey, boolean bias) throws SqlJetException
pKey
- nKey
- bias
- SqlJetException
long getKeySize() throws SqlJetException
SqlJetException
long newRowId(long prev) throws SqlJetException
prev
- SqlJetException
long newRowId() throws SqlJetException
SqlJetException
void pushState() throws SqlJetException
SqlJetException
boolean popState() throws SqlJetException
SqlJetException
Copyright © 2009-2010 TMate Software Ltd. All Rights Reserved.