Java Doc for AxionQueryContext.java in  » Database-DBMS » axion » org » axiondb » engine » commands » 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 DBMS » axion » org.axiondb.engine.commands 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.axiondb.engine.commands.AxionQueryContext

AxionQueryContext
public class AxionQueryContext (Code)
AxionQueryContext holds metadata for the Query or Sub-Query.
version:
   $Revision: 1.13 $ $Date: 2005/12/20 18:32:28 $
author:
   Ahimanikya Satapathy



Constructor Summary
public  AxionQueryContext()
    

Method Summary
public  voidaddAllSelectToResolvedSelect()
    
public  voidaddFrom(TableIdentifier table)
     Adds a TableIdentifier to the list of tables being selected from.
public  voidaddOrderBy(OrderNode orderby)
    
public  voidaddSelect(Selectable column)
     Adds a Selectable to the list of items being selected.
public  ListcreateLiteralList()
    
public  booleanfoundAggregateFunction()
    
public  StringgetAliasName()
    
public  booleangetDistinct()
     Indicates if the java.sql.ResultSet generated from this object will contain distinct tuples.
public  FromNodegetFrom()
     Gets the root FromNode for the select statement.
public  TableIdentifiergetFrom(int i)
     Gets the i th table being selected.
public  TableIdentifier[]getFromArray()
    
public  intgetFromCount()
     Gets the number of tables being from.
public  ListgetGroupBy()
     Gets Selectable in Group by clause.
public  SelectablegetGroupBy(int i)
     Gets Selectable in Group by clause.
public  intgetGroupByCount()
     Gets the number of Slectable s group by in my query.
public  SelectablegetHaving()
    
public  LiteralgetLimit()
    
public  LiteralgetOffset()
    
public  ListgetOrderBy()
     Gets the List of OrderNode in my order by clause.
public  OrderNodegetOrderBy(int i)
     Gets the i th OrderNode in my order by clause.
public  intgetOrderByCount()
     Gets the number of OrderNode s in my query.
public  RowDecoratorgetParentRow()
    
public  TableIdentifier[]getParentTables()
    
public  ListgetResolvedSelect()
    
public  RowIteratorgetRows()
    
public  ListgetSelect()
    
public  SelectablegetSelect(int i)
     Gets the i th Selectable being selected.
public  intgetSelectCount()
     Gets the number of Selectable s being selected.
public  Selectable[]getSelected()
    
public  intgetTableCount()
    
public  TableIdentifier[]getTables()
    
public  TableIdentifiergetTables(int i)
    
public  SelectablegetWhere()
     Returns the Selectable where tree for this query.
public  booleanisCorrelatedSubQuery()
    
public  booleanisExplain()
    
public  booleanisResolved()
    
public  booleanisTablePartOfSelect(TableIdentifier tid)
    
public  voidsetAliasName(String name)
    
public  voidsetCorrelatedSubQuery(boolean isCorrelatedSubQuery)
    
public  voidsetDistinct(boolean distinct)
     Determines if the java.sql.ResultSet generated from this object will contain distinct tuples (default is false).
public  voidsetExplain(boolean explain)
    
public  voidsetFoundAggregateFunction(boolean found)
    
public  voidsetFrom(FromNode from)
     Sets the root FromNode for the select statement.
public  voidsetGroupBy(List groupby)
     Sets the group by clause for this query.
 voidsetGroupBy(int i, Selectable column)
    
public  voidsetHaving(Selectable having)
    
public  voidsetLimit(Literal limit)
    
public  voidsetOffset(Literal offset)
    
public  voidsetOrderBy(List orderby)
     Sets the order by clause for this query.
public  voidsetParentRow(RowDecorator row)
    
public  voidsetParentTables(TableIdentifier[] tables)
    
public  voidsetResolved(boolean resolved)
    
public  voidsetResolvedSelect(List select)
    
public  voidsetRows(RowIterator rows)
    
public  voidsetSelect(int i, Selectable sel)
     Sets the i th Selectable being selected.
public  voidsetSelect(List columns)
    
public  voidsetSelected(Selectable[] selected)
    
public  voidsetTables(TableIdentifier[] tables)
    
public  voidsetWhere(Selectable where)
     Sets the Selectable where tree for this query.
public  StringtoString()
    


Constructor Detail
AxionQueryContext
public AxionQueryContext()(Code)




Method Detail
addAllSelectToResolvedSelect
public void addAllSelectToResolvedSelect()(Code)



addFrom
public void addFrom(TableIdentifier table)(Code)
Adds a TableIdentifier to the list of tables being selected from.
Parameters:
  table - a TableIdentifier
throws:
  IllegalStateException - if I have already been resolved



addOrderBy
public void addOrderBy(OrderNode orderby)(Code)
Appends an OrderNode to the order by clause for this query
Parameters:
  orderby - an OrderNodeto append
throws:
  IllegalStateException - if I have already been resolved



addSelect
public void addSelect(Selectable column)(Code)
Adds a Selectable to the list of items being selected.
Parameters:
  column - the Selectableto add
throws:
  IllegalStateException - if I have already been resolved



createLiteralList
public List createLiteralList()(Code)



