| 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$ |
Method Summary | |
protected List | createErrorValueIdentifierList(TargetTable targetTable, StatementContext context) | public List | createResolvedMappingsForUpdate(TargetTable targetTable, boolean excludeKeyColumns, StatementContext context) | protected List | createTargetValueIdentifierList(TargetTable targetTable, StatementContext context) | protected String | createValidationConditionClause(TargetTable targetTable, StatementContext context) | protected String | createValidationConditionClauseForUpdate(TargetTable targetTable, StatementContext context) | public SQLPart | getCreateDBLinkStatement(DBConnectionDefinition def, String linkName) Creates a DB link creation statement based on the connection information in the
given DBConnectionDefinition. | public SQLPart | getCreateFlatfileTableStatement(SQLDBTable table, String orgPropertiesList, boolean ifNotExists) | public SQLPart | getCreateRemoteTableStatement(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 SQLPart | getDefragStatement(SQLDBTable table, StatementContext context) | protected String | getDetailsTableName(TargetTable table) | public SQLPart | getDropDBLinkStatement(String linkName) | public SQLPart | getDropExternalTableStatement(SQLDBTable table, String axionTableName, boolean ifExists, StatementContext context) | protected String | getErrorLoggingDML(TargetTable target, StatementContext context) | public SQLPart | getMergeStatement(TargetTable targetTable, StatementContext context) | public String | getValidationExceptionWhenClauseForUpdate(TargetTable target, StatementContext context) | protected void | populateContextForErrorLoggingDML(TargetTable target, StatementContext context, VelocityContext vContext) | protected void | populateContextForInsertSelect(TargetTable targetTable, StatementContext context, VelocityContext vContext) | protected void | populateContextForUpdate(TargetTable targetTable, StatementContext context, VelocityContext vContext) |
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 |
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 - |
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) | | |
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)
|
|
|