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


java.lang.Object
   org.objectweb.speedo.query.lib.AbstractCompiledQuery
      org.objectweb.speedo.query.jdo.JDOAbstractCompiledQuery

All known Subclasses:   org.objectweb.speedo.query.jdo.JDOCompiledSelectQuery,  org.objectweb.speedo.query.jdo.JDOCompiledDeleteQuery,
JDOAbstractCompiledQuery
abstract public class JDOAbstractCompiledQuery extends AbstractCompiledQuery (Code)


Field Summary
protected  LoggerfilterParserLogger
    
protected  Maphparams
     vparams, hparams and hvars are internal objects to manipulate the list of parameters, and the list of variables.
protected  Maphvars
    
protected  MapparamName2paramClass
    
protected  JDOQueryDefinitionImplqd
    
protected  LoggervarParserlogger
    


Method Summary
public  voiddefineQuery(JDOQueryDefinitionImpl _qd)
    
public  Objectexecute(Object[] a, POManagerItf pm, QueryDefinition userqd)
     evaluate the query with a single parameter which is a array of object parameters.
public  Objectexecute(Map m, POManagerItf pm, QueryDefinition userqd)
     evaluate the query with a single parameter which is a Map of object parameters.
abstract protected  ObjectexecuteQT(JDOPOManagerItf pm, ParameterOperand[] pos, QueryDefinition userqd)
    
protected  voidflushCache(JDOPOManagerItf pm)
    
public  ObjectgetCeIdentifier()
    
protected  ClassgetClass(String classname)
    
public synchronized  QueryDefinitiongetDefinition()
    
public  voidinit(Logger l, Logger logParserVar, Logger logParserFil, PMapper m, PrefetchBufferFactory pbf, JormFactory _jf)
    
public  booleanisPrefetchResult()
    
protected  QueryTreeoptimize(QueryTree qt, boolean debug)
    
public  voidsetMapper(PMapper m)
    
protected  voidtoHashtableParams(String stringToHash, String separator)
    
protected  voidtoHashtableVars(String stringToHash, String separator)
    
protected  voidtreatParameter(ParameterOperand po, Object value)
    

Field Detail
filterParserLogger
protected Logger filterParserLogger(Code)



hparams
protected Map hparams(Code)
vparams, hparams and hvars are internal objects to manipulate the list of parameters, and the list of variables.



hvars
protected Map hvars(Code)



paramName2paramClass
protected Map paramName2paramClass(Code)



qd
protected JDOQueryDefinitionImpl qd(Code)
Fields from javax.jdo.Query



varParserlogger
protected Logger varParserlogger(Code)





Method Detail
defineQuery
public void defineQuery(JDOQueryDefinitionImpl _qd)(Code)



execute
public Object execute(Object[] a, POManagerItf pm, QueryDefinition userqd) throws SpeedoException, MedorException, ExpressionException(Code)
evaluate the query with a single parameter which is a array of object parameters.
Parameters:
  pm - the persistence manager object
Parameters:
  a - the array parameter of the query a Collection of result objects
throws:
  org.objectweb.medor.api.EvaluationException -
throws:
  org.objectweb.medor.api.MedorException -



execute
public Object execute(Map m, POManagerItf pm, QueryDefinition userqd) throws SpeedoException, MedorException, ExpressionException(Code)
evaluate the query with a single parameter which is a Map of object parameters.
Parameters:
  pm - the persistence manager object
Parameters:
  m - the map parameter of the query a Collection of result objects
throws:
  org.objectweb.medor.api.EvaluationException -
throws:
  org.objectweb.medor.api.MedorException -



executeQT
abstract protected Object executeQT(JDOPOManagerItf pm, ParameterOperand[] pos, QueryDefinition userqd) throws EvaluationException, MedorException, SpeedoException(Code)



flushCache
protected void flushCache(JDOPOManagerItf pm)(Code)



getCeIdentifier
public Object getCeIdentifier()(Code)



getClass
protected Class getClass(String classname)(Code)



getDefinition
public synchronized QueryDefinition getDefinition()(Code)



init
public void init(Logger l, Logger logParserVar, Logger logParserFil, PMapper m, PrefetchBufferFactory pbf, JormFactory _jf)(Code)



isPrefetchResult
public boolean isPrefetchResult()(Code)



optimize
protected QueryTree optimize(QueryTree qt, boolean debug) throws MedorException, ExpressionException(Code)



setMapper
public void setMapper(PMapper m)(Code)



toHashtableParams
protected void toHashtableParams(String stringToHash, String separator)(Code)
Hash a String, and compute a Hashtable example: ("String name, Float salary, Employee boss", ",") keys | values --------------------- "name" | "String" "salary" | "Float" "boss" | "Employee"
Parameters:
  stringToHash - the String to hash
Parameters:
  separator - the separator to tokenize



toHashtableVars
protected void toHashtableVars(String stringToHash, String separator)(Code)



treatParameter
protected void treatParameter(ParameterOperand po, Object value) throws SpeedoException, ExpressionException(Code)



Fields inherited from org.objectweb.speedo.query.lib.AbstractCompiledQuery
protected long age(Code)(Java Doc)
protected ClassLoader classLoader(Code)(Java Doc)
protected int fixCount(Code)(Java Doc)
protected JormFactory jf(Code)(Java Doc)
protected Logger logger(Code)(Java Doc)
protected DelegatePMapper mapper(Code)(Java Doc)
protected Collection pncParams(Code)(Java Doc)
protected PrefetchBufferFactory prefetchBufferFactory(Code)(Java Doc)
protected short status(Code)(Java Doc)
protected UserCache userCache(Code)(Java Doc)
protected Operand[] userCacheIndexes(Code)(Java Doc)

Methods inherited from org.objectweb.speedo.query.lib.AbstractCompiledQuery
public boolean accept(org.objectweb.perseus.persistence.api.State ce)(Code)(Java Doc)
protected void assignMapper(QueryTree qt) throws SpeedoException(Code)(Java Doc)
public void fixCe()(Code)(Java Doc)
public long getCeAge()(Code)(Java Doc)
public int getCeFixCount()(Code)(Java Doc)
public Object getCeObject()(Code)(Java Doc)
protected boolean getFieldComparaison(Expression e, Map field2value)(Code)(Java Doc)
public Logger getLogger()(Code)(Java Doc)
public PMapper getMapper()(Code)(Java Doc)
protected PType getPType(String name)(Code)(Java Doc)
public PrefetchBufferFactory getPrefetchBufferFactory()(Code)(Java Doc)
public short getStatus()(Code)(Java Doc)
public void init(Logger l, PMapper m, PrefetchBufferFactory pbf, JormFactory _jf)(Code)(Java Doc)
public void setCeAge(long _age)(Code)(Java Doc)
public void setJormFactory(JormFactory jf)(Code)(Java Doc)
abstract public void setMapper(PMapper m)(Code)(Java Doc)
public void unfixCe() throws UnFixProtocolException(Code)(Java Doc)

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.