Class SqlJetBtreeSchemaTable
java.lang.Object
org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeTable
org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeSchemaTable
- All Implemented Interfaces:
ISqlJetBtreeSchemaTable
,ISqlJetBtreeTable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeTable
SqlJetBtreeTable.State
-
Field Summary
Fields inherited from class org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeTable
btree, index, rootPage, write
Fields inherited from interface org.tmatesoft.sqljet.core.internal.table.ISqlJetBtreeSchemaTable
NAME_FIELD, PAGE_FIELD, SQL_FIELD, TABLE_FIELD, TYPE_FIELD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
long
getRowId()
boolean
goToRow
(long rowId) long
insertRecord
(String typeField, String nameField, String tableField, int pageField, String sqlField) void
updateRecord
(long rowId, String typeField, String nameField, String tableField, int pageField, String sqlField) Methods inherited from class org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeTable
adjustKeyInfo, checkField, clear, clearRecordCache, close, delete, eof, first, getBlob, getCursor, getEncoding, getFieldsCount, getFieldType, getFloat, getInteger, getKeyInfo, getKeySize, getRecord, getString, getValue, getValueMem, getValues, getValueUncached, hasMoved, insert, isNull, last, lock, lockTable, moveTo, newRowId, newRowId, next, popState, previous, pushState, unlock
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.internal.table.ISqlJetBtreeTable
clear, close, delete, 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
-
Constructor Details
-
SqlJetBtreeSchemaTable
- Parameters:
btree
-write
-rootPage
-index
-- Throws:
SqlJetException
-
-
Method Details
-
getTypeField
- Specified by:
getTypeField
in interfaceISqlJetBtreeSchemaTable
- Throws:
SqlJetException
-
getNameField
- Specified by:
getNameField
in interfaceISqlJetBtreeSchemaTable
- Throws:
SqlJetException
-
getTableField
- Specified by:
getTableField
in interfaceISqlJetBtreeSchemaTable
- Throws:
SqlJetException
-
getPageField
- Specified by:
getPageField
in interfaceISqlJetBtreeSchemaTable
- Throws:
SqlJetException
-
getSqlField
- Specified by:
getSqlField
in interfaceISqlJetBtreeSchemaTable
- Throws:
SqlJetException
-
insertRecord
public long insertRecord(String typeField, String nameField, String tableField, int pageField, String sqlField) throws SqlJetException - Specified by:
insertRecord
in interfaceISqlJetBtreeSchemaTable
- Throws:
SqlJetException
-
updateRecord
public void updateRecord(long rowId, String typeField, String nameField, String tableField, int pageField, String sqlField) throws SqlJetException - Specified by:
updateRecord
in interfaceISqlJetBtreeSchemaTable
- Parameters:
rowId
-typeField
-nameField
-tableField
-pageField
-sqlField
-- Throws:
SqlJetException
-
goToRow
- Specified by:
goToRow
in interfaceISqlJetBtreeSchemaTable
- Throws:
SqlJetException
-
getRowId
- Specified by:
getRowId
in interfaceISqlJetBtreeSchemaTable
- Throws:
SqlJetException
-