org.hsqldb
Class TextCache

java.lang.Object
  extended byorg.hsqldb.Cache
      extended byorg.hsqldb.DataFileCache
          extended byorg.hsqldb.TextCache

public class TextCache
extends DataFileCache

To Do:
fredt - file error messages to Trace

Field Summary
protected  String ignoredFirst
           
protected  boolean ignoreFirst
           
protected  boolean isAllQuoted
           
protected  boolean isIndexingSource
           
protected  boolean isQuoted
           
static String NL
           
protected  boolean readOnly
           
protected  RowInputText rowIn
           
protected  Table table
           
 
Fields inherited from class org.hsqldb.DataFileCache
cachedRowPadding, dbProps, dDatabase, iFreePos, rFile, rowOut, rowStoreExtra, sName, storeOnInsert
 
Method Summary
protected  void initBuffers()
           
protected  void initParams()
          initial external parameters are set here.
protected  CachedRow makeRow(int pos, Table t)
          Constructs a new Row for the specified table, using row data read at the specified position (pos) in this object's database file.
protected  void setStorageSize(CachedRow r)
          Calculates the number of bytes required to store a Row in this object's database file.
 
Methods inherited from class org.hsqldb.DataFileCache
init, remove, remove, saveAll, saveRow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isIndexingSource

protected boolean isIndexingSource

NL

public static final String NL

readOnly

protected boolean readOnly

rowIn

protected RowInputText rowIn

isQuoted

protected boolean isQuoted

isAllQuoted

protected boolean isAllQuoted

ignoreFirst

protected boolean ignoreFirst

ignoredFirst

protected String ignoredFirst

table

protected Table table
Method Detail

initParams

protected void initParams()
                   throws HsqlException
Description copied from class: org.hsqldb.Cache
initial external parameters are set here.

Throws:
HsqlException

initBuffers

protected void initBuffers()
                    throws HsqlException
Throws:
HsqlException

setStorageSize

protected void setStorageSize(CachedRow r)
                       throws HsqlException
Description copied from class: DataFileCache
Calculates the number of bytes required to store a Row in this object's database file.

Overrides:
setStorageSize in class DataFileCache
Throws:
HsqlException

makeRow

protected CachedRow makeRow(int pos,
                            Table t)
                     throws HsqlException
Description copied from class: DataFileCache
Constructs a new Row for the specified table, using row data read at the specified position (pos) in this object's database file.

Overrides:
makeRow in class DataFileCache
Throws:
HsqlException


Copyright © 2001 - 2004 HSQL Development Group. All Rights Reserved.