Java Doc for AxionStatements.java in  » IDE-Netbeans » etl.project » org » netbeans » modules » sql » framework » codegen » axion » 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 » IDE Netbeans » etl.project » org.netbeans.modules.sql.framework.codegen.axion 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.sql.framework.codegen.base.BaseStatements
      org.netbeans.modules.sql.framework.codegen.axion.AxionStatements

All known Subclasses:   org.netbeans.modules.sql.framework.codegen.axion.AxionPipelineStatements,
AxionStatements
public class AxionStatements extends BaseStatements (Code)

author:
   Jonathan Giron
author:
   Ritesh Adval
version:
   $Revision$


Field Summary
protected  MonitorUtilmUtil
    

Constructor Summary
public  AxionStatements(AbstractDB database)
    

Method Summary
protected  ListcreateErrorValueIdentifierList(TargetTable targetTable, StatementContext context)
    
public  ListcreateResolvedMappingsForUpdate(TargetTable targetTable, boolean excludeKeyColumns, StatementContext context)
    
protected  ListcreateTargetValueIdentifierList(TargetTable targetTable, StatementContext context)
    
protected  StringcreateValidationConditionClause(TargetTable targetTable, StatementContext context)
    
protected  StringcreateValidationConditionClauseForUpdate(TargetTable targetTable, StatementContext context)
    
public  SQLPartgetCreateDBLinkStatement(DBConnectionDefinition def, String linkName)
     Creates a DB link creation statement based on the connection information in the given DBConnectionDefinition.
public  SQLPartgetCreateFlatfileTableStatement(SQLDBTable table, String orgPropertiesList, boolean ifNotExists)
    
public  SQLPartgetCreateRemoteTableStatement(SQLDBTable table, String axionTableName, String linkName)
     Creates an external DB table with the given local name, based on the given SQLDBTable and associated with the DB link with the given name.
public  SQLPartgetDefragStatement(SQLDBTable table, StatementContext context)
    
protected  StringgetDetailsTableName(TargetTable table)
    
public  SQLPartgetDropDBLinkStatement(String linkName)
    
public  SQLPartgetDropExternalTableStatement(SQLDBTable table, String axionTableName, boolean ifExists, StatementContext context)
    
protected  StringgetErrorLoggingDML(TargetTable target, StatementContext context)
    
public  SQLPartgetMergeStatement(TargetTable targetTable, StatementContext context)
    
public  StringgetValidationExceptionWhenClauseForUpdate(TargetTable target, StatementContext context)
    
protected  voidpopulateContextForErrorLoggingDML(TargetTable target, StatementContext context, VelocityContext vContext)
    
protected  voidpopulateContextForInsertSelect(TargetTable targetTable, StatementContext context, VelocityContext vContext)
    
protected  voidpopulateContextForUpdate(TargetTable targetTable, StatementContext context, VelocityContext vContext)
    

Field Detail
mUtil
protected MonitorUtil mUtil(Code)




Constructor Detail
AxionStatements
public AxionStatements(AbstractDB database)(Code)




Method Detail
createErrorValueIdentifierList
protected List createErrorValueIdentifierList(TargetTable targetTable, StatementContext context) throws BaseException(Code)



createResolvedMappingsForUpdate
public List createResolvedMappingsForUpdate(TargetTable targetTable, boolean excludeKeyColumns, StatementContext context) throws BaseException(Code)



createTargetValueIdentifierList
protected List createTargetValueIdentifierList(TargetTable targetTable, StatementContext context) throws BaseException(Code)



createValidationConditionClause
protected String createValidationConditionClause(TargetTable targetTable, StatementContext context) throws BaseException(Code)

Parameters:
  targetTable -
Parameters:
  context -
throws:
  BaseException -



createValidationConditionClauseForUpdate
protected String createValidationConditionClauseForUpdate(TargetTable targetTable, StatementContext context) throws BaseException(Code)

Parameters:
  targetTable -
Parameters:
  context -
throws:
  BaseException -



getCreateDBLinkStatement
public SQLPart getCreateDBLinkStatement(DBConnectionDefinition def, String linkName) throws BaseException(Code)
Creates a DB link creation statement based on the connection information in the given DBConnectionDefinition.
Parameters:
  def - DBConnectionDefinition containing connection information to beincorporated into the new DB link statement
Parameters:
  linkName - unique name of link SQLPart containing create DB link statement
throws:
  BaseException - if error occurs during statement generation



getCreateFlatfileTableStatement
public SQLPart getCreateFlatfileTableStatement(SQLDBTable table, String orgPropertiesList, boolean ifNotExists) throws BaseException(Code)

Parameters:
  table -
Parameters:
  logTableName -



getCreateRemoteTableStatement
public SQLPart getCreateRemoteTableStatement(SQLDBTable table, String axionTableName, String linkName) throws BaseException(Code)
Creates an external DB table with the given local name, based on the given SQLDBTable and associated with the DB link with the given name.
Parameters:
  table - SQLDBTable containing metadata for the external DB table to be created