foundAggregateFunction
public boolean foundAggregateFunction()(Code)



getAliasName
public String getAliasName()(Code)



getDistinct
public boolean getDistinct()(Code)
Indicates if the java.sql.ResultSet generated from this object will contain distinct tuples. true for distinct tuples



getFrom
public FromNode getFrom()(Code)
Gets the root FromNode for the select statement.



getFrom
public TableIdentifier getFrom(int i)(Code)
Gets the i th table being selected. Clients should treat the returned value as immutable.
Parameters:
  i - the zero-based index



getFromArray
public TableIdentifier[] getFromArray()(Code)



getFromCount
public int getFromCount()(Code)
Gets the number of tables being from.



getGroupBy
public List getGroupBy()(Code)
Gets Selectable in Group by clause.



getGroupBy
public Selectable getGroupBy(int i)(Code)
Gets Selectable in Group by clause. Clients should treat the returned value as immutable.
Parameters:
  i - the zero-based index



getGroupByCount
public int getGroupByCount()(Code)
Gets the number of Slectable s group by in my query.



getHaving
public Selectable getHaving()(Code)



getLimit
public Literal getLimit()(Code)



getOffset
public Literal getOffset()(Code)



getOrderBy
public List getOrderBy()(Code)
Gets the List of OrderNode in my order by clause.



getOrderBy
public OrderNode getOrderBy(int i)(Code)
Gets the i th OrderNode in my order by clause. Clients should treat the returned value as immutable.
Parameters:
  i - the zero-based index



getOrderByCount
public int getOrderByCount()(Code)
Gets the number of OrderNode s in my query.



getParentRow
public RowDecorator getParentRow()(Code)



getParentTables
public TableIdentifier[] getParentTables()(Code)



getResolvedSelect
public List getResolvedSelect()(Code)



getRows
public RowIterator getRows()(Code)



getSelect
public List getSelect()(Code)



getSelect
public Selectable getSelect(int i)(Code)
Gets the i th Selectable being selected. Clients should treat the returned value as immutable.
Parameters:
  i - the zero-based index



getSelectCount
public int getSelectCount()(Code)
Gets the number of Selectable s being selected.



getSelected
public Selectable[] getSelected()(Code)



getTableCount
public int getTableCount()(Code)



getTables
public TableIdentifier[] getTables()(Code)



getTables
public TableIdentifier getTables(int i)(Code)



getWhere
public Selectable getWhere()(Code)
Returns the Selectable where tree for this query. Clients should treat the returned value as immutable. the Selectable where treefor this query, or null.



isCorrelatedSubQuery
public boolean isCorrelatedSubQuery()(Code)



isExplain
public boolean isExplain()(Code)



isResolved
public boolean isResolved()(Code)



isTablePartOfSelect
public boolean isTablePartOfSelect(TableIdentifier tid)(Code)



setAliasName
public void setAliasName(String name)(Code)



setCorrelatedSubQuery
public void setCorrelatedSubQuery(boolean isCorrelatedSubQuery)(Code)



setDistinct
public void setDistinct(boolean distinct)(Code)
Determines if the java.sql.ResultSet generated from this object will contain distinct tuples (default is false).
Parameters:
  distinct - true for distinct tuples



setExplain
public void setExplain(boolean explain)(Code)



setFoundAggregateFunction
public void setFoundAggregateFunction(boolean found)(Code)



setFrom
public void setFrom(FromNode from)(Code)
Sets the root FromNode for the select statement.



setGroupBy
public void setGroupBy(List groupby)(Code)
Sets the group by clause for this query.
Parameters:
  groupby - a Listof Selectables.
throws:
  IllegalStateException - if I have already been resolved



setGroupBy
void setGroupBy(int i, Selectable column)(Code)



setHaving
public void setHaving(Selectable having)(Code)



setLimit
public void setLimit(Literal limit)(Code)



setOffset
public void setOffset(Literal offset)(Code)



setOrderBy
public void setOrderBy(List orderby)(Code)
Sets the order by clause for this query.
Parameters:
  orderby - a Listof OrderNodes.
throws:
  IllegalStateException - if I have already been resolved



setParentRow
public void setParentRow(RowDecorator row)(Code)



setParentTables
public void setParentTables(TableIdentifier[] tables)(Code)



setResolved
public void setResolved(boolean resolved)(Code)



setResolvedSelect
public void setResolvedSelect(List select)(Code)



setRows
public void setRows(RowIterator rows)(Code)



setSelect
public void setSelect(int i, Selectable sel)(Code)
Sets the i th Selectable being selected.
Parameters:
  i - the zero-based index
Parameters:
  sel - the new Selectable
throws:
  IllegalStateException - if I have already been resolved



setSelect
public void setSelect(List columns)(Code)



setSelected
public void setSelected(Selectable[] selected)(Code)



setTables
public void setTables(TableIdentifier[] tables)(Code)



setWhere
public void setWhere(Selectable where)(Code)
Sets the Selectable where tree for this query.
Parameters:
  where - a boolean valued Selectable
throws:
  IllegalStateException - if I have already been resolved



toString
public String toString()(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.