목차

Search

  1. 소개
  2. Hub 콘솔 도구 구성
  3. 데이터 모델 작성
  4. 데이터 흐름 구성
  5. Informatica MDM Hub 프로세스 실행
  6. 응용 프로그램 액세스 구성
  7. MDM Hub 속성
  8. 구성 세부 정보 보기
  9. 행 수준 잠금
  10. MDM Hub 로깅
  11. 테이블 분할
  12. 제품 사용 툴킷을 사용하여 MDM 환경 정보 수집
  13. Informatica 플랫폼 준비
  14. Informatica Platform 매핑 예
  15. 용어

UserExitContext 클래스

UserExitContext 클래스

UserExitContext 클래스에는
MDM Hub
가 사용자 종료에 대해 사용하는 매개 변수가 포함되어 있습니다.
UserExitContext 클래스는 다음 매개 변수를 사용자 종료에 전달합니다.
batchJobRowid
일괄 작업의 작업 ID입니다. UserExitContext 클래스는 일괄 처리 동안 BatchJobRowid 매개 변수를 모든 사용자 종료에 전달합니다.
connection
MDM Hub 프로세스에서 사용하는 데이터베이스 연결입니다.
stagingTableName
로드 작업의 소스 테이블입니다. UserExitContext 클래스는 로드 및 준비 프로세스 동안 stagingTableName 매개 변수를 전달합니다.
tableName
MDM Hub 프로세스에서 사용하는 테이블의 이름입니다.
다음 코드는 UserExitContext 클래스를 보여 줍니다.
package com.informatica.mdm.userexit; import java.sql.Connection; /** * Represents the hub context that is passed to the user exit interfaces. * This is a placeholder for data that is applicable to all user exits. * */ public class UserExitContext { String jobRowid; String tablName; String stagingTablName; Connection conn; /** * See the corresponding {@link #setBatchJobRowid(String) setter} method for details. * * @return the rowid of the batch job */ public String getBatchJobRowid() { return this.jobRowid; } /** * See the corresponding {@link #setTableName(String) setter} method for details. * * @return the name of the table used in the hub process */ public String getTableName() { return this.tablName; } /** * See the corresponding {@link #setDBConnection(String) setter} method for details. * * @return the database connection used in the hub process */ public Connection getDBConnection() { return this.conn; } /** * Set the rowid of the batch job in the context. This is applicable to batch jobs only. * * @param batchJobRowid the rowid of the batch job */ public void setBatchJobRowid(String batchJobRowid) { this.jobRowid = batchJobRowid; } /** * Set the name of the table used in the hub process. * * @param tableName the name of the table */ public void setTableName(String tableName) { this.tablName = tableName; } /** * See the corresponding {@link #setStagingTableName(String) setter} method for details. * * @return the name of the staging table used in the hub load and stage process */ public String getStagingTableName() { return this.stagingTablName; } /** * Set the name of the staging table used in the context. This is applicable to load and stage process. * * @param stagingTableName the name of the staging table */ public void setStagingTableName(String stagingTableName) { this.stagingTablName = stagingTableName; } /** * Set the database connection in the context. * * @param connection the database connection used in the hub process */ public void setDBConnection(Connection connection) { this.conn = connection; } }