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
- Author:
- TMate Software Ltd., Sergey Scherbina (sergey.scherbina@gmail.com)
-
-
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.String
getNameField()
int
getPageField()
long
getRowId()
java.lang.String
getSqlField()
java.lang.String
getTableField()
java.lang.String
getTypeField()
boolean
goToRow(long rowId)
long
insertRecord(java.lang.String typeField, java.lang.String nameField, java.lang.String tableField, int pageField, java.lang.String sqlField)
void
updateRecord(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:
getTypeField
in interfaceISqlJetBtreeSchemaTable
- Throws:
SqlJetException
-
getNameField
public java.lang.String getNameField() throws SqlJetException
- Specified by:
getNameField
in interfaceISqlJetBtreeSchemaTable
- Throws:
SqlJetException
-
getTableField
public java.lang.String getTableField() throws SqlJetException
- Specified by:
getTableField
in interfaceISqlJetBtreeSchemaTable
- Throws:
SqlJetException
-
getPageField
public int getPageField() throws SqlJetException
- Specified by:
getPageField
in interfaceISqlJetBtreeSchemaTable
- Throws:
SqlJetException
-
getSqlField
public java.lang.String getSqlField() throws SqlJetException
- Specified by:
getSqlField
in 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:
insertRecord
in 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:
updateRecord
in interfaceISqlJetBtreeSchemaTable
- Throws:
SqlJetException
-
goToRow
public boolean goToRow(long rowId) throws SqlJetException
- Specified by:
goToRow
in interfaceISqlJetBtreeSchemaTable
- Throws:
SqlJetException
-
getRowId
public long getRowId() throws SqlJetException
- Specified by:
getRowId
in interfaceISqlJetBtreeSchemaTable
- Throws:
SqlJetException
-
-