Java Doc for DiskTable.java in  » Database-DBMS » axion » org » axiondb » engine » tables » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database DBMS » axion » org.axiondb.engine.tables 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.axiondb.engine.tables.AbstractBaseTable
   org.axiondb.engine.tables.BaseTable
      org.axiondb.engine.tables.BaseDiskTable
         org.axiondb.engine.tables.DiskTable

DiskTable
final public class DiskTable extends BaseDiskTable implements Table(Code)
A disk-resident Table .
version:
   $Revision: 1.19 $ $Date: 2005/12/20 18:32:28 $
author:
   Chuck Burdick
author:
   Rodney Waldhoff
author:
   Ahimanikya Satapathy



Constructor Summary
public  DiskTable(String name, Database db)
    

Method Summary
protected  FilegetDataFile()
    
public  GlomLobsHelpergetGlomLobsHelper()
    
protected  FilegetLobDir()
    
protected  RowgetRowByOffset(int idToAssign, long ptr)
    
public  voidglomLobs()
    
protected  voidinitFiles(File basedir, boolean datafilesonly)
    
protected  voidreloadFilesAfterTruncate()
    
protected synchronized  voidrenameTableFiles(String oldName, String name)
    
protected  voidwriteRow(BufferedDataOutputStream out, Row row)
    


Constructor Detail
DiskTable
public DiskTable(String name, Database db) throws AxionException(Code)




Method Detail
getDataFile
protected File getDataFile()(Code)



getGlomLobsHelper
public GlomLobsHelper getGlomLobsHelper()(Code)



getLobDir
protected File getLobDir()(Code)



getRowByOffset
protected Row getRowByOffset(int idToAssign, long ptr) throws AxionException(Code)



glomLobs
public void glomLobs() throws Exception(Code)



initFiles
protected void initFiles(File basedir, boolean datafilesonly) throws AxionException(Code)



reloadFilesAfterTruncate
protected void reloadFilesAfterTruncate() throws AxionException(Code)



renameTableFiles
protected synchronized void renameTableFiles(String oldName, String name)(Code)



writeRow
protected void writeRow(BufferedDataOutputStream out, Row row) throws AxionException(Code)



Fields inherited from org.axiondb.engine.tables.BaseDiskTable
final protected static int CURRENT_META_VERSION(Code)(Java Doc)
final protected static String FRID_FILE_EXT(Code)(Java Doc)
protected static AxionFileSystem FS(Code)(Java Doc)
final protected static String INDICES_DIR_NAME(Code)(Java Doc)
final protected static long INVALID_OFFSET(Code)(Java Doc)
final protected static String META_FILE_EXT(Code)(Java Doc)
final protected static String PIDX_FILE_EXT(Code)(Java Doc)
final protected static String SEQ_FILE_EXT(Code)(Java Doc)
final protected static String TYPE_FILE_EXT(Code)(Java Doc)
protected File _dataFile(Code)(Java Doc)
protected File _dbdir(Code)(Java Doc)
protected IntList _freeIds(Code)(Java Doc)
protected boolean _readOnly(Code)(Java Doc)
protected int _rowCount(Code)(Java Doc)

