Java Doc for Table.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.Table

All known Subclasses:   org.axiondb.engine.tables.MemoryTable,  org.axiondb.engine.tables.AbstractBaseTable,  org.axiondb.engine.tables.BaseTable,  org.axiondb.engine.tables.BaseDiskTable,  org.axiondb.engine.tables.DiskTable,  org.axiondb.engine.tables.TableView,
Table
public interface Table extends RowSource(Code)
A database table.
version:
   $Revision: 1.61 $ $Date: 2007/11/13 19:04:02 $
author:
   Chuck Burdick
author:
   Rodney Waldhoff
author:
   Ahimanikya Satapathy


Field Summary
final public static  StringREGULAR_TABLE_TYPE
    
final public static  StringSYSTEM_TABLE_TYPE
    


Method Summary
 voidaddColumn(Column col)
     Add the given Column to this table.
 voidaddConstraint(Constraint constraint)
    
 voidaddIndex(Index index)
     Add an index, associating it with a Column , and adding it as a org.axiondb.TableModificationListener to the table.
 voidaddRow(Row row)
     Insert the given Row .
 voidaddTableModificationListener(TableModificationListener listener)
    
 voidapplyDeletes(IntCollection rowids)
     Remove the specified rows from this table and any associated indices.
 voidapplyInserts(RowCollection rows)
     Insert the given rows into this table and any associated indices.
 voidapplyUpdates(RowCollection rows)
     Update the given rows in this table and any associated indices.
 voidcheckpoint()
    
 voiddeleteRow(Row row)
     Delete the given Row .
 voiddrop()
     Drop this table from the database.
 voidfreeRowId(int id)
     Un-reserve a row id.
 ColumngetColumn(int index)
     Return the Column corresponding to the given zero-based index .
 ColumngetColumn(String name)
     Return the Column for the given name .
 intgetColumnCount()
     Return the number of Column s I contain.
 ListgetColumnIdentifiers()
     Return an readonly List over the ColumnIdentifier ColumnIdentifiers for my Column s.
 intgetColumnIndex(String name)
     Return the zero-based index of the Column with the given name .
 ConstraintgetConstraint(String name)
    
 IteratorgetConstraints()
    
 IndexgetIndexForColumn(Column column)
     Return the first Index that pertains to the given Column , or null if no such Index exists.
 RowIteratorgetIndexedRows(Selectable where, boolean readOnly)
    
 RowIteratorgetIndexedRows(RowSource source, Selectable where, boolean readOnly)
    
 Iterator<Index>getIndices()
     Obtain an Iterator over my indices.
 RowIteratorgetMatchingRows(List selectables, List values, boolean readOnly)
     Obtain an RowIterator iterator over my Row s where each Selectable Selectable in the selectable List listSelectable.evaluate evaluates to the corresponding value in the value List list .

This is functionally similiar to executing a SELECT over this table where selectable[i] = value[i] for each value of i .

 StringgetName()
     Get the name of this table.
 intgetNextRowId()
     Reserve a row id.
 intgetRowCount()
     Return the number of Row s I contain.
 RowIteratorgetRowIterator(boolean readOnly)
     Obtain an RowIterator iterator over my Row s.
 SequencegetSequence()
    
 Iterator<TableModificationListener>getTableModificationListeners()
    
 StringgetType()
     Get the type of this table.
 booleanhasColumn(ColumnIdentifier id)
    
 booleanhasIndex(String name)
    
 booleanisColumnIndexed(Column column)
    
 booleanisPrimaryKeyConstraintExists(String columnName)
    
 booleanisUniqueConstraintExists(String columnName)
    
 RowDecoratormakeRowDecorator()
    
 TransactableTablemakeTransactableTable()
     Create a TransactableTable for this table.
 voidmigrate()
    
 voidpopulateIndex(Index index)
     Populate an Index , adding my current rows to it.
 voidremount(File dir, boolean dataOnly)
     Notify this table that its disk-location has moved.
 ConstraintremoveConstraint(String name)
    
 voidremoveIndex(Index index)
    
 voidremoveTableModificationListener(TableModificationListener listener)
    
 voidrename(String oldName, String newName)
    
 voidsetDeferAllConstraints(boolean deferAll)
    
 voidsetSequence(Sequence seq)
    
 voidshutdown()
     The database is shutting down, shutdown this table also.
 voidtruncate()
     Unconditionally delete all rows in this table.
 voidupdateRow(Row oldrow, Row newrow)
     Update the given Row .

Field Detail
REGULAR_TABLE_TYPE
final public static String REGULAR_TABLE_TYPE(Code)



SYSTEM_TABLE_TYPE
final public static String SYSTEM_TABLE_TYPE(Code)





Method Detail
addColumn
void addColumn(Column col) throws AxionException(Code)
Add the given Column to this table.



addConstraint
void addConstraint(Constraint constraint) throws AxionException(Code)



addIndex
void addIndex(Index index) throws AxionException(Code)
Add an index, associating it with a Column , and adding it as a org.axiondb.TableModificationListener to the table.
See Also:   Table.addIndex
See Also:   Table.addTableModificationListener
See Also:   Table.getIndexForColumn
See Also:   Table.isColumnIndexed
See Also:   Table.populateIndex
Parameters:
  index -
exception:
  AxionException -



addRow
void addRow(Row row) throws AxionException(Code)
Insert the given Row .



addTableModificationListener
void addTableModificationListener(TableModificationListener listener)(Code)
Adds a listener to receive events on this table