Parameters:
  axionTableName - local name to be used in referencing the external DB table;if null, the table name embedded in table is used
Parameters:
  linkName - name of DB link to use in resolving connections totable SQLPart containing generated create statement
throws:
  BaseException - if error occurs during statement generation



getDefragStatement
public SQLPart getDefragStatement(SQLDBTable table, StatementContext context) throws BaseException(Code)



getDetailsTableName
protected String getDetailsTableName(TargetTable table)(Code)



getDropDBLinkStatement
public SQLPart getDropDBLinkStatement(String linkName) throws BaseException(Code)

Parameters:
  linkName -



getDropExternalTableStatement
public SQLPart getDropExternalTableStatement(SQLDBTable table, String axionTableName, boolean ifExists, StatementContext context) throws BaseException(Code)

Parameters:
  table -



getErrorLoggingDML
protected String getErrorLoggingDML(TargetTable target, StatementContext context) throws BaseException(Code)

Parameters:
  target -
Parameters:
  context -



getMergeStatement
public SQLPart getMergeStatement(TargetTable targetTable, StatementContext context) throws BaseException(Code)



getValidationExceptionWhenClauseForUpdate
public String getValidationExceptionWhenClauseForUpdate(TargetTable target, StatementContext context) throws BaseException(Code)



populateContextForErrorLoggingDML
protected void populateContextForErrorLoggingDML(TargetTable target, StatementContext context, VelocityContext vContext) throws BaseException(Code)



populateContextForInsertSelect
protected void populateContextForInsertSelect(TargetTable targetTable, StatementContext context, VelocityContext vContext) throws BaseException(Code)



populateContextForUpdate
protected void populateContextForUpdate(TargetTable targetTable, StatementContext context, VelocityContext vContext) throws BaseException(Code)



Fields inherited from org.netbeans.modules.sql.framework.codegen.base.BaseStatements
final public static String LOG_SUMMARY_TABLE_NAME(Code)(Java Doc)
final protected static String SOURCE_COLUMN_IDENTIFIER_ALIAS_PREFIX(Code)(Java Doc)
final protected static String SRC_EXP_TO_JDBC_TYPE_MAP(Code)(Java Doc)
final protected static String TARGET_COLUMN_IDENTIFIER_ALIAS_PREFIX(Code)(Java Doc)
protected AbstractDB db(Code)(Java Doc)
protected AbstractGeneratorFactory genFactory(Code)(Java Doc)