Methods inherited from org.axiondb.engine.tables.BaseDiskTable
public void addColumn(Column col) throws AxionException(Code)(Java Doc)
public void addColumn(Column col, boolean metaUpdateNeeded) throws AxionException(Code)(Java Doc)
public void addConstraint(Constraint constraint) throws AxionException(Code)(Java Doc)
public void applyDeletes(IntCollection rowIds) throws AxionException(Code)(Java Doc)
public void applyInserts(RowCollection rows) throws AxionException(Code)(Java Doc)
public void applyUpdates(RowCollection rows) throws AxionException(Code)(Java Doc)
public void checkpoint() throws AxionException(Code)(Java Doc)
protected void clearDataFileReference()(Code)(Java Doc)
protected void closeFiles()(Code)(Java Doc)
protected void createOrLoadDataFile() throws AxionException(Code)(Java Doc)
protected void createOrLoadFreeIdsFile() throws AxionException(Code)(Java Doc)
public void drop() throws AxionException(Code)(Java Doc)
public void freeRowId(int id)(Code)(Java Doc)
abstract protected File getDataFile()(Code)(Java Doc)
protected String getDefaultDataFileExtension()(Code)(Java Doc)
protected synchronized BufferedDataInputStream getInputStream() throws AxionException(Code)(Java Doc)
abstract protected File getLobDir()(Code)(Java Doc)
public int getNextRowId()(Code)(Java Doc)
protected synchronized BufferedDataOutputStream getOutputStream() throws AxionException(Code)(Java Doc)
protected AxionFileSystem.PidxList getPidxList()(Code)(Java Doc)
protected File getRootDir()(Code)(Java Doc)
public Row getRow(int id) throws AxionException(Code)(Java Doc)
abstract protected Row getRowByOffset(int idToAssign, long ptr) throws AxionException(Code)(Java Doc)
public int getRowCount()(Code)(Java Doc)
protected RowIterator getRowIterator() throws AxionException(Code)(Java Doc)
protected File getTableFile(String extension)(Code)(Java Doc)
protected void initFiles(File basedir, boolean datafilesonly) throws AxionException(Code)(Java Doc)
protected void initializeRowCount() throws AxionException(Code)(Java Doc)
protected boolean isReadOnly()(Code)(Java Doc)
protected void loadOrMigrateMetaFile(Database db) throws AxionException(Code)(Java Doc)
public void migrate(Database db) throws AxionException(Code)(Java Doc)
protected synchronized AxionFileSystem.PidxList parsePidxFile(File pidxFile) throws AxionException(Code)(Java Doc)
protected void parseTableProperties(ObjectInputStream in) throws AxionException(Code)(Java Doc)
public void populateIndex(Index index) throws AxionException(Code)(Java Doc)
abstract protected void reloadFilesAfterTruncate() throws AxionException(Code)(Java Doc)
public void remount(File newdir, boolean datafilesonly) throws AxionException(Code)(Java Doc)
public void removeIndex(Index index) throws AxionException(Code)(Java Doc)
public void rename(String oldName, String newName) throws AxionException(Code)(Java Doc)
protected void renameTableFiles(String oldName, String name)(Code)(Java Doc)
protected void resetLobColumns() throws AxionException(Code)(Java Doc)
protected void saveIndicesAfterTruncate() throws AxionException(Code)(Java Doc)
public void setSequence(Sequence seq) throws AxionException(Code)(Java Doc)
public void shutdown() throws AxionException(Code)(Java Doc)
public void truncate() throws AxionException(Code)(Java Doc)
protected void tryToRemove(RowIterator iter) throws AxionException(Code)(Java Doc)
final protected void writeFridFile() throws AxionException(Code)(Java Doc)
protected void writeMetaFile() throws AxionException(Code)(Java Doc)
protected void writeNameToFile(File file, Object obj) throws AxionException(Code)(Java Doc)
abstract protected void writeRow(BufferedDataOutputStream buffer, Row row) throws AxionException(Code)(Java Doc)
protected void writeTableProperties(ObjectOutputStream out) throws AxionException(Code)(Java Doc)

