Java Doc for Select.java in  » Web-Framework » rife-1.6.1 » com » uwyn » rife » database » queries » 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 » Web Framework » rife 1.6.1 » com.uwyn.rife.database.queries 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.uwyn.rife.database.queries.Select

Select
public class Select extends AbstractWhereQuery
Object representation of a SQL "SELECT" query.

This object may be used to dynamically construct a SQL statement in a database-independent fashion. After it is finished, it may be executed using one of the query methods on com.uwyn.rife.database.DbQueryManagerDbQueryManager .
author:
   Geert Bevin (gbevin[remove] at uwyn dot com)
author:
   Steven Grimm (koreth[remove] at midwinter dot com)
version:
   $Revision: 3648 $
since:
   1.0


Inner Class :public static class JoinCondition extends EnumClass
Inner Class :public static class JoinType extends EnumClass
Inner Class :public static class OrderByDirection extends EnumClass
Inner Class :public class JoinCustom extends Join
Inner Class :public class JoinDefault extends Join implements Cloneable
Inner Class :public class JoinCross extends Join implements Cloneable
Inner Class :public class JoinInner extends Join implements Cloneable
Inner Class :public class JoinOuter extends Join implements Cloneable
Inner Class :abstract public class Join implements Cloneable
Inner Class :public class OrderBy implements Cloneable
Inner Class :public class Union implements Cloneable

Field Summary
final public static  OrderByDirectionASC
    
final public static  OrderByDirectionDESC
    
final public static  JoinTypeFULL
    
final public static  JoinTypeLEFT
    
final public static  JoinConditionNATURAL
    
final public static  JoinConditionON
    
final public static  JoinTypeRIGHT
    
final public static  JoinConditionUSING
    

Constructor Summary
public  Select(Datasource datasource)
    
public  Select(Datasource datasource, Class constrainedClass)
    

Method Summary
public  voidclear()
    
public  voidclearGenerated()
    
public  Selectclone()
    
public  Selectdistinct()
    
public  SelectdistinctOn(String column)
    
public  SelectdistinctOn(String... columns)
    
public  Selectfield(String field)
    
public  Selectfield(String alias, Select query)
    
public  SelectfieldSubselect(Select query)
    
public  Selectfields(Class beanClass)
    
public  Selectfields(String table, Class beanClass)
    
public  Selectfields(String... fields)
    
public  SelectfieldsExcluded(Class beanClass, String... excludedFields)
    
public  SelectfieldsExcluded(String table, Class beanClass, String... excludedFields)
    
public  Selectfrom(String from)
    
public  Selectfrom(Select query)
    
public  Selectfrom(String alias, Select query)
    
public  CapabilitiesgetCapabilities()
    
public  Collection<String>getDistinctOn()
    
public  Collection<String>getFields()
    
public  StringgetFrom()
    
public  Collection<String>getGroupBy()
    
public  Collection<String>getHaving()
    
public  StringgetHint()
    
public  Collection<Join>getJoins()
    
public  intgetLimit()
    
public  intgetOffset()
    
public  Collection<OrderBy>getOrderBy()
    
public  StringgetSql()
    
protected  TemplategetTemplate()
    
public  Collection<Union>getUnions()
    
public  SelectgroupBy(String groupBy)
    
public  SelectgroupBy(Class beanClass)
    
public  SelectgroupByExcluded(Class beanClass, String... excludedFields)
    
public  Selecthaving(String having)
    
public  Selecthint(String hint)
    
public  booleanisDistinct()
    
protected  booleanisLimitBeforeOffset()
    
public  Selectjoin(String table)
    
public  Selectjoin(String alias, Select query)
    
public  SelectjoinCross(String table)
    
public  SelectjoinCustom(String customJoin)
    
public  SelectjoinInner(String table, JoinCondition condition, String conditionExpression)
    
public  SelectjoinOuter(String table, JoinType type, JoinCondition condition, String conditionExpression)
    
public  Selectlimit(int limit)
    
public  SelectlimitParameter(String name)
    
public  Selectoffset(int offset)
    
public  SelectoffsetParameter(String name)
    
public  SelectorderBy(String column)
    
public  SelectorderBy(String column, OrderByDirection direction)
    
