Skip navigation links

Oracle Fusion Middleware External Executors Java API Reference for Oracle Business Intelligence Data Warehouse Administration Console
11g Release 1 (11.1.1)

E20491-01


com.oracle.dac.thirdparty.executor.arguments
Class DACTargetTable

java.lang.Object
  extended by com.oracle.dac.thirdparty.executor.arguments.DACTable
      extended by com.oracle.dac.thirdparty.executor.arguments.DACTargetTable


public class DACTargetTable
extends DACTable

DACTargetTable implements target table for task that corresponds to DACExecutorJob and gives access to table properties.

Since:
DAC 11.1.1.5.0

Constructor Summary
DACTargetTable(java.lang.String dataSource, java.lang.String tableName, boolean truncateAlways, boolean truncateOnlyForFullLoad, boolean analyzeTable)
          Constructs DACTargetTable object with given properties.A Target table can have three properties in the context of a task where it is used.

 

Method Summary
 boolean isAnalyzeTable()
          Returns analyze table property.
 boolean isTruncateAlways()
          Returns truncate always property.
 boolean isTruncateOnlyForFullLoad()
          Returns truncate only for full load property.
 void setAnalyzeTable(boolean analyzeTable)
          Sets the table analyze property.
 void setTruncateAlways(boolean truncateAlways)
          Sets the truncate always property.
 void setTruncateOnlyForFullLoad(boolean truncateOnlyForFullLoad)
          Sets the truncate always property.

 

Methods inherited from class com.oracle.dac.thirdparty.executor.arguments.DACTable
getDataSource, getTableName, setDataSource, setTableName

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

DACTargetTable

public DACTargetTable(java.lang.String dataSource,
                      java.lang.String tableName,
                      boolean truncateAlways,
                      boolean truncateOnlyForFullLoad,
                      boolean analyzeTable)
Constructs DACTargetTable object with given properties.A Target table can have three properties in the context of a task where it is used.
Parameters:
dataSource - name of the physical data source on which the table resides
tableName - name of the table
truncateAlways - indicates if the target table is going to be truncated irrespective of the mode of execution (FULL/INCREMENTAL)
truncateOnlyForFullLoad - indicates if the target table is going to be truncated only when the task is run in FULL mode or for the first time
analyzeTable - indicates whether the table should be analyzed after the task has executed to load the data.

Method Detail

isTruncateAlways

public boolean isTruncateAlways()
Returns truncate always property. If the property is set to true the table is truncated irrespective of the mode (FULL/INCREMENTAL).
Returns:
truncate always flag

setTruncateAlways

public void setTruncateAlways(boolean truncateAlways)
Sets the truncate always property. If the property is set to true the table is truncated irrespective of the mode (FULL/INCREMENTAL).

Note: The property is set internally by DAC and the function should not be used by external executor implementations.

Parameters:
truncateAlways - truncate always flag

isTruncateOnlyForFullLoad

public boolean isTruncateOnlyForFullLoad()
Returns truncate only for full load property. If the property is set to true the table is truncated only for FULL mode.
Returns:
truncate only for full mode flag

setTruncateOnlyForFullLoad

public void setTruncateOnlyForFullLoad(boolean truncateOnlyForFullLoad)
Sets the truncate always property. If the property is set to true the table is truncated only for FULL mode.

Note: The property is set internally by DAC and the function should not be used by external executor implementations.

Parameters:
truncateOnlyForFullLoad - truncate only for full mode flag

isAnalyzeTable

public boolean isAnalyzeTable()
Returns analyze table property. If the property is set to true the table is analyzed after the task loads data.
Returns:
analyze table flag

setAnalyzeTable

public void setAnalyzeTable(boolean analyzeTable)
Sets the table analyze property. If the property is set to true, the table is analyzed after the task loads data.

Note: The property is set internally by DAC and the function should not be used by external executor implementations.

Parameters:
analyzeTable - analyze table flag

Skip navigation links

Oracle Fusion Middleware External Executors Java API Reference for Oracle Business Intelligence Data Warehouse Administration Console
11g Release 1 (11.1.1)

E20491-01


Copyright © 2003, 2011, Oracle. All rights reserved.