Java Doc for UnknownReadRequest.java in  » Database-JDBC-Connection-Pool » sequoia-2.10.9 » org » continuent » sequoia » controller » requests » 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 JDBC Connection Pool » sequoia 2.10.9 » org.continuent.sequoia.controller.requests 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.continuent.sequoia.controller.requests.AbstractRequest
      org.continuent.sequoia.controller.requests.SelectRequest
         org.continuent.sequoia.controller.requests.UnknownReadRequest

UnknownReadRequest
public class UnknownReadRequest extends SelectRequest (Code)
This class defines an UnknownReadRequest used for all SQL statements that are not SELECT but should be executed as read requests.
An UnknownReadRequest is a request that returns a ResultSet and that we are not able to parse (we cannot know which tables are accessed, if any).
author:
   Emmanuel Cecchet
version:
   1.0



Constructor Summary
public  UnknownReadRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator)
    

Method Summary
public  voidcloneParsing(AbstractRequest request)
     Request is not parsed (isParsed is just set to true).
public  intgetCacheAbility()
    
public  booleanisParsed()
     Always returns true since the request cannot be parsed anyway.
public  voidparse(DatabaseSchema schema, int granularity, boolean isCaseSensitive)
     Request is not parsed (isParsed is just set to true).


Constructor Detail
UnknownReadRequest
public UnknownReadRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator)(Code)
Creates a new UnknownReadRequest object
Parameters:
  sqlQuery - the SQL query
Parameters:
  escapeProcessing - should the driver to escape processing beforesending to the database ?
Parameters:
  timeout - an int value
Parameters:
  lineSeparator - the line separator used in the query




Method Detail
cloneParsing
public void cloneParsing(AbstractRequest request)(Code)
Request is not parsed (isParsed is just set to true).
See Also:   AbstractRequest.cloneParsing(AbstractRequest)



getCacheAbility
public int getCacheAbility()(Code)
Always returns RequestType.UNCACHEABLE
See Also:   org.continuent.sequoia.controller.requests.AbstractRequest.getCacheAbility



isParsed
public boolean isParsed()(Code)
Always returns true since the request cannot be parsed anyway.
See Also:   org.continuent.sequoia.controller.requests.AbstractRequest.isParsed



parse
public void parse(DatabaseSchema schema, int granularity, boolean isCaseSensitive) throws SQLException(Code)
Request is not parsed (isParsed is just set to true).
See Also:   org.continuent.sequoia.controller.requests.AbstractRequest.parse(org.continuent.sequoia.common.sql.schema.DatabaseSchemaintboolean)



Fields inherited from org.continuent.sequoia.controller.requests.SelectRequest
final public static int AVERAGE_FUNCTION(Code)(Java Doc)
final public static int COUNT_FUNCTION(Code)(Java Doc)
final public static int MAX_FUNCTION(Code)(Java Doc)
final public static int MIN_FUNCTION(Code)(Java Doc)
final public static int NO_FUNCTION(Code)(Java Doc)
final public static int SUM_FUNCTION(Code)(Java Doc)
protected transient Collection aliasFrom(Code)(Java Doc)
protected transient Collection from(Code)(Java Doc)
public transient int funcType(Code)(Java Doc)
protected transient ArrayList order(Code)(Java Doc)
protected transient String pkValue(Code)(Java Doc)
protected transient ArrayList select(Code)(Java Doc)
protected transient ArrayList where(Code)(Java Doc)
protected transient Hashtable whereValues(Code)(Java Doc)

