| java.lang.Object org.netbeans.modules.etl.codegen.impl.BaseETLStrategyBuilder
All known Subclasses: org.netbeans.modules.etl.codegen.impl.OnePassETLStrategyBuilderImpl, org.netbeans.modules.etl.codegen.impl.StagingStrategyBuilder, org.netbeans.modules.etl.codegen.impl.SimpleETLStrategyBuilderImpl, org.netbeans.modules.etl.codegen.impl.PipelinedStrategyBuilderImpl,
BaseETLStrategyBuilder | abstract public class BaseETLStrategyBuilder implements ETLStrategyBuilder(Code) | | Base class for all ETLStrategyBuilder classes.
author: Ahimanikya Satapathy version: $Revision$ |
Method Summary | |
protected void | addCreateIfNotExistsSummaryTableStatement(ETLTaskNode initTask) | protected void | addInsertNewExecutionRecordStatement(ETLTaskNode taskNode, TargetTable tt) | protected void | addSelectExecutionIdForNewExecutionRecordStatement(ETLTaskNode pipeline, TargetTable tt) | protected void | addUpdateExecutionRecordPreparedStatement(ETLTaskNode updateStats, TargetTable tt) | protected boolean | areAllAssociatedTablesInternal(TargetTable tt) | protected void | checkTargetConnectionDefinition(ETLStrategyBuilderContext context) | protected void | createCorrelatedUpdateSQLParts(TargetTable tt, ETLTaskNode correlatedQueryExecutor, String trgtConnName, DB targetDB, DB statsDB, boolean genInsertSelect) | protected SQLPart | createSQLPart(String sqlString, String key, String conDefnName) | protected void | createTargetTableIfNotExists(TargetTable table, ETLTaskNode taskNode, String trgtConnName, DB targetDB, StatementContext context) | protected void | createTransformerSQLPart(TargetTable tt, boolean useSourceFilter, ETLTaskNode transformerTask, String trgtConnName, ETLTaskNode cleanupTask, DB targetDB, DB statsDB) | protected SQLPart | generateDefragPart(TargetTable tt, DB targetDB, int statementType) | protected SQLPart | generateSQLPart(FlatfileDBTable flatfileDBTable, String tableName, String staticDirectory, String stmtType, String connPoolName, String flatfileRuntimeFilePath, boolean isDynamicPath, boolean createDataFileIfNotExist) | protected SQLPart | generateTransformerSQLPart(TargetTable tt, boolean useSourceFilter, DB targetDB, int statementType, List srcTblList) | protected String | getCommentForTransformer(TargetTable targetTable) | protected String | getConDefnName(DBConnectionDefinition srcCondefn) | public static Properties | getConnectionPropertiesFrom(DBConnectionDefinition def) | protected Map | getCorrelatedUpdateQueries(TargetTable tt, DB targetDB, boolean genInsertSelect) | protected DB | getDBFor(DBConnectionDefinition srcConDefn) | protected ETLEngine | getEngine() | protected void | getFlatfileInitSQLParts(FlatfileDefinition ffdb, InternalDBMetadata ffMetadata, boolean isAllDBTypeInternal, ETLTaskNode initTask, ETLTaskNode cleanupTask, String connPoolName, SQLDBTable flatfileRuntime, boolean createDataFileIfNotExist) | protected void | getFlatfileInitSQLParts(FlatfileDefinition ffdb, InternalDBMetadata internalMetadata, ETLTaskNode initTask, ETLTaskNode cleanupTask, SQLDBTable flatfileRuntime, boolean createDataFileIfNotExist) | protected Statements | getStatementsForTableDB(DBTable table) | protected Statements | getStatementsForTableDB(DBTable table, ETLStrategyBuilderContext context) | protected Statements | getStatementsForTargetTableDB(ETLStrategyBuilderContext context) | protected String | getTargetConnName() | protected Statements | getTargetStatements() | protected String | getTransformerSQL(TargetTable targetTable, DB targetDB, List srcTblList, boolean useSourceFilter) | protected boolean | isExtractionRequired(SourceTable sourceTable, TargetTable targetTable) | protected List | makeUniqueTableNames(ETLStrategyBuilderContext context) | protected void | populateFlatfileMetadata(TargetTable tTable, String tgtConnPoolName, InternalDBMetadata tgtInternalMetadata, ETLTaskNode initTask, ETLTaskNode cleanupTask) | protected void | populateInitTask(ETLTaskNode initTask, ETLTaskNode cleanupTask, TargetTable tTable) | public void | setETLScriptBuilderModel(ETLScriptBuilderModel model) | protected void | truncateTableIfExists(SQLDBTable dbt, ETLTaskNode taskNode, String trgtConnName, Statements stmts, StatementContext sc) | protected void | truncateTargetTableIfExists(TargetTable tt, ETLTaskNode taskNode, String trgtConnName, Statements stmts, StatementContext sc) | final protected void | useUniqueNameIfRequired(SQLDBTable table, StatementContext sc) |
connFactory | protected DBConnectionFactory connFactory(Code) | | |
addCreateIfNotExistsSummaryTableStatement | protected void addCreateIfNotExistsSummaryTableStatement(ETLTaskNode initTask) throws BaseException(Code) | | |
addSelectExecutionIdForNewExecutionRecordStatement | protected void addSelectExecutionIdForNewExecutionRecordStatement(ETLTaskNode pipeline, TargetTable tt) throws BaseException(Code) | | |
areAllAssociatedTablesInternal | protected boolean areAllAssociatedTablesInternal(TargetTable tt) throws BaseException(Code) | | |
createCorrelatedUpdateSQLParts | protected void createCorrelatedUpdateSQLParts(TargetTable tt, ETLTaskNode correlatedQueryExecutor, String trgtConnName, DB targetDB, DB statsDB, boolean genInsertSelect) throws BaseException(Code) | | |
createTransformerSQLPart | protected void createTransformerSQLPart(TargetTable tt, boolean useSourceFilter, ETLTaskNode transformerTask, String trgtConnName, ETLTaskNode cleanupTask, DB targetDB, DB statsDB) throws BaseException(Code) | | |
generateDefragPart | protected SQLPart generateDefragPart(TargetTable tt, DB targetDB, int statementType) throws BaseException(Code) | | |
generateSQLPart | protected SQLPart generateSQLPart(FlatfileDBTable flatfileDBTable, String tableName, String staticDirectory, String stmtType, String connPoolName, String flatfileRuntimeFilePath, boolean isDynamicPath, boolean createDataFileIfNotExist)(Code) | | |
generateTransformerSQLPart | protected SQLPart generateTransformerSQLPart(TargetTable tt, boolean useSourceFilter, DB targetDB, int statementType, List srcTblList) throws BaseException(Code) | | |
getCommentForTransformer | protected String getCommentForTransformer(TargetTable targetTable) throws BaseException(Code) | | Generate Transformer comment line for a given target table
Parameters: targetTable - Comment String |
getCorrelatedUpdateQueries | protected Map getCorrelatedUpdateQueries(TargetTable tt, DB targetDB, boolean genInsertSelect) throws BaseException(Code) | | |
getEngine | protected ETLEngine getEngine()(Code) | | |
getTargetStatements | protected Statements getTargetStatements() throws BaseException(Code) | | |
getTransformerSQL | protected String getTransformerSQL(TargetTable targetTable, DB targetDB, List srcTblList, boolean useSourceFilter) throws BaseException(Code) | | |
populateFlatfileMetadata | protected void populateFlatfileMetadata(TargetTable tTable, String tgtConnPoolName, InternalDBMetadata tgtInternalMetadata, ETLTaskNode initTask, ETLTaskNode cleanupTask) throws BaseException(Code) | | |
populateInitTask | protected void populateInitTask(ETLTaskNode initTask, ETLTaskNode cleanupTask, TargetTable tTable) throws BaseException(Code) | | |
|
|