Class SqlJetBtreeSchemaTable
- java.lang.Object
-
- org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeTable
-
- org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeSchemaTable
-
- All Implemented Interfaces:
ISqlJetBtreeSchemaTable,ISqlJetBtreeTable
public class SqlJetBtreeSchemaTable extends SqlJetBtreeTable implements ISqlJetBtreeSchemaTable
-
-
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 Constructor Description SqlJetBtreeSchemaTable(ISqlJetBtree btree, boolean write)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetNameField()intgetPageField()longgetRowId()java.lang.StringgetSqlField()java.lang.StringgetTableField()java.lang.StringgetTypeField()booleangoToRow(long rowId)longinsertRecord(java.lang.String typeField, java.lang.String nameField, java.lang.String tableField, int pageField, java.lang.String sqlField)voidupdateRecord(long rowId, java.lang.String typeField, java.lang.String nameField, java.lang.String tableField, int pageField, java.lang.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 Detail
-
SqlJetBtreeSchemaTable
public SqlJetBtreeSchemaTable(ISqlJetBtree btree, boolean write) throws SqlJetException
- Parameters:
btree-rootPage-write-index-- Throws:
SqlJetException
-
-
Method Detail
-
getTypeField
public java.lang.String getTypeField() throws SqlJetException- Specified by:
getTypeFieldin interfaceISqlJetBtreeSchemaTable- Throws:
SqlJetException
-
getNameField
public java.lang.String getNameField() throws SqlJetException- Specified by:
getNameFieldin interfaceISqlJetBtreeSchemaTable- Throws:
SqlJetException
-
getTableField
public java.lang.String getTableField() throws SqlJetException- Specified by:
getTableFieldin interfaceISqlJetBtreeSchemaTable- Throws:
SqlJetException
-
getPageField
public int getPageField() throws SqlJetException- Specified by:
getPageFieldin interfaceISqlJetBtreeSchemaTable- Throws:
SqlJetException
-
getSqlField
public java.lang.String getSqlField() throws SqlJetException- Specified by:
getSqlFieldin interfaceISqlJetBtreeSchemaTable- Throws:
SqlJetException
-
insertRecord
public long insertRecord(java.lang.String typeField, java.lang.String nameField, java.lang.String tableField, int pageField, java.lang.String sqlField) throws SqlJetException- Specified by:
insertRecordin interfaceISqlJetBtreeSchemaTable- Throws:
SqlJetException
-
updateRecord
public void updateRecord(long rowId, java.lang.String typeField, java.lang.String nameField, java.lang.String tableField, int pageField, java.lang.String sqlField) throws SqlJetException- Specified by:
updateRecordin interfaceISqlJetBtreeSchemaTable- Throws:
SqlJetException
-
goToRow
public boolean goToRow(long rowId) throws SqlJetException- Specified by:
goToRowin interfaceISqlJetBtreeSchemaTable- Throws:
SqlJetException
-
getRowId
public long getRowId() throws SqlJetException- Specified by:
getRowIdin interfaceISqlJetBtreeSchemaTable- Throws:
SqlJetException
-
-