Methods inherited from org.continuent.sequoia.controller.requests.SelectRequest
public boolean altersAggregateList()(Code)(Java Doc)
public boolean altersDatabaseCatalog()(Code)(Java Doc)
public boolean altersDatabaseSchema()(Code)(Java Doc)
public boolean altersMetadataCache()(Code)(Java Doc)
public boolean altersQueryResultCache()(Code)(Java Doc)
public boolean altersSomething()(Code)(Java Doc)
public boolean altersStoredProcedureList()(Code)(Java Doc)
public boolean altersUserDefinedTypes()(Code)(Java Doc)
public boolean altersUsers()(Code)(Java Doc)
public void cloneParsing(AbstractRequest request)(Code)(Java Doc)
public void debug()(Code)(Java Doc)
public Collection getAliasedFrom()(Code)(Java Doc)
public Collection getFrom()(Code)(Java Doc)
public ArrayList getOrderBy()(Code)(Java Doc)
public String getParsingResultsAsString()(Code)(Java Doc)
public String getPkValue()(Code)(Java Doc)
public ArrayList getSelect()(Code)(Java Doc)
public ArrayList getWhere()(Code)(Java Doc)
public Hashtable getWhereValues()(Code)(Java Doc)
public boolean isMustBroadcast()(Code)(Java Doc)
public boolean needsMacroProcessing()(Code)(Java Doc)
public void parse(DatabaseSchema schema, int granularity, boolean isCaseSensitive) throws SQLException(Code)(Java Doc)
public boolean returnsResultSet()(Code)(Java Doc)
public void setMustBroadcast(boolean mustBroadcast)(Code)(Java Doc)
public void setPkValue(String pkValue)(Code)(Java Doc)

Fields inherited from org.continuent.sequoia.controller.requests.AbstractRequest
protected transient int cacheable(Code)(Java Doc)
protected String cursorName(Code)(Java Doc)
protected boolean disabledTableExistenceCheck(Code)(Java Doc)
protected transient long endTime(Code)(Java Doc)
protected boolean escapeProcessing(Code)(Java Doc)
protected int fetchSize(Code)(Java Doc)
protected long id(Code)(Java Doc)
protected boolean isAutoCommit(Code)(Java Doc)
protected transient boolean isParsed(Code)(Java Doc)
protected boolean isReadOnly(Code)(Java Doc)
protected transient long logId(Code)(Java Doc)
protected String login(Code)(Java Doc)
protected int maxRows(Code)(Java Doc)
protected String preparedStatementParameters(Code)(Java Doc)
int requestType(Code)(Java Doc)
protected boolean requiresConnectionFlush(Code)(Java Doc)
protected boolean requiresConnectionPoolFlush(Code)(Java Doc)
protected String sqlQueryOrTemplate(Code)(Java Doc)
protected transient long startTime(Code)(Java Doc)
protected int timeoutInSeconds(Code)(Java Doc)
protected long transactionId(Code)(Java Doc)
protected int transactionIsolation(Code)(Java Doc)
protected transient String uniqueKey(Code)(Java Doc)
protected SortedSet writeLockedTables(Code)(Java Doc)

