Java Doc for StoreQuery.java in  » Database-ORM » openjpa » org » apache » openjpa » kernel » 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 » openjpa » org.apache.openjpa.kernel 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.openjpa.kernel.StoreQuery

All known Subclasses:   org.apache.openjpa.datacache.QueryCacheStoreQuery,  org.apache.openjpa.kernel.AbstractStoreQuery,
StoreQuery
public interface StoreQuery extends QueryOperations,Serializable(Code)
Component that executes queries against the datastore. For expression-based queries, consider subclassing ExpressionStoreManagerQuery .
author:
   Abe White
since:
   0.4.0

Inner Class :public static class Range
Inner Class :public static interface Executor

Field Summary
final public static  boolean[]EMPTY_BOOLEANS
    
final public static  Class[]EMPTY_CLASSES
    
final public static  ClassMetaData[]EMPTY_METAS
    
final public static  Object[]EMPTY_OBJECTS
    
final public static  LinkedMapEMPTY_PARAMS
    
final public static  String[]EMPTY_STRINGS
    


Method Summary
public  AggregateListenergetAggregateListener(String tag)
     Return the standard filter listener for the given tag, or null.
public  QueryContextgetContext()
     Return the query context that has been set.
public  FilterListenergetFilterListener(String tag)
     Return the standard filter listener for the given tag, or null.
public  voidinvalidateCompilation()
     Invalidate any internal compilation state.
public  ObjectnewCompilation()
     Create a new compilation for this query.
public  ObjectnewCompilationKey()
     Create a new key for caching compiled query information.
public  ExecutornewDataStoreExecutor(ClassMetaData meta, boolean subs)
     Return an executor for datastore execution of this query. Executors must be cachable and thread safe.
public  ExecutornewInMemoryExecutor(ClassMetaData meta, boolean subs)
     Return an executor for in-memory execution of this query. Executors must be cachable and thread safe.
public  voidpopulateFromCompilation(Object comp)
     Populate internal data from compilation.
public  booleanrequiresCandidateType()
     Whether this query requires a candidate class.
public  booleanrequiresParameterDeclarations()
     Whether this query requires parameters to be declared.
public  voidsetContext(QueryContext ctx)
     Set the current query context.
public  booleansetQuery(Object query)
     This is invoked when the user or a facade creates a new query with an object that the system does not recognize.
public  booleansupportsAbstractExecutors()
     Return true if this query supports execution against abstract or interface types.
public  booleansupportsDataStoreExecution()
     True if this query supports datastore execution, false if it can only run in memory.
public  booleansupportsInMemoryExecution()
     True if this query supports in-memory execution, false if it can only run against the datastore.
public  booleansupportsParameterDeclarations()
     Whether this query supports declared parameters.

Field Detail
EMPTY_BOOLEANS
final public static boolean[] EMPTY_BOOLEANS(Code)



EMPTY_CLASSES
final public static Class[] EMPTY_CLASSES(Code)



EMPTY_METAS
final public static ClassMetaData[] EMPTY_METAS(Code)



EMPTY_OBJECTS
final public static Object[] EMPTY_OBJECTS(Code)



EMPTY_PARAMS
final public static LinkedMap EMPTY_PARAMS(Code)



EMPTY_STRINGS
final public static String[] EMPTY_STRINGS(Code)





Method Detail
getAggregateListener
public AggregateListener getAggregateListener(String tag)(Code)
Return the standard filter listener for the given tag, or null.



getContext
public QueryContext getContext()(Code)
Return the query context that has been set.



getFilterListener
public FilterListener getFilterListener(String tag)(Code)
Return the standard filter listener for the given tag, or null.



invalidateCompilation
public void invalidateCompilation()(Code)
Invalidate any internal compilation state.



newCompilation
public Object newCompilation()(Code)
Create a new compilation for this query. May be null.



newCompilationKey
public Object newCompilationKey()(Code)
Create a new key for caching compiled query information. May be null.



newDataStoreExecutor
public Executor newDataStoreExecutor(ClassMetaData meta, boolean subs)(Code)
Return an executor for datastore execution of this query. Executors must be cachable and thread safe. If this class returns true from StoreQuery.supportsAbstractExecutors , the given metadata will always be for the candidate class of this query, or possibly null if the candidate class is not itself persistence capable (like an interface or abstract base class). Otherwise, the given type will be a mapped class.
Parameters:
  subs - whether to include dependent mapped subclasses in theresults; independent subclasses should never be included



newInMemoryExecutor
public Executor newInMemoryExecutor(ClassMetaData meta, boolean subs)(Code)
Return an executor for in-memory execution of this query. Executors must be cachable and thread safe. If this class returns true from StoreQuery.supportsAbstractExecutors , the given metadata will always be for the candidate class of this query, or possibly null if the candidate class is not itself persistence capable (like an interface or abstract base class). Otherwise, the given type will be a mapped class.
Parameters:
  subs - whether to include dependent mapped subclasses in theresults; independent subclasses should never be included



populateFromCompilation
public void populateFromCompilation(Object comp)(Code)
Populate internal data from compilation.



requiresCandidateType
public boolean requiresCandidateType()(Code)
Whether this query requires a candidate class.



requiresParameterDeclarations
public boolean requiresParameterDeclarations()(Code)
Whether this query requires parameters to be declared.



setContext
public void setContext(QueryContext ctx)(Code)
Set the current query context. This will be called before use.



setQuery
public boolean setQuery(Object query)(Code)
This is invoked when the user or a facade creates a new query with an object that the system does not recognize. Return true if the object is recognized by the store, false otherwise.



supportsAbstractExecutors
public boolean supportsAbstractExecutors()(Code)
Return true if this query supports execution against abstract or interface types. Returns false by default, meaning we will only request executors for persistent classes. In this case, we will automatically combine the results of the executors for all implementing classes if we execute a query for an interface for abstract type.



supportsDataStoreExecution
public boolean supportsDataStoreExecution()(Code)
True if this query supports datastore execution, false if it can only run in memory.



supportsInMemoryExecution
public boolean supportsInMemoryExecution()(Code)
True if this query supports in-memory execution, false if it can only run against the datastore.



supportsParameterDeclarations
public boolean supportsParameterDeclarations()(Code)
Whether this query supports declared parameters.



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