Java Doc for FetchPlanItf.java in  » Database-ORM » Speedo_1.4.5 » org » objectweb » speedo » mim » api » 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 ORM » Speedo_1.4.5 » org.objectweb.speedo.mim.api 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.objectweb.speedo.mim.api.FetchPlanItf

All known Subclasses:   org.objectweb.speedo.mim.lib.SpeedoFetchPlan,
FetchPlanItf
public interface FetchPlanItf (Code)
Fetch groups are activated using methods on this interface. An instance of this interface can be obtained from PersistenceManager.getFetchPlan , Extent.getFetchPlan , and Query.getFetchPlan . When a Query or Extent is retrieved from a PersistenceManager, its FetchPlan is initialized to the same settings as that of the PersistenceManager. Subsequent modifications of the Query or Extent's FetchPlan are not reflected in the FetchPlan of the PersistenceManager.


Field Summary
final public static  StringALL
     For use with FetchPlanItf.speedoAddGroup(String) , FetchPlanItf.speedoRemoveGroup(String) , and the various FetchPlanItf.speedoSetGroups calls.
final public static  StringDEFAULT
     For use with FetchPlanItf.speedoAddGroup(String) , FetchPlanItf.speedoRemoveGroup(String) , and the various FetchPlanItf.speedoSetGroups calls.
final public static  intFETCH_SIZE_GREEDY
     For use with FetchPlanItf.setFetchSize .
final public static  intFETCH_SIZE_OPTIMAL
     For use with FetchPlanItf.setFetchSize .
final public static  StringNONE
     For use with FetchPlanItf.speedoAddGroup(String) , FetchPlanItf.speedoRemoveGroup(String) , and the various FetchPlanItf.speedoSetGroups calls.
final public static  StringVALUES
     For use with FetchPlanItf.speedoAddGroup(String) , FetchPlanItf.speedoRemoveGroup(String) , and the various FetchPlanItf.speedoSetGroups calls.


Method Summary
 FetchPlanItfspeedoAddGroup(String fetchGroupName)
     Add the fetch group to the set of active fetch groups.
 FetchPlanItfspeedoClearGroups()
     Remove all active groups leaving no active fetch group.
 intspeedoGetFetchSize()
     Return the fetch size, or FetchPlanItf.FETCH_SIZE_OPTIMAL if not set, or FetchPlanItf.FETCH_SIZE_GREEDY to fetch all.
 CollectionspeedoGetGroups()
     Return the names of all active fetch groups.
 FetchPlanItfspeedoRemoveGroup(String fetchGroupName)
     Remove the fetch group from the set active fetch groups.
 FetchPlanItfspeedoSetFetchSize(int fetchSize)
     Set the fetch size for large result set support.
 FetchPlanItfspeedoSetGroup(String fetchGroupName)
     Set the active fetch groups to the single named fetch group.
 FetchPlanItfspeedoSetGroups(Collection fetchGroupNames)
     Set a collection of groups.
 FetchPlanItfspeedoSetGroups(String[] fetchGroupNames)
     Set a collection of groups.

Field Detail
ALL
final public static String ALL(Code)
For use with FetchPlanItf.speedoAddGroup(String) , FetchPlanItf.speedoRemoveGroup(String) , and the various FetchPlanItf.speedoSetGroups calls. Value: all.



DEFAULT
final public static String DEFAULT(Code)
For use with FetchPlanItf.speedoAddGroup(String) , FetchPlanItf.speedoRemoveGroup(String) , and the various FetchPlanItf.speedoSetGroups calls. Value: default.



FETCH_SIZE_GREEDY
final public static int FETCH_SIZE_GREEDY(Code)
For use with FetchPlanItf.setFetchSize . Value: -1.



FETCH_SIZE_OPTIMAL
final public static int FETCH_SIZE_OPTIMAL(Code)
For use with FetchPlanItf.setFetchSize . Value: 0.



NONE
final public static String NONE(Code)
For use with FetchPlanItf.speedoAddGroup(String) , FetchPlanItf.speedoRemoveGroup(String) , and the various FetchPlanItf.speedoSetGroups calls. Value: none.



VALUES
final public static String VALUES(Code)
For use with FetchPlanItf.speedoAddGroup(String) , FetchPlanItf.speedoRemoveGroup(String) , and the various FetchPlanItf.speedoSetGroups calls. Value: values.





Method Detail
speedoAddGroup
FetchPlanItf speedoAddGroup(String fetchGroupName)(Code)
Add the fetch group to the set of active fetch groups. the FetchPlan



speedoClearGroups
FetchPlanItf speedoClearGroups()(Code)
Remove all active groups leaving no active fetch group. the FetchPlan



speedoGetFetchSize
int speedoGetFetchSize()(Code)
Return the fetch size, or FetchPlanItf.FETCH_SIZE_OPTIMAL if not set, or FetchPlanItf.FETCH_SIZE_GREEDY to fetch all. the fetch size



speedoGetGroups
Collection speedoGetGroups()(Code)
Return the names of all active fetch groups. the names of active fetch groups the FetchPlan



speedoRemoveGroup
FetchPlanItf speedoRemoveGroup(String fetchGroupName)(Code)
Remove the fetch group from the set active fetch groups. the FetchPlan



speedoSetFetchSize
FetchPlanItf speedoSetFetchSize(int fetchSize)(Code)
Set the fetch size for large result set support. Use FetchPlanItf.FETCH_SIZE_OPTIMAL to unset, and FetchPlanItf.FETCH_SIZE_GREEDY to force loading of everything.
Parameters:
  fetchSize - the fetch size the FetchPlan



speedoSetGroup
FetchPlanItf speedoSetGroup(String fetchGroupName)(Code)
Set the active fetch groups to the single named fetch group.
Parameters:
  fetchGroupName - the single fetch group the FetchPlan



speedoSetGroups
FetchPlanItf speedoSetGroups(Collection fetchGroupNames)(Code)
Set a collection of groups.
Parameters:
  fetchGroupNames - a collection of names of fetch groups the FetchPlan



speedoSetGroups
FetchPlanItf speedoSetGroups(String[] fetchGroupNames)(Code)
Set a collection of groups.
Parameters:
  fetchGroupNames - a String array of names of fetch groups the FetchPlan



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