Methods inherited from org.continuent.sequoia.controller.requests.AbstractRequest
protected void addDependingTables(DatabaseSchema schema, SortedSet lockedTables)(Code)(Java Doc)
abstract public boolean altersAggregateList()(Code)(Java Doc)
abstract public boolean altersDatabaseCatalog()(Code)(Java Doc)
abstract public boolean altersDatabaseSchema()(Code)(Java Doc)
abstract public boolean altersMetadataCache()(Code)(Java Doc)
abstract public boolean altersQueryResultCache()(Code)(Java Doc)
abstract public boolean altersSomething()(Code)(Java Doc)
abstract public boolean altersStoredProcedureList()(Code)(Java Doc)
abstract public boolean altersUserDefinedTypes()(Code)(Java Doc)
abstract public boolean altersUsers()(Code)(Java Doc)
abstract public void cloneParsing(AbstractRequest request)(Code)(Java Doc)
public void debug()(Code)(Java Doc)
public boolean equals(Object other)(Code)(Java Doc)
public int getCacheAbility()(Code)(Java Doc)
public String getClientIpAddress()(Code)(Java Doc)
public String getCursorName()(Code)(Java Doc)
public long getEndTime()(Code)(Java Doc)
public boolean getEscapeProcessing()(Code)(Java Doc)
public long getExecTimeInMs()(Code)(Java Doc)
public int getFetchSize()(Code)(Java Doc)
public long getId()(Code)(Java Doc)
public String getLineSeparator()(Code)(Java Doc)
final public long getLogId()(Code)(Java Doc)
public String getLogin()(Code)(Java Doc)
public boolean getMacrosAreProcessed()(Code)(Java Doc)
public int getMaxRows()(Code)(Java Doc)
public String getParsingResultsAsString()(Code)(Java Doc)
final public long getPersistentConnectionId()(Code)(Java Doc)
public String getPreparedStatementParameters()(Code)(Java Doc)
public boolean getRetrieveSQLWarnings()(Code)(Java Doc)
public String getSqlOrTemplate()(Code)(Java Doc)
public String getSqlShortForm(int nbOfCharacters)(Code)(Java Doc)
public long getStartTime()(Code)(Java Doc)
public int getTimeout()(Code)(Java Doc)
public long getTransactionId()(Code)(Java Doc)
public int getTransactionIsolation()(Code)(Java Doc)
public String getType()(Code)(Java Doc)
public String getUniqueKey()(Code)(Java Doc)
public SortedSet getWriteLockedDatabaseTables()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final public boolean isAlter()(Code)(Java Doc)
public boolean isAutoCommit()(Code)(Java Doc)
final public boolean isCreate()(Code)(Java Doc)
final public boolean isDelete()(Code)(Java Doc)
final public boolean isDrop()(Code)(Java Doc)
final public boolean isInsert()(Code)(Java Doc)
final public boolean isLazyTransactionStart()(Code)(Java Doc)
public boolean isParsed()(Code)(Java Doc)
final public boolean isPersistentConnection()(Code)(Java Doc)
public boolean isReadOnly()(Code)(Java Doc)
final public boolean isSelect()(Code)(Java Doc)
final public boolean isUpdate()(Code)(Java Doc)
abstract public boolean needsMacroProcessing()(Code)(Java Doc)
abstract public void parse(DatabaseSchema schema, int granularity, boolean isCaseSensitive) throws SQLException(Code)(Java Doc)
public boolean requiresConnectionFlush()(Code)(Java Doc)
public boolean requiresConnectionPoolFlush()(Code)(Java Doc)
public void setCacheAbility(int cacheAbility)(Code)(Java Doc)
public void setClientIpAddress(String clientIpAddress)(Code)(Java Doc)
public void setCursorName(String cursorName)(Code)(Java Doc)
public void setEndTime(long endTime)(Code)(Java Doc)
public void setFetchSize(int fetchSize)(Code)(Java Doc)
public void setId(long id)(Code)(Java Doc)
public void setIsAutoCommit(boolean isAutoCommit)(Code)(Java Doc)
public void setIsLazyTransactionStart(boolean isLazyStart)(Code)(Java Doc)
public void setIsReadOnly(boolean isReadOnly)(Code)(Java Doc)
final public void setLineSeparator(String lineSeparator)(Code)(Java Doc)
final public void setLogId(long logId)(Code)(Java Doc)
public void setLogin(String login)(Code)(Java Doc)
public void setMacrosAreProcessed(boolean macrosAreProcessed)(Code)(Java Doc)
public void setMaxRows(int rows)(Code)(Java Doc)
final public void setPersistentConnection(boolean persistentConnection)(Code)(Java Doc)
final public void setPersistentConnectionId(long persistentConnectionId)(Code)(Java Doc)
public void setPreparedStatementParameters(String params)(Code)(Java Doc)
public void setRetrieveSQLWarnings(boolean isRetrieveSQLWarnings)(Code)(Java Doc)
public void setSqlOrTemplate(String sql)(Code)(Java Doc)
public void setStartTime(long startTime)(Code)(Java Doc)
public void setTimeout(int timeout)(Code)(Java Doc)
public void setTransactionId(long id)(Code)(Java Doc)
public void setTransactionIsolation(int isolationLevel)(Code)(Java Doc)
public boolean tableExistenceCheckIsDisabled()(Code)(Java Doc)
public String toDebugString()(Code)(Java Doc)
public String toShortDebugString()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public String toStringShortForm(int nbOfCharacters)(Code)(Java Doc)
public String trimCarriageReturnAndTabs()(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.