Source Code Cross Referenced for DBQueryEngine.java in  » Database-Client » DBBrowser » org » dbbrowser » db » engine » queryengine » 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 Client » DBBrowser » org.dbbrowser.db.engine.queryengine 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package org.dbbrowser.db.engine.queryengine;
002:
003:        import java.util.List;
004:
005:        import org.dbbrowser.db.engine.exception.DBEngineException;
006:        import org.dbbrowser.db.engine.model.DBTable;
007:        import org.dbbrowser.db.engine.model.View;
008:        import org.dbbrowser.db.engine.model.filter.Filter;
009:
010:        /**
011:         * The interface for the engine which runs the SQL queries
012:         * @author amangat
013:         *
014:         */
015:        public interface DBQueryEngine {
016:            /**
017:             * Returns a list of schemas in the Database.  It is empty if there are no schemas for the database.
018:             * @return - a list of Strings
019:             * @throws DBEngineException
020:             */
021:            public List listSchemas() throws DBEngineException;
022:
023:            /**
024:             * Returns a list of views accessible to the user.  It is empty if there are no views for the user.
025:             * @return - a list of View objects
026:             * @throws DBEngineException
027:             */
028:            public List listViews() throws DBEngineException;
029:
030:            /**
031:             * Lists the indexes
032:             * @return
033:             * @throws DBEngineException
034:             */
035:            public DBTable listIndexes() throws DBEngineException;
036:
037:            /**
038:             * Lists the constraints
039:             * @return
040:             * @throws DBEngineException
041:             */
042:            public DBTable listConstraints() throws DBEngineException;
043:
044:            /**
045:             * Returns the SQL used to create a view
046:             * @return - a String
047:             * @throws DBEngineException
048:             */
049:            public String getSQLForView(View view) throws DBEngineException;
050:
051:            /**
052:             * Returns a list of tables in the schema
053:             * @param schemaName
054:             * @return - a list of Strings
055:             * @throws DBEngineException
056:             */
057:            public List listTablesInSchema(String schemaName)
058:                    throws DBEngineException;
059:
060:            /**
061:             * Returns a list of columns in the table
062:             * @param schemaName
063:             * @param tableName
064:             * @return - a list of Strings
065:             * @throws DBEngineException
066:             */
067:            public List listColumnsInATable(String schemaName, String tableName)
068:                    throws DBEngineException;
069:
070:            /**
071:             * Get all the data in a table
072:             * @param schemaName
073:             * @param tableName
074:             * @return
075:             * @throws DBEngineException
076:             */
077:            public DBTable getAllDataInATable(String schemaName,
078:                    String tableName, Integer offset,
079:                    Integer numberOfRowsToReturn) throws DBEngineException;
080:
081:            /**
082:             * Returns the filtered data in the table
083:             * @param schemaName
084:             * @param tableName
085:             * @param filter
086:             * @return
087:             * @throws DBEngineException
088:             */
089:            public DBTable getFilteredDataInATable(String schemaName,
090:                    String tableName, Filter filter) throws DBEngineException;
091:
092:            /**
093:             * Returns the list of column names which are primary keys for the table
094:             * @param schemaName
095:             * @param tableName
096:             * @return a list of strings - names of primary key columns
097:             * @throws DBEngineException
098:             */
099:            public List getPrimaryKeyColumnNames(String schemaName,
100:                    String tableName) throws DBEngineException;
101:
102:            /**
103:             * Return the number of rows in a table
104:             * @param schemaName
105:             * @param tableName
106:             * @return
107:             * @throws DBEngineException
108:             */
109:            public Integer getRowCount(String schemaName, String tableName)
110:                    throws DBEngineException;
111:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.