Methods inherited from org.netbeans.modules.sql.framework.codegen.base.BaseStatements
protected String appendSQLForIntegrityCheck(TargetTable targetTable, StatementContext context) throws BaseException(Code)(Java Doc)
final protected Boolean areDistinctRowsRequired(TargetTable targetTable) throws BaseException(Code)(Java Doc)
protected List<ColumnIdentifier> createColumnIdentifiersFromSourceColumns(List columnTobeAliased, StatementContext context, int startIndex) throws BaseException(Code)(Java Doc)
protected List<ColumnIdentifier> createColumnIdentifiersFromSourceColumns(List columnTobeAliased, StatementContext context, int startIndex, String aliasPrefix) throws BaseException(Code)(Java Doc)
protected List<ColumnIdentifier> createGroupByIdentifierList(SQLObject object, StatementContext context) throws BaseException(Code)(Java Doc)
public List<ResolvedMapping> createResolvedMappings(TargetTable targetTable, boolean excludeKeyColumns, StatementContext context) throws BaseException(Code)(Java Doc)
protected SQLPart createSQLPart(String sqlString, String key)(Code)(Java Doc)
protected List<ColumnIdentifier> createSourceIdentifierList(SourceTable sourceTable, StatementContext context) throws BaseException(Code)(Java Doc)
protected List<ColumnIdentifier> createSourceIdentifierList(TargetTable targetTable, StatementContext context) throws BaseException(Code)(Java Doc)
protected List<ColumnIdentifier> createTargetIdentifierList(TargetTable targetTable, StatementContext context) throws BaseException(Code)(Java Doc)
protected List<ColumnIdentifier> getColIdsFromRM(List<ResolvedMapping> rmList) throws BaseException(Code)(Java Doc)
protected List getConditionColumnsNotInList(SQLCondition condition, List origList, StatementContext context)(Code)(Java Doc)
protected List getConditionColumnsNotInList(SQLCondition condition, List origList)(Code)(Java Doc)
public Map getCorrelatedUpdateStatement(TargetTable targetTable, StatementContext context) throws BaseException(Code)(Java Doc)
public SQLPart getCreateLogSummaryTableStatement(boolean useMemoryTable) throws BaseException(Code)(Java Doc)
public SQLPart getCreateStatement(SQLDBTable table, StatementContext context) throws BaseException(Code)(Java Doc)
public SQLPart getDefragStatement(SQLDBTable table, StatementContext context) throws BaseException(Code)(Java Doc)
public SQLPart getDeleteInvalidRowFromSummaryTableStatement(TargetTable table) throws BaseException(Code)(Java Doc)
public SQLPart getDeleteStatement(SQLDBTable table, StatementContext context) throws BaseException(Code)(Java Doc)
public SQLPart getDropStatement(SQLDBTable table, StatementContext context) throws BaseException(Code)(Java Doc)
protected String getFromStatementContent(TargetTable targetTable, StatementContext context) throws BaseException(Code)(Java Doc)
protected String getFromStatementContentForTarget(TargetTable targetTable, int joinType, StatementContext context) throws BaseException(Code)(Java Doc)
protected String getHavingCondition(SQLGroupBy groupBy, StatementContext context) throws BaseException(Code)(Java Doc)
public SQLPart getInitializationStatements(StatementContext context) throws BaseException(Code)(Java Doc)
public SQLPart getInsertSelectStatement(TargetTable targetTable, StatementContext context) throws BaseException(Code)(Java Doc)
public SQLPart getInsertStartDateIntoSummaryTableStatement(TargetTable table, StatementContext context) throws BaseException(Code)(Java Doc)
public SQLPart getMergeStatement(TargetTable targetTable, StatementContext context) throws BaseException(Code)(Java Doc)
public SQLPart getOnePassSelectStatement(TargetTable targetTable, StatementContext context) throws BaseException(Code)(Java Doc)
public SQLPart getPreparedInsertStatement(SQLDBTable table, StatementContext context) throws BaseException(Code)(Java Doc)
public SQLPart getRowCountStatement(SQLDBTable table, StatementContext context) throws BaseException(Code)(Java Doc)
public SQLPart getSelectExecutionIdFromSummaryTableStatement(TargetTable table, StatementContext context) throws BaseException(Code)(Java Doc)
public SQLPart getSelectStatement(SourceTable sourceTable, StatementContext context) throws BaseException(Code)(Java Doc)
public SQLPart getSelectStatement(SQLJoinView joinView, StatementContext context) throws BaseException(Code)(Java Doc)
public SQLPart getSelectStatement(SQLJoinOperator joinOp, StatementContext context) throws BaseException(Code)(Java Doc)
public SQLPart getSelectStatement(TargetTable targetTable, StatementContext context) throws BaseException(Code)(Java Doc)
protected List getSourceColsDirectlyMapped(TargetTable tt, StatementContext context)(Code)(Java Doc)
protected List getSourceColsDirectlyMapped(TargetTable tt)(Code)(Java Doc)
protected String getSourceWhereCondition(List sTables, StatementContext context) throws BaseException(Code)(Java Doc)
public SQLPart getStaticInsertStatement(TargetTable targetTable, StatementContext context) throws BaseException(Code)(Java Doc)
public String getSummaryTableName()(Code)(Java Doc)
public SQLPart getTableExistsStatement(SQLDBTable table, StatementContext context) throws BaseException(Code)(Java Doc)
protected String getTableNameForStatisticsMetadata(TargetTable table, StatementContext context)(Code)(Java Doc)
protected String getTargetJoinClause(TargetTable targetTable, int joinType, StatementContext context) throws BaseException(Code)(Java Doc)
protected String getTargetWhereCondition(TargetTable targetTable, StatementContext context) throws BaseException(Code)(Java Doc)
public SQLPart getTruncateStatement(SQLDBTable targetTable, StatementContext context) throws BaseException(Code)(Java Doc)
protected String getUnqualifiedTableName(SQLDBTable dbTable, StatementContext context)(Code)(Java Doc)
public SQLPart getUpdateEndDateInSummaryTableStatement(TargetTable table, StatementContext context) throws BaseException(Code)(Java Doc)
public SQLPart getUpdateStatement(TargetTable targetTable, StatementContext context) throws BaseException(Code)(Java Doc)
protected String getWhereCondition(TargetTable targetTable, StatementContext context) throws BaseException(Code)(Java Doc)
public SQLPart normalizeSQLForExecution(SQLPart rawSQLPart)(Code)(Java Doc)
protected void populateAnsiMergeStatement(TargetTable targetTable, StatementContext context, VelocityContext vContext) throws BaseException(Code)(Java Doc)
protected void populateContextForGroupByAndHaving(SQLObject object, StatementContext context, VelocityContext vContext) throws BaseException(Code)(Java Doc)
protected void populateContextForInsertSelect(TargetTable targetTable, StatementContext context, VelocityContext vContext) throws BaseException(Code)(Java Doc)
protected void populateContextForStaticUpdate(TargetTable targetTable, StatementContext context, VelocityContext vContext) throws BaseException(Code)(Java Doc)
protected void populateContextForUpdate(TargetTable targetTable, StatementContext context, VelocityContext vContext) throws BaseException(Code)(Java Doc)
protected String replaceColumnNamesWithAliases(List colIdentifier, String sql) throws BaseException(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)

w__ww__.__j_a___va__2___s___.__com___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.