|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISqlJetBtreeDataTable
Method Summary | |
---|---|
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. |
Methods inherited from interface org.tmatesoft.sqljet.core.internal.table.ISqlJetBtreeTable |
---|
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, unlock |
Method Detail |
---|
ISqlJetTableDef getDefinition()
java.util.Map<java.lang.String,ISqlJetIndexDef> getIndexDefinitions()
java.util.Map<java.lang.String,ISqlJetBtreeIndexTable> getIndexesTables()
boolean goToRow(long rowId) throws SqlJetException
rowId
-
SqlJetException
long getRowId() throws SqlJetException
SqlJetException
long insert(SqlJetConflictAction onConflict, java.lang.Object... values) throws SqlJetException
values
-
SqlJetException
void update(SqlJetConflictAction onConflict, long rowId, java.lang.Object... values) throws SqlJetException
rowId
- values
-
SqlJetException
void updateCurrent(SqlJetConflictAction onConflict, java.lang.Object... values) throws SqlJetException
values
-
SqlJetException
long updateWithRowId(SqlJetConflictAction onConflict, long rowId, long newRowId, java.lang.Object... values) throws SqlJetException
rowId
- values
-
SqlJetException
long updateCurrentWithRowId(SqlJetConflictAction onConflict, long newRowId, java.lang.Object... values) throws SqlJetException
values
-
SqlJetException
void delete(long rowId) throws SqlJetException
rowId
-
SqlJetException
void delete() throws SqlJetException
delete
in interface ISqlJetBtreeTable
SqlJetException
boolean checkIndex(java.lang.String indexName, java.lang.Object[] key) throws SqlJetException
indexName
- key
-
SqlJetException
java.lang.String getPrimaryKeyIndex()
boolean locate(java.lang.String indexName, boolean next, java.lang.Object... key) throws SqlJetException
indexName
- next
- key
-
SqlJetException
long insert(SqlJetConflictAction onConflict, java.util.Map<java.lang.String,java.lang.Object> values) throws SqlJetException
values
-
SqlJetException
void update(SqlJetConflictAction onConflict, long rowId, java.util.Map<java.lang.String,java.lang.Object> values) throws SqlJetException
rowId
- values
-
SqlJetException
void update(SqlJetConflictAction onConflict, java.util.Map<java.lang.String,java.lang.Object> values) throws SqlJetException
values
-
SqlJetException
boolean isIndexExists(java.lang.String indexName)
indexName
-
long insertWithRowId(SqlJetConflictAction onConflict, long rowId, java.lang.Object[] values) throws SqlJetException
rowId
- values
-
SqlJetException
ISqlJetBtreeIndexTable getIndex(java.lang.String indexName)
indexName
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |