Java Doc for VersantEjbQueryImp.java in  » Testing » PolePosition-0.20 » com » versant » core » ejb » 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 » Testing » PolePosition 0.20 » com.versant.core.ejb 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.versant.core.ejb.VersantEjbQueryImp

VersantEjbQueryImp
final public class VersantEjbQueryImp implements Externalizable,Query(Code)
This is the implementation of a Query.



Constructor Summary
public  VersantEjbQueryImp()
     For Serialization.
public  VersantEjbQueryImp(EMProxy emProxy, String filter)
    
public  VersantEjbQueryImp(EMProxy pmProxy, int language)
     Create a new query for pmProxy.
public  VersantEjbQueryImp(EMProxy pmProxy, QueryDetails params)
     Create a new query for pmProxy using all the settings of params.

Method Summary
public  voidcheckParamCount(int n)
    
public  voidclose(Object queryResult)
    
public  voidcloseAll()
    
public  voidcompile()
    
public  voiddeclareImports(String imports)
    
public  voiddeclareParameters(String params)
    
public  voiddeclareVariables(String variables)
    
public  Objectexecute()
    
public  Objectexecute(Object p1)
    
public  Objectexecute(Object p1, Object p2)
    
public  Objectexecute(Object p1, Object p2, Object p3)
    
public  intexecuteUpdate()
    
final public  ObjectexecuteWithArray(Object[] parameters)
    
public  ObjectexecuteWithMap(Map parameters)
    
public  Class[]getEvictionClasses()
    
public  StringgetFetchGroup()
    
public  intgetFetchSize()
    
public  StringgetFilter()
    
public  StringgetGrouping()
    
public  booleangetIgnoreCache()
    
public  StringgetImports()
    
public  intgetMaxRows()
    
public  StringgetOrdering()
    
public  StringgetParameters()
    
public  PersistenceManagergetPersistenceManager()
    
public  VersantQueryPlangetPlan(Object[] parameters)
     Get the query plan for this query.
public  StringgetResult()
    
public  ListgetResultList()
    
public  ObjectgetSingleResult()
    
public  StringgetVariables()
    
public  voidinitialiseFrom(VersantEjbQueryImp clientQuery)
    
public  booleanisBounded()
    
public  booleanisCountStarOnSize()
    
public  booleanisRandomAccess()
    
public  booleanisUnique()
    
public  voidreadExternal(ObjectInput in)
    
public  voidsetBounded(boolean value)
    
public  voidsetCacheable(boolean on)
    
public  voidsetCandidates(Extent pcs)
    
public  voidsetCandidates(Collection pcs)
    
public  voidsetClass(Class cls)
    
public  voidsetCountStarOnSize(boolean on)
    
public  voidsetEvictionClasses(Class[] classes, boolean includeSubclasses)
    
public  voidsetEvictionClasses(int[] classIndexes)
    
public  voidsetFetchGroup(String fgName)
    
public  voidsetFetchSize(int value)
    
public  voidsetFilter(String filter)
    
public  QuerysetFirstResult(int startPosition)
    
public  QuerysetFlushMode(FlushModeType flushMode)
    
public  voidsetGrouping(String grouping)
    
public  QuerysetHint(String hintName, Object value)
    
public  voidsetIgnoreCache(boolean ignoreCache)
    
public  QuerysetMaxResults(int maxResult)
    
public  voidsetMaxRows(int amount)
    
public  voidsetOrdering(String ordering)
    
public  QuerysetParameter(String name, Object value)
    
public  QuerysetParameter(String name, Date value, TemporalType temporalType)
    
public  QuerysetParameter(String name, Calendar value, TemporalType temporalType)
    
public  QuerysetParameter(int position, Object value)
    
public  QuerysetParameter(int position, Date value, TemporalType temporalType)
    
public  QuerysetParameter(int position, Calendar value, TemporalType temporalType)
    
public  voidsetRandomAccess(boolean on)
    
public  voidsetResult(String result)
    
public  voidsetUnique(boolean unique)
     Specify that there is a single result of the query.
public  voidwriteExternal(ObjectOutput out)
    


Constructor Detail
VersantEjbQueryImp
public VersantEjbQueryImp()(Code)
For Serialization.



VersantEjbQueryImp
public VersantEjbQueryImp(EMProxy emProxy, String filter)(Code)



VersantEjbQueryImp
public VersantEjbQueryImp(EMProxy pmProxy, int language)(Code)
Create a new query for pmProxy. The ignoreCache setting is taken from the curremt setting of pmProxy.
Parameters:
  language - Query language
See Also:   com.versant.core.jdo.QueryDetails.LANGUAGE_JDOQL
See Also:   com.versant.core.jdo.QueryDetails.LANGUAGE_SQL
See Also:   com.versant.core.jdo.QueryDetails.LANGUAGE_EJBQL



VersantEjbQueryImp
public VersantEjbQueryImp(EMProxy pmProxy, QueryDetails params)(Code)
Create a new query for pmProxy using all the settings of params. This is used to create Query's from named queries in the meta data.




Method Detail
checkParamCount
public void checkParamCount(int n)(Code)
TODO: move to base class
Parameters:
  n -



close
public void close(Object queryResult)(Code)



closeAll
public void closeAll()(Code)



compile
public void compile()(Code)



declareImports
public void declareImports(String imports)(Code)



declareParameters
public void declareParameters(String params)(Code)



declareVariables
public void declareVariables(String variables)(Code)



execute
public Object execute()(Code)



execute
public Object execute(Object p1)(Code)



execute
public Object execute(Object p1, Object p2)(Code)



execute
public Object execute(Object p1, Object p2, Object p3)(Code)



executeUpdate
public int executeUpdate()(Code)



executeWithArray
final public Object executeWithArray(Object[] parameters)(Code)



executeWithMap
public Object executeWithMap(Map parameters)(Code)



getEvictionClasses
public Class[] getEvictionClasses()(Code)



getFetchGroup
public String getFetchGroup()(Code)



getFetchSize
public int getFetchSize()(Code)



getFilter
public String getFilter()(Code)



getGrouping
public String getGrouping()(Code)



getIgnoreCache
public boolean getIgnoreCache()(Code)



getImports
public String getImports()(Code)



getMaxRows
public int getMaxRows()(Code)



getOrdering
public String getOrdering()(Code)



getParameters
public String getParameters()(Code)



getPersistenceManager
public PersistenceManager getPersistenceManager()(Code)



getPlan
public VersantQueryPlan getPlan(Object[] parameters)(Code)
Get the query plan for this query. This will include the SQL and possibly also a query plan for the SQL from the database itself.



getResult
public String getResult()(Code)



getResultList
public List getResultList()(Code)



getSingleResult
public Object getSingleResult()(Code)



getVariables
public String getVariables()(Code)



initialiseFrom
public void initialiseFrom(VersantEjbQueryImp clientQuery)(Code)



isBounded
public boolean isBounded()(Code)



isCountStarOnSize
public boolean isCountStarOnSize()(Code)



isRandomAccess
public boolean isRandomAccess()(Code)



isUnique
public boolean isUnique()(Code)



readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException(Code)



setBounded
public void setBounded(boolean value)(Code)



setCacheable
public void setCacheable(boolean on)(Code)



setCandidates
public void setCandidates(Extent pcs)(Code)



setCandidates
public void setCandidates(Collection pcs)(Code)



setClass
public void setClass(Class cls)(Code)



setCountStarOnSize
public void setCountStarOnSize(boolean on)(Code)



setEvictionClasses
public void setEvictionClasses(Class[] classes, boolean includeSubclasses)(Code)



setEvictionClasses
public void setEvictionClasses(int[] classIndexes)(Code)



setFetchGroup
public void setFetchGroup(String fgName)(Code)



setFetchSize
public void setFetchSize(int value)(Code)



setFilter
public void setFilter(String filter)(Code)



setFirstResult
public Query setFirstResult(int startPosition)(Code)



setFlushMode
public Query setFlushMode(FlushModeType flushMode)(Code)



setGrouping
public void setGrouping(String grouping)(Code)



setHint
public Query setHint(String hintName, Object value)(Code)



setIgnoreCache
public void setIgnoreCache(boolean ignoreCache)(Code)



setMaxResults
public Query setMaxResults(int maxResult)(Code)



setMaxRows
public void setMaxRows(int amount)(Code)



setOrdering
public void setOrdering(String ordering)(Code)



setParameter
public Query setParameter(String name, Object value)(Code)



setParameter
public Query setParameter(String name, Date value, TemporalType temporalType)(Code)



setParameter
public Query setParameter(String name, Calendar value, TemporalType temporalType)(Code)



setParameter
public Query setParameter(int position, Object value)(Code)



setParameter
public Query setParameter(int position, Date value, TemporalType temporalType)(Code)



setParameter
public Query setParameter(int position, Calendar value, TemporalType temporalType)(Code)



setRandomAccess
public void setRandomAccess(boolean on)(Code)



setResult
public void setResult(String result)(Code)



setUnique
public void setUnique(boolean unique)(Code)
Specify that there is a single result of the query.



writeExternal
public void writeExternal(ObjectOutput out) throws IOException(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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