Java Doc for AbstractWriteRequest.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.AbstractWriteRequest

All known Subclasses:   org.continuent.sequoia.controller.requests.InsertRequest,  org.continuent.sequoia.controller.requests.AlterRequest,  org.continuent.sequoia.controller.requests.DeleteRequest,  org.continuent.sequoia.controller.requests.CreateRequest,  org.continuent.sequoia.controller.requests.UnknownWriteRequest,  org.continuent.sequoia.controller.requests.DropRequest,  org.continuent.sequoia.controller.requests.UpdateRequest,
AbstractWriteRequest
abstract public class AbstractWriteRequest extends AbstractRequest (Code)
AbstractWriteRequest is the super-class of all requests which do NOT return any ResultSet. They do have side-effects (else what would they useful for?!)
author:
   Emmanuel Cecchet
version:
   1.0


Field Summary
protected transient  booleanblocking
     true if this request might block.
protected transient  ArrayListcolumns
     ArrayList of TableColumn involved in this write query.
protected transient  StringpkValue
    
protected  booleanrequiresGlobalLock
     True if the request requires to take a global lock.
protected transient  StringtableName
     Name of the table involved in this write query.

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

Method Summary
protected  voidcloneTableNameAndColumns(AbstractWriteRequest abstractWriteRequest)
     Clones table name and columns from an already parsed request.
public  ArrayListgetColumns()
     Returns an ArrayList of TableColumn objects representing the columns affected by this statement.
public  StringgetParsingResultsAsString()
    
public  StringgetPk()
    
public  StringgetTableName()
     Returns the name of the table affected by this statement.
public  booleanmightBlock()
     Tests if this request might block.
public  booleanrequiresGlobalLock()
     Return true if the query requires a global locking.
public  voidsetBlocking(boolean blocking)
     Sets if this request might block.

Field Detail
blocking
protected transient boolean blocking(Code)
true if this request might block.



columns
protected transient ArrayList columns(Code)
ArrayList of TableColumn involved in this write query.



pkValue
protected transient String pkValue(Code)
Primary key value



requiresGlobalLock
protected boolean requiresGlobalLock(Code)
True if the request requires to take a global lock.



tableName
protected transient String tableName(Code)
Name of the table involved in this write query.




Constructor Detail
AbstractWriteRequest
public AbstractWriteRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator, int requestType)(Code)
Creates a new AbstractWriteRequest 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
Parameters:
  requestType - the request type as defined in RequestType class
See Also:   RequestType




Method Detail
cloneTableNameAndColumns
protected void cloneTableNameAndColumns(AbstractWriteRequest abstractWriteRequest)(Code)
Clones table name and columns from an already parsed request.
Parameters:
  abstractWriteRequest - the already parsed request



getColumns
public ArrayList getColumns()(Code)
Returns an ArrayList of TableColumn objects representing the columns affected by this statement. an ArrayList value



getParsingResultsAsString
public String getParsingResultsAsString()(Code)

See Also:   org.continuent.sequoia.controller.requests.AbstractRequest.getParsingResultsAsString



getPk
public String getPk()(Code)
Returns the pk.



getTableName
public String getTableName()(Code)
Returns the name of the table affected by this statement. a String value



mightBlock
public boolean mightBlock()(Code)
Tests if this request might block. true if this request might block



requiresGlobalLock
public boolean requiresGlobalLock()(Code)
Return true if the query requires a global locking. the requiresGlobalLock value.



setBlocking
public void setBlocking(boolean blocking)(Code)
Sets if this request might block.
Parameters:
  blocking - a boolean value



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.