Source Code Cross Referenced for QueryObjectModel.java in  » 6.0-JDK-Modules » jsr-283 » javax » jcr » query » qom » 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 » 6.0 JDK Modules » jsr 283 » javax.jcr.query.qom 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        /*
02:         * Copyright 2006 Day Management AG, Switzerland. All rights reserved.
03:         */
04:        package javax.jcr.query.qom;
05:
06:        import javax.jcr.query.PreparedQuery;
07:
08:        /**
09:         * A query in the JCR query object model.
10:         * <p/>
11:         * The JCR query object model describes the queries that can be evaluated
12:         * by a JCR repository independent of any particular query language, such
13:         * as SQL.
14:         * <p/>
15:         * A query consists of:
16:         * <ul>
17:         * <li>a source.  When the query is evaluated, the source evaluates its
18:         * selectors and the joins between them to produce a (possibly empty)
19:         * set of node-tuples.  This is a set of 1-tuples if the query has one
20:         * selector (and therefore no joins), a set of 2-tuples if the query has
21:         * two selectors (and therefore one join), a set of 3-tuples if the query
22:         * has three selectors (two joins), and so forth.</li>
23:         * <li>an optional constraint.  When the query is evaluated, the constraint
24:         * filters the set of node-tuples.</li>
25:         * <li>a list of zero or more orderings.  The orderings specify the order in
26:         * which the node-tuples appear in the query results.  The relative order
27:         * of two node-tuples is determined by evaluating the specified orderings,
28:         * in list order, until encountering an ordering for which one node-tuple
29:         * precedes the other.  If no orderings are specified, or if for none of
30:         * the specified orderings does one node-tuple precede the other, then the
31:         * relative order of the node-tuples is implementation determined (and may
32:         * be arbitrary).</li>
33:         * <li>a list of zero or more columns to include in the tabular view of the
34:         * query results.  If no columns are specified, the columns available in
35:         * the tabular view are implementation determined, but minimally include,
36:         * for each selector, a column for each single-valued non-residual property
37:         * of the selector's node type.</li>
38:         * </ul>
39:         * <p/>
40:         * The query object model representation of a query is created by factory
41:         * methods in the {@link QueryObjectModelFactory}.
42:         *
43:         * @since JCR 2.0
44:         */
45:        public interface QueryObjectModel extends PreparedQuery {
46:            /**
47:             * Gets the node-tuple source for this query.
48:             *
49:             * @return the node-tuple source; non-null
50:             */
51:            public Source getSource();
52:
53:            /**
54:             * Gets the constraint for this query.
55:             *
56:             * @return the constraint, or null if none
57:             */
58:            public Constraint getConstraint();
59:
60:            /**
61:             * Gets the orderings for this query.
62:             *
63:             * @return an array of zero or more orderings; non-null
64:             */
65:            public Ordering[] getOrderings();
66:
67:            /**
68:             * Gets the columns for this query.
69:             *
70:             * @return an array of zero or more columns; non-null
71:             */
72:            public Column[] getColumns();
73:        }
74:
75:        // EOF
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.