org.tmatesoft.sqljet.core.internal.table
Class SqlJetBtreeSchemaTable

java.lang.Object
  extended by org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeTable
      extended by 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
SqlJetBtreeSchemaTable(ISqlJetBtree btree, boolean write)
           
 
Method Summary
 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
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 interface ISqlJetBtreeSchemaTable
Throws:
SqlJetException

getNameField

public java.lang.String getNameField()
                              throws SqlJetException
Specified by:
getNameField in interface ISqlJetBtreeSchemaTable
Throws:
SqlJetException

getTableField

public java.lang.String getTableField()
                               throws SqlJetException
Specified by:
getTableField in interface ISqlJetBtreeSchemaTable
Throws:
SqlJetException

getPageField

public int getPageField()
                 throws SqlJetException
Specified by:
getPageField in interface ISqlJetBtreeSchemaTable
Throws:
SqlJetException

getSqlField

public java.lang.String getSqlField()
                             throws SqlJetException
Specified by:
getSqlField in interface ISqlJetBtreeSchemaTable
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 interface ISqlJetBtreeSchemaTable
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 interface ISqlJetBtreeSchemaTable
Throws:
SqlJetException

goToRow

public boolean goToRow(long rowId)
                throws SqlJetException
Specified by:
goToRow in interface ISqlJetBtreeSchemaTable
Throws:
SqlJetException

getRowId

public long getRowId()
              throws SqlJetException
Specified by:
getRowId in interface ISqlJetBtreeSchemaTable
Throws:
SqlJetException