Methods inherited from org.axiondb.engine.tables.BaseTable
public void addColumn(Column col) throws AxionException(Code)(Java Doc)
public void addConstraint(Constraint constraint) throws AxionException(Code)(Java Doc)
public void addIndex(Index index) throws AxionException(Code)(Java Doc)
public void addRow(Row row) throws AxionException(Code)(Java Doc)
abstract public void applyDeletes(IntCollection rowids) throws AxionException(Code)(Java Doc)
protected void applyDeletesToIndices(IntCollection rowIds) throws AxionException(Code)(Java Doc)
abstract public void applyInserts(RowCollection rows) throws AxionException(Code)(Java Doc)
protected void applyInsertsToIndices(RowCollection rows) throws AxionException(Code)(Java Doc)
abstract public void applyUpdates(RowCollection rows) throws AxionException(Code)(Java Doc)
protected void applyUpdatesToIndices(RowCollection rows) throws AxionException(Code)(Java Doc)
public void checkpoint() throws AxionException(Code)(Java Doc)
final protected void clearCache()(Code)(Java Doc)
public void deleteRow(Row row) throws AxionException(Code)(Java Doc)
public void drop() throws AxionException(Code)(Java Doc)
abstract public void freeRowId(int id)(Code)(Java Doc)
final public Column getColumn(int index)(Code)(Java Doc)
public Column getColumn(String name)(Code)(Java Doc)
final public int getColumnCount()(Code)(Java Doc)
public List getColumnIdentifiers()(Code)(Java Doc)
public int getColumnIndex(String name) throws AxionException(Code)(Java Doc)
final public Constraint getConstraint(String name)(Code)(Java Doc)
public Iterator getConstraints()(Code)(Java Doc)
public Index getIndexForColumn(Column column)(Code)(Java Doc)
public RowIterator getIndexedRows(Selectable node, boolean readOnly) throws AxionException(Code)(Java Doc)
public RowIterator getIndexedRows(RowSource source, Selectable node, boolean readOnly) throws AxionException(Code)(Java Doc)
public Iterator getIndices()(Code)(Java Doc)
final public String getName()(Code)(Java Doc)
abstract public int getNextRowId()(Code)(Java Doc)
abstract public Row getRow(int id) throws AxionException(Code)(Java Doc)
abstract public int getRowCount()(Code)(Java Doc)
abstract protected RowIterator getRowIterator() throws AxionException(Code)(Java Doc)
public RowIterator getRowIterator(boolean readOnly) throws AxionException(Code)(Java Doc)
final public Sequence getSequence()(Code)(Java Doc)
final public String getType()(Code)(Java Doc)
public boolean hasColumn(ColumnIdentifier id)(Code)(Java Doc)
public boolean hasIndex(String name)(Code)(Java Doc)
public boolean isColumnIndexed(Column column)(Code)(Java Doc)
public boolean isPrimaryKeyConstraintExists(String columnName)(Code)(Java Doc)
public boolean isUniqueConstraintExists(String columnName)(Code)(Java Doc)
public RowDecorator makeRowDecorator()(Code)(Java Doc)
public TransactableTable makeTransactableTable()(Code)(Java Doc)
protected void notifyColumnsOfNewLobDir(File directory) throws AxionException(Code)(Java Doc)
abstract public void populateIndex(Index index) throws AxionException(Code)(Java Doc)
protected void readColumns(ObjectInputStream in) throws IOException, ClassNotFoundException(Code)(Java Doc)
protected void readConstraints(ObjectInputStream in, Database db) throws IOException, ClassNotFoundException, AxionException(Code)(Java Doc)
protected void recreateIndices() throws AxionException(Code)(Java Doc)
public void remount(File dir, boolean datafilesonly) throws AxionException(Code)(Java Doc)
public Constraint removeConstraint(String name)(Code)(Java Doc)
public void removeIndex(Index index) throws AxionException(Code)(Java Doc)
public void rename(String oldName, String newName) throws AxionException(Code)(Java Doc)
protected void setName(String name)(Code)(Java Doc)
public void setSequence(Sequence seq) throws AxionException(Code)(Java Doc)
protected void setType(String type)(Code)(Java Doc)
public void shutdown() throws AxionException(Code)(Java Doc)
public String toString()(Code)(Java Doc)
protected void truncateIndices() throws AxionException(Code)(Java Doc)
public void updateRow(Row oldrow, Row newrow) throws AxionException(Code)(Java Doc)
protected void writeColumns(ObjectOutputStream out) throws IOException(Code)(Java Doc)
protected void writeConstraints(ObjectOutputStream out) throws IOException(Code)(Java Doc)

Methods inherited from org.axiondb.engine.tables.AbstractBaseTable
protected void checkConstraints(RowEvent event, RowDecorator dec) throws AxionException(Code)(Java Doc)
protected void checkConstraints(RowEvent event, boolean deferred, RowDecorator dec) throws AxionException(Code)(Java Doc)
protected void checkConstraints(RowIterator oldRows, RowIterator newRows) throws AxionException(Code)(Java Doc)
public RowIterator getMatchingRows(List selectables, List values, boolean readOnly) throws AxionException(Code)(Java Doc)
protected boolean hasDeferredConstraint()(Code)(Java Doc)
protected boolean isDeferAll()(Code)(Java Doc)
public void migrate() throws AxionException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.