Java Doc for Database.java in  » Database-DBMS » axion » org » axiondb » 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 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.axiondb.Database

All known Subclasses:   org.axiondb.engine.BaseDatabase,  org.axiondb.engine.DiskDatabase,
Database
public interface Database (Code)
An Axion database.
version:
   $Revision: 1.40 $ $Date: 2005/12/20 18:32:40 $
author:
   Rodney Waldhoff
author:
   Chuck Burdick
author:
   Amrish Lal
author:
   Ahimanikya Satapathy


Field Summary
public static  StringCOMMIT_SIZE
    


Method Summary
 voidaddDatabaseModificationListener(DatabaseModificationListener l)
    
 voidaddIndex(Index index, Table table)
     Add the given Index to this database, associated with the given table.
 voidaddIndex(Index index, Table table, boolean doPopulate)
     Add the given Index to this database, associating it with the given table and (optionally) populating it.
 voidaddTable(Table table)
     Add the given Table to this database.
 voidcheckpoint()
     Make sure any modified state or data has been written to disk.
 voidcreateDatabaseLink(DatabaseLink dblink)
    
 voidcreateSequence(Sequence seq)
    
 voiddropDatabaseLink(String name)
    
 voiddropDependentExternalDBTable(List tables)
    
 voiddropDependentViews(List views)
    
 voiddropIndex(String name)
     Drop the given Index from this database.
 voiddropSequence(String name)
     Drop the specified Sequence from this database.
 voiddropTable(String name)
     Drop the specified Table from this database.
 FilegetDBDirectory()
     Get the directory into which table information is stored, or null.
 DataTypegetDataType(String name)
     Get the DataType currently registered for the given name, or null.
 DatabaseLinkgetDatabaseLink(String name)
    
 ListgetDatabaseModificationListeners()
    
 ListgetDependentExternalDBTable(String name)
    
 ListgetDependentViews(String tableName)
    
 ConcreteFunctiongetFunction(String name)
    
 ObjectgetGlobalVariable(String key)
    
 IndexFactorygetIndexFactory(String name)
     Get the IndexFactory currently registered for the given name, or null.
 StringgetName()
     Returns the name of this Database.
 SequencegetSequence(String name)
     Get the specified Sequence , or null if no such sequence can be found.
 TablegetTable(String name)
     Get the specified Table , or null if no such table can be found.
 TablegetTable(TableIdentifier table)
     Get the specified Table , or null if no such table can be found.
 TableFactorygetTableFactory(String name)
     Get the TableFactory currently registered for the given name, or null.
 TransactionManagergetTransactionManager()
     Get the TransactionManager for this database.
 booleanhasDatabaseLink(String name)
    
 booleanhasIndex(String name)
     Returns true iff the given Index exists.
 booleanhasSequence(String name)
    
 booleanhasTable(String name)
    
 booleanhasTable(TableIdentifier table)
    
 booleanisReadOnly()
    
 voidmigrate(int version)
    
 voidremount(File newdir)
     Notify this database that its root directory has been moved to the given location.
 voidrenameTable(String oldName, String newName)
    
 voidshutdown()
     Close this database and free any resources associated with it.
 voidtableAltered(Table t)
     Update metadata tables since this table has changed.

Field Detail
COMMIT_SIZE
public static String COMMIT_SIZE(Code)





Method Detail
addDatabaseModificationListener
void addDatabaseModificationListener(DatabaseModificationListener l)(Code)
Adds a listener to receive events on this database



addIndex
void addIndex(Index index, Table table) throws AxionException(Code)
Add the given Index to this database, associated with the given table.



addIndex
void addIndex(Index index, Table table, boolean doPopulate) throws AxionException(Code)
Add the given Index to this database, associating it with the given table and (optionally) populating it.
Parameters:
  index - Index to be added and (optionally) populated
Parameters:
  table - Table to be indexed
Parameters:
  doPopulate - true if index should be populated by theappropriate column in table; false if indexshould be left as-is.
throws:
  AxionException - if error occurs during addition and/or population ofindex



addTable
void addTable(Table table) throws AxionException(Code)
Add the given Table to this database.



checkpoint
void checkpoint() throws AxionException(Code)
Make sure any modified state or data has been written to disk.



createDatabaseLink
void createDatabaseLink(DatabaseLink dblink) throws AxionException(Code)



createSequence
void createSequence(Sequence seq) throws AxionException(Code)
Create a numeric sequence



dropDatabaseLink
void dropDatabaseLink(String name) throws AxionException(Code)



dropDependentExternalDBTable
void dropDependentExternalDBTable(List tables) throws AxionException(Code)



dropDependentViews
void dropDependentViews(List views) throws AxionException(Code)



dropIndex
void dropIndex(String name) throws AxionException(Code)
Drop the given Index from this database.



dropSequence
void dropSequence(String name) throws AxionException(Code)
Drop the specified Sequence from this database.

Sequence name matching is case-insensitive.




dropTable
void dropTable(String name) throws AxionException(Code)
Drop the specified Table from this database.

Table name matching is case-insensitive.




getDBDirectory
File getDBDirectory()(Code)
Get the directory into which table information is stored, or null.



getDataType
DataType getDataType(String name)(Code)
Get the DataType currently registered for the given name, or null.



getDatabaseLink
DatabaseLink getDatabaseLink(String name)(Code)



getDatabaseModificationListeners
List getDatabaseModificationListeners()(Code)
Returns all listeners set to receive events on this database



getDependentExternalDBTable
List getDependentExternalDBTable(String name)(Code)



getDependentViews
List getDependentViews(String tableName)(Code)



getFunction
ConcreteFunction getFunction(String name)(Code)



getGlobalVariable
Object getGlobalVariable(String key)(Code)



getIndexFactory
IndexFactory getIndexFactory(String name)(Code)
Get the IndexFactory currently registered for the given name, or null.



getName
String getName()(Code)
Returns the name of this Database.



getSequence
Sequence getSequence(String name)(Code)
Get the specified Sequence , or null if no such sequence can be found.

Sequence name matching is case-insensitive.




getTable
Table getTable(String name) throws AxionException(Code)
Get the specified Table , or null if no such table can be found.

Table name matching is case-insensitive.




getTable
Table getTable(TableIdentifier table) throws AxionException(Code)
Get the specified Table , or null if no such table can be found.

Table name matching is case-insensitive.




getTableFactory
TableFactory getTableFactory(String name)(Code)
Get the TableFactory currently registered for the given name, or null.



getTransactionManager
TransactionManager getTransactionManager()(Code)
Get the TransactionManager for this database.



hasDatabaseLink
boolean hasDatabaseLink(String name) throws AxionException(Code)



hasIndex
boolean hasIndex(String name) throws AxionException(Code)
Returns true iff the given Index exists.



hasSequence
boolean hasSequence(String name) throws AxionException(Code)



hasTable
boolean hasTable(String name) throws AxionException(Code)



hasTable
boolean hasTable(TableIdentifier table) throws AxionException(Code)



isReadOnly
boolean isReadOnly()(Code)
Is this database read-only?



migrate
void migrate(int version) throws AxionException(Code)
Migrate from older version to newer version for this database



remount
void remount(File newdir) throws AxionException(Code)
Notify this database that its root directory has been moved to the given location. (E.g., the CD containing the data for a CD-resident database has changed drives.)



renameTable
void renameTable(String oldName, String newName) throws AxionException(Code)



shutdown
void shutdown() throws AxionException(Code)
Close this database and free any resources associated with it.



tableAltered
void tableAltered(Table t) throws AxionException(Code)
Update metadata tables since this table has changed.



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