org.tmatesoft.sqljet.core.internal.table
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
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 |
SqlJetBtreeSchemaTable
public SqlJetBtreeSchemaTable(ISqlJetBtree btree,
boolean write)
throws SqlJetException
- Parameters:
btree
- rootPage
- write
- index
-
- Throws:
SqlJetException
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