public  SelecttableSubselect(Select query)
    
public  Selectunion(String union)
    
public  Selectunion(Select union)
    
public  SelectunionAll(String union)
    
public  SelectunionAll(Select union)
    

Field Detail
ASC
final public static OrderByDirection ASC(Code)



DESC
final public static OrderByDirection DESC(Code)



FULL
final public static JoinType FULL(Code)



LEFT
final public static JoinType LEFT(Code)



NATURAL
final public static JoinCondition NATURAL(Code)



ON
final public static JoinCondition ON(Code)



RIGHT
final public static JoinType RIGHT(Code)



USING
final public static JoinCondition USING(Code)




Constructor Detail
Select
public Select(Datasource datasource)(Code)



Select
public Select(Datasource datasource, Class constrainedClass)(Code)




Method Detail
clear
public void clear()(Code)



clearGenerated
public void clearGenerated()(Code)



clone
public Select clone()(Code)



distinct
public Select distinct()(Code)



distinctOn
public Select distinctOn(String column)(Code)



distinctOn
public Select distinctOn(String... columns)(Code)



field
public Select field(String field)(Code)



field
public Select field(String alias, Select query)(Code)



fieldSubselect
public Select fieldSubselect(Select query)(Code)



fields
public Select fields(Class beanClass) throws DbQueryException(Code)



fields
public Select fields(String table, Class beanClass) throws DbQueryException(Code)



fields
public Select fields(String... fields)(Code)



fieldsExcluded
public Select fieldsExcluded(Class beanClass, String... excludedFields) throws DbQueryException(Code)



fieldsExcluded
public Select fieldsExcluded(String table, Class beanClass, String... excludedFields) throws DbQueryException(Code)



from
public Select from(String from)(Code)



from
public Select from(Select query)(Code)



from
public Select from(String alias, Select query)(Code)



getCapabilities
public Capabilities getCapabilities()(Code)



getDistinctOn
public Collection<String> getDistinctOn()(Code)



getFields
public Collection<String> getFields()(Code)



getFrom
public String getFrom()(Code)



getGroupBy
public Collection<String> getGroupBy()(Code)



getHaving
public Collection<String> getHaving()(Code)



getHint
public String getHint()(Code)



getJoins
public Collection<Join> getJoins()(Code)



getLimit
public int getLimit()(Code)



getOffset
public int getOffset()(Code)



getOrderBy
public Collection<OrderBy> getOrderBy()(Code)



getSql
public String getSql() throws DbQueryException(Code)



getTemplate
protected Template getTemplate()(Code)



getUnions
public Collection<Union> getUnions()(Code)



groupBy
public Select groupBy(String groupBy)(Code)



groupBy
public Select groupBy(Class beanClass) throws DbQueryException(Code)



groupByExcluded
public Select groupByExcluded(Class beanClass, String... excludedFields) throws DbQueryException(Code)



having
public Select having(String having)(Code)



hint
public Select hint(String hint)(Code)



isDistinct
public boolean isDistinct()(Code)



isLimitBeforeOffset
protected boolean isLimitBeforeOffset()(Code)



join
public Select join(String table)(Code)



join
public Select join(String alias, Select query)(Code)



joinCross
public Select joinCross(String table)(Code)



joinCustom
public Select joinCustom(String customJoin)(Code)



joinInner
public Select joinInner(String table, JoinCondition condition, String conditionExpression)(Code)



joinOuter
public Select joinOuter(String table, JoinType type, JoinCondition condition, String conditionExpression)(Code)



limit
public Select limit(int limit)(Code)



limitParameter
public Select limitParameter(String name)(Code)



offset
public Select offset(int offset)(Code)



offsetParameter
public Select offsetParameter(String name)(Code)



orderBy
public Select orderBy(String column)(Code)



orderBy
public Select orderBy(String column, OrderByDirection direction)(Code)



tableSubselect
public Select tableSubselect(Select query)(Code)



union
public Select union(String union)(Code)



union
public Select union(Select union) throws DbQueryException(Code)



unionAll
public Select unionAll(String union)(Code)



unionAll
public Select unionAll(Select union) throws DbQueryException(Code)



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