Java Doc for OptimizerFactory.java in  » Database-DBMS » db-derby-10.2 » org » apache » derby » iapi » sql » compile » 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 » db derby 10.2 » org.apache.derby.iapi.sql.compile 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.derby.iapi.sql.compile.OptimizerFactory

All known Subclasses:   org.apache.derby.impl.sql.compile.OptimizerFactoryImpl,
OptimizerFactory
public interface OptimizerFactory (Code)
This is simply the factory for creating an optimizer.

There is expected to be only one of these configured per database.



Field Summary
 StringMODULE
     Module name for the monitor's module locating system.


Method Summary
public  CostEstimategetCostEstimate()
     Return a new CostEstimate.
public  intgetMaxMemoryPerTable()
     Return the maxMemoryPerTable setting, this is used in optimizer, as well as subquery materialization at run time.
public  OptimizergetOptimizer(OptimizableList optimizableList, OptimizablePredicateList predicateList, DataDictionary dDictionary, RequiredRowOrdering requiredRowOrdering, int numTablesInQuery, LanguageConnectionContext lcc)
     Only one optimizer level should exist in the database, however, the connection may have multiple instances of that optimizer at a given time.
public  booleansupportsOptimizerTrace()
     Return whether or not the optimizer associated with this factory supports optimizer trace.

Field Detail
MODULE
String MODULE(Code)
Module name for the monitor's module locating system.





Method Detail
getCostEstimate
public CostEstimate getCostEstimate() throws StandardException(Code)
Return a new CostEstimate.
exception:
  StandardException - Thrown on error



getMaxMemoryPerTable
public int getMaxMemoryPerTable()(Code)
Return the maxMemoryPerTable setting, this is used in optimizer, as well as subquery materialization at run time. maxMemoryPerTable value



getOptimizer
public Optimizer getOptimizer(OptimizableList optimizableList, OptimizablePredicateList predicateList, DataDictionary dDictionary, RequiredRowOrdering requiredRowOrdering, int numTablesInQuery, LanguageConnectionContext lcc) throws StandardException(Code)
Only one optimizer level should exist in the database, however, the connection may have multiple instances of that optimizer at a given time.
Parameters:
  optimizableList - The list of Optimizables to optimize.
Parameters:
  predicateList - The list of unassigned OptimizablePredicates.
Parameters:
  dDictionary - The DataDictionary to use.
Parameters:
  requiredRowOrdering - The required ordering of the rows tocome out of the optimized result set
Parameters:
  numTablesInQuery - The number of tables in the current query
Parameters:
  lcc - The LanguageConnectionContextRESOLVE - We probably want to pass a subquery list, once we define anew interface for them, so that the Optimizer can out where to attachthe subqueries.
exception:
  StandardException - Thrown on error



supportsOptimizerTrace
public boolean supportsOptimizerTrace()(Code)
Return whether or not the optimizer associated with this factory supports optimizer trace. Whether or not the optimizer associated withthis factory supports optimizer trace.



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