applyDeletes
void applyDeletes(IntCollection rowids) throws AxionException(Code)
Remove the specified rows from this table and any associated indices. This process is allowed to be destructive, the table my delete values from the given list.



applyInserts
void applyInserts(RowCollection rows) throws AxionException(Code)
Insert the given rows into this table and any associated indices. This process is allowed to be destructive, the table my delete rows from the given list.
Parameters:
  rows - a collection of Rows
throws:
  AxionException -



applyUpdates
void applyUpdates(RowCollection rows) throws AxionException(Code)
Update the given rows in this table and any associated indices. This process is allowed to be destructive, the table my delete rows from the given list.



checkpoint
void checkpoint() throws AxionException(Code)



deleteRow
void deleteRow(Row row) throws AxionException(Code)
Delete the given Row .



drop
void drop() throws AxionException(Code)
Drop this table from the database.



freeRowId
void freeRowId(int id)(Code)
Un-reserve a row id.



getColumn
Column getColumn(int index)(Code)
Return the Column corresponding to the given zero-based index .



getColumn
Column getColumn(String name)(Code)
Return the Column for the given name .



getColumnCount
int getColumnCount()(Code)
Return the number of Column s I contain.



getColumnIdentifiers
List getColumnIdentifiers()(Code)
Return an readonly List over the ColumnIdentifier ColumnIdentifiers for my Column s.



getColumnIndex
int getColumnIndex(String name) throws AxionException(Code)
Return the zero-based index of the Column with the given name .



getConstraint
Constraint getConstraint(String name)(Code)



getConstraints
Iterator getConstraints()(Code)



getIndexForColumn
Index getIndexForColumn(Column column)(Code)
Return the first Index that pertains to the given Column , or null if no such Index exists. the pertinent Column, or null if no suchIndexexists



getIndexedRows
RowIterator getIndexedRows(Selectable where, boolean readOnly) throws AxionException(Code)

Parameters:
  readOnly - when true, the caller does not expect to be able tomodify (i.e., call RowIterator.setor RowIterator.removeon)the returned RowIterator, the returned iterator may beunmodifiable.



getIndexedRows
RowIterator getIndexedRows(RowSource source, Selectable where, boolean readOnly) throws AxionException(Code)



getIndices
Iterator<Index> getIndices()(Code)
Obtain an Iterator over my indices.



getMatchingRows
RowIterator getMatchingRows(List selectables, List values, boolean readOnly) throws AxionException(Code)
Obtain an RowIterator iterator over my Row s where each Selectable Selectable in the selectable List listSelectable.evaluate evaluates to the corresponding value in the value List list .

This is functionally similiar to executing a SELECT over this table where selectable[i] = value[i] for each value of i . The return RowIterator is not modifiable.




getName
String getName()(Code)
Get the name of this table.



getNextRowId
int getNextRowId()(Code)
Reserve a row id.



getRowCount
int getRowCount()(Code)
Return the number of Row s I contain.



getRowIterator
RowIterator getRowIterator(boolean readOnly) throws AxionException(Code)
Obtain an RowIterator iterator over my Row s.
Parameters:
  readOnly - when true, the caller does not expect to be able tomodify (i.e., call RowIterator.setor RowIterator.removeon)the returned RowIterator, the returned iterator may beunmodifiable.



getSequence
Sequence getSequence()(Code)



getTableModificationListeners
Iterator<TableModificationListener> getTableModificationListeners()(Code)



getType
String getType()(Code)
Get the type of this table.



hasColumn
boolean hasColumn(ColumnIdentifier id)(Code)
Indicate whether the ColumnIdentifier references a column in this table



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



isColumnIndexed
boolean isColumnIndexed(Column column)(Code)
Check to see if an Index exists for the given Column
Parameters:
  column - Columnto check true iff there is an existing Indexfor the given Column



isPrimaryKeyConstraintExists
boolean isPrimaryKeyConstraintExists(String columnName)(Code)
check if primary constraint exists on a column
Parameters:
  ColumnName - name of the column if PrimaryKeyConstraint exists on the column



isUniqueConstraintExists
boolean isUniqueConstraintExists(String columnName)(Code)
check if unique constraint exists on a column
Parameters:
  columnName - name of the columm true if uniqueConstraint exists on the column



makeRowDecorator
RowDecorator makeRowDecorator()(Code)



makeTransactableTable
TransactableTable makeTransactableTable()(Code)
Create a TransactableTable for this table.



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



populateIndex
void populateIndex(Index index) throws AxionException(Code)
Populate an Index , adding my current rows to it. Does not Table.addIndex add the index.
See Also:   Table.addIndex
Parameters:
  index -
exception:
  AxionException -



remount
void remount(File dir, boolean dataOnly) throws AxionException(Code)
Notify this table that its disk-location has moved.



removeConstraint
Constraint removeConstraint(String name)(Code)



removeIndex
void removeIndex(Index index) throws AxionException(Code)
Remove an index, both from the indices and as a TableModificationListener
Parameters:
  index -
exception:
  AxionException -



removeTableModificationListener
void removeTableModificationListener(TableModificationListener listener)(Code)
Removes a listener so that it stops receiving events on this table



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



setDeferAllConstraints
void setDeferAllConstraints(boolean deferAll)(Code)



setSequence
void setSequence(Sequence seq) throws AxionException(Code)



shutdown
void shutdown() throws AxionException(Code)
The database is shutting down, shutdown this table also.



truncate
void truncate() throws AxionException(Code)
Unconditionally delete all rows in this table. true if truncation succeeded; false otherwise



updateRow
void updateRow(Row oldrow, Row newrow) throws AxionException(Code)
Update the given Row .



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