public interface ISqlJetBtreeDataTable extends ISqlJetBtreeTable
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkIndex(java.lang.String indexName,
java.lang.Object[] key)
Check the current record is equal to key using definition of index.
|
void |
delete()
Delete curent record.
|
void |
delete(long rowId)
Delete record by row's ID.
|
ISqlJetTableDef |
getDefinition()
Get table's schema definition.
|
ISqlJetBtreeIndexTable |
getIndex(java.lang.String indexName) |
java.util.Map<java.lang.String,ISqlJetIndexDef> |
getIndexDefinitions()
Get definitions of table's indexes.
|
java.util.Map<java.lang.String,ISqlJetBtreeIndexTable> |
getIndexesTables()
Get indexes which are related with table.
|
java.lang.String |
getPrimaryKeyIndex()
Get name of index which has been auto-created for primary key.
|
long |
getRowId()
Get current rowID.
|
boolean |
goToRow(long rowId)
Go to record with given rowID.
|
long |
insert(SqlJetConflictAction onConflict,
java.util.Map<java.lang.String,java.lang.Object> values)
Insert record by values by names of fields.
|
long |
insert(SqlJetConflictAction onConflict,
java.lang.Object... values)
Write an new entry into the table.
|
long |
insertWithRowId(SqlJetConflictAction onConflict,
long rowId,
java.lang.Object[] values) |
boolean |
isIndexExists(java.lang.String indexName) |
boolean |
locate(java.lang.String indexName,
boolean next,
java.lang.Object... key)
Locate record which using index by key.
|
void |
update(SqlJetConflictAction onConflict,
long rowId,
java.util.Map<java.lang.String,java.lang.Object> values) |
void |
update(SqlJetConflictAction onConflict,
long rowId,
java.lang.Object... values)
Update an entry in the table by rowId.
|
void |
update(SqlJetConflictAction onConflict,
java.util.Map<java.lang.String,java.lang.Object> values) |
void |
updateCurrent(SqlJetConflictAction onConflict,
java.lang.Object... values)
Update the current entry in the table.
|
long |
updateCurrentWithRowId(SqlJetConflictAction onConflict,
long newRowId,
java.lang.Object... values)
Update the rowId and values in current entry in the table.
|
long |
updateWithRowId(SqlJetConflictAction onConflict,
long rowId,
long newRowId,
java.lang.Object... values)
Update the rowId and values an entry in the table by rowId.
|
clear, close, eof, first, getBlob, getEncoding, getFieldsCount, getFieldType, getFloat, getInteger, getKeySize, getRecord, getString, getValue, getValues, hasMoved, insert, isNull, last, lock, lockTable, moveTo, newRowId, newRowId, next, popState, previous, pushState, unlockISqlJetTableDef getDefinition()
java.util.Map<java.lang.String,ISqlJetIndexDef> getIndexDefinitions()
java.util.Map<java.lang.String,ISqlJetBtreeIndexTable> getIndexesTables()
boolean goToRow(long rowId)
throws SqlJetException
rowId - SqlJetExceptionlong getRowId()
throws SqlJetException
SqlJetExceptionlong insert(SqlJetConflictAction onConflict, java.lang.Object... values) throws SqlJetException
values - SqlJetExceptionvoid update(SqlJetConflictAction onConflict, long rowId, java.lang.Object... values) throws SqlJetException
rowId - values - SqlJetExceptionvoid updateCurrent(SqlJetConflictAction onConflict, java.lang.Object... values) throws SqlJetException
values - SqlJetExceptionlong updateWithRowId(SqlJetConflictAction onConflict, long rowId, long newRowId, java.lang.Object... values) throws SqlJetException
rowId - values - SqlJetExceptionlong updateCurrentWithRowId(SqlJetConflictAction onConflict, long newRowId, java.lang.Object... values) throws SqlJetException
values - SqlJetExceptionvoid delete(long rowId)
throws SqlJetException
rowId - SqlJetExceptionvoid delete()
throws SqlJetException
delete in interface ISqlJetBtreeTableSqlJetExceptionboolean checkIndex(java.lang.String indexName,
java.lang.Object[] key)
throws SqlJetException
indexName - key - SqlJetExceptionjava.lang.String getPrimaryKeyIndex()
boolean locate(java.lang.String indexName,
boolean next,
java.lang.Object... key)
throws SqlJetException
indexName - next - key - SqlJetExceptionlong insert(SqlJetConflictAction onConflict, java.util.Map<java.lang.String,java.lang.Object> values) throws SqlJetException
values - SqlJetExceptionvoid update(SqlJetConflictAction onConflict, long rowId, java.util.Map<java.lang.String,java.lang.Object> values) throws SqlJetException
rowId - values - SqlJetExceptionvoid update(SqlJetConflictAction onConflict, java.util.Map<java.lang.String,java.lang.Object> values) throws SqlJetException
values - SqlJetExceptionboolean isIndexExists(java.lang.String indexName)
indexName - long insertWithRowId(SqlJetConflictAction onConflict, long rowId, java.lang.Object[] values) throws SqlJetException
rowId - values - SqlJetExceptionISqlJetBtreeIndexTable getIndex(java.lang.String indexName)
indexName -