• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java KettleDatabaseRepositoryTransDelegate类的典型用法和代码示例

java 2次浏览

本文整理汇总了Java中org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryTransDelegate的典型用法代码示例。如果您正苦于以下问题:Java KettleDatabaseRepositoryTransDelegate类的具体用法?Java KettleDatabaseRepositoryTransDelegate怎么用?Java KettleDatabaseRepositoryTransDelegate使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

KettleDatabaseRepositoryTransDelegate类属于org.pentaho.di.repository.kdr.delegates包,在下文中一共展示了KettleDatabaseRepositoryTransDelegate类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: init

点赞 3

import org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryTransDelegate; //导入依赖的package包/类
private void init() {
	// Create the delegates...
	//
	this.transDelegate = new KettleDatabaseRepositoryTransDelegate(this);
	this.jobDelegate = new KettleDatabaseRepositoryJobDelegate(this);
	this.databaseDelegate = new KettleDatabaseRepositoryDatabaseDelegate(this);
	this.slaveServerDelegate = new KettleDatabaseRepositorySlaveServerDelegate(this);
	this.clusterSchemaDelegate = new KettleDatabaseRepositoryClusterSchemaDelegate(this);
	this.partitionSchemaDelegate = new KettleDatabaseRepositoryPartitionSchemaDelegate(this);
	this.directoryDelegate = new KettleDatabaseRepositoryDirectoryDelegate(this);
	this.connectionDelegate = new KettleDatabaseRepositoryConnectionDelegate(this, repositoryMeta.getConnection());
	this.userDelegate = new KettleDatabaseRepositoryUserDelegate(this);
	this.conditionDelegate = new KettleDatabaseRepositoryConditionDelegate(this);
	this.valueDelegate = new KettleDatabaseRepositoryValueDelegate(this);
	this.notePadDelegate = new KettleDatabaseRepositoryNotePadDelegate(this);
	this.stepDelegate = new KettleDatabaseRepositoryStepDelegate(this);
	this.jobEntryDelegate = new KettleDatabaseRepositoryJobEntryDelegate(this);
	this.creationHelper = new KettleDatabaseRepositoryCreationHelper(this);
}
 

开发者ID:yintaoxue,
项目名称:read-open-source-code,
代码行数:20,
代码来源:KettleDatabaseRepository.java

示例2: init

点赞 3

import org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryTransDelegate; //导入依赖的package包/类
private void init() {
  // Create the delegates...
  //
  this.transDelegate = new KettleDatabaseRepositoryTransDelegate(this);
  this.jobDelegate = new KettleDatabaseRepositoryJobDelegate(this);
  this.databaseDelegate = new KettleDatabaseRepositoryDatabaseDelegate(this);
  this.slaveServerDelegate = new KettleDatabaseRepositorySlaveServerDelegate(this);
  this.clusterSchemaDelegate = new KettleDatabaseRepositoryClusterSchemaDelegate(this);
  this.partitionSchemaDelegate = new KettleDatabaseRepositoryPartitionSchemaDelegate(this);
  this.directoryDelegate = new KettleDatabaseRepositoryDirectoryDelegate(this);
  this.connectionDelegate = new KettleDatabaseRepositoryConnectionDelegate(this, repositoryMeta.getConnection());
  this.userDelegate = new KettleDatabaseRepositoryUserDelegate(this);
  this.conditionDelegate = new KettleDatabaseRepositoryConditionDelegate(this);
  this.valueDelegate = new KettleDatabaseRepositoryValueDelegate(this);
  this.notePadDelegate = new KettleDatabaseRepositoryNotePadDelegate(this);
  this.stepDelegate = new KettleDatabaseRepositoryStepDelegate(this);
  this.jobEntryDelegate = new KettleDatabaseRepositoryJobEntryDelegate(this);
  this.creationHelper = new KettleDatabaseRepositoryCreationHelper(this);
}
 

开发者ID:jjeb,
项目名称:kettle-trunk,
代码行数:20,
代码来源:KettleDatabaseRepository.java

示例3: init

点赞 3

import org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryTransDelegate; //导入依赖的package包/类
private void init() {
  // Create the delegates...
  //
  this.transDelegate = new KettleDatabaseRepositoryTransDelegate( this );
  this.jobDelegate = new KettleDatabaseRepositoryJobDelegate( this );
  this.databaseDelegate = new KettleDatabaseRepositoryDatabaseDelegate( this );
  this.slaveServerDelegate = new KettleDatabaseRepositorySlaveServerDelegate( this );
  this.clusterSchemaDelegate = new KettleDatabaseRepositoryClusterSchemaDelegate( this );
  this.partitionSchemaDelegate = new KettleDatabaseRepositoryPartitionSchemaDelegate( this );
  this.directoryDelegate = new KettleDatabaseRepositoryDirectoryDelegate( this );
  this.connectionDelegate =
    new KettleDatabaseRepositoryConnectionDelegate( this, repositoryMeta.getConnection() );
  this.userDelegate = new KettleDatabaseRepositoryUserDelegate( this );
  this.conditionDelegate = new KettleDatabaseRepositoryConditionDelegate( this );
  this.valueDelegate = new KettleDatabaseRepositoryValueDelegate( this );
  this.notePadDelegate = new KettleDatabaseRepositoryNotePadDelegate( this );
  this.stepDelegate = new KettleDatabaseRepositoryStepDelegate( this );
  this.jobEntryDelegate = new KettleDatabaseRepositoryJobEntryDelegate( this );
  this.metaStoreDelegate = new KettleDatabaseRepositoryMetaStoreDelegate( this );
  this.creationHelper = new KettleDatabaseRepositoryCreationHelper( this );
}
 

开发者ID:pentaho,
项目名称:pentaho-kettle,
代码行数:22,
代码来源:KettleDatabaseRepository.java

示例4: getObjectInformation_AbsentTrans_IsDeletedFlagSet

点赞 2

import org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryTransDelegate; //导入依赖的package包/类
@Test
public void getObjectInformation_AbsentTrans_IsDeletedFlagSet() throws Exception {
  KettleDatabaseRepositoryTransDelegate transDelegate =
    spy( new KettleDatabaseRepositoryTransDelegate( repository ) );

  RowMeta meta = createMetaForTrans();
  doReturn( new RowMetaAndData( meta, new Object[ meta.size() ] ) )
    .when( transDelegate )
    .getTransformation( new StringObjectId( ABSENT_ID ) );

  assertIsDeletedSet_ForAbsentObject( transDelegate, null, RepositoryObjectType.TRANSFORMATION );
}
 

开发者ID:pentaho,
项目名称:pentaho-kettle,
代码行数:13,
代码来源:KettleDatabaseRepository_GetObjectInformation_Test.java

示例5: assertIsDeletedSet_ForAbsentObject

点赞 2

import org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryTransDelegate; //导入依赖的package包/类
private void assertIsDeletedSet_ForAbsentObject( KettleDatabaseRepositoryTransDelegate transDelegate,
                                                 KettleDatabaseRepositoryJobDelegate jobDelegate,
                                                 RepositoryObjectType objectType )
  throws Exception {
  repository.transDelegate = transDelegate;
  repository.jobDelegate = jobDelegate;

  when( directoryInterface.findDirectory( any( ObjectId.class ) ) ).thenReturn( null );

  RepositoryObject object = repository.getObjectInformation( new StringObjectId( ABSENT_ID ), objectType );
  assertTrue( object.isDeleted() );
}
 

开发者ID:pentaho,
项目名称:pentaho-kettle,
代码行数:13,
代码来源:KettleDatabaseRepository_GetObjectInformation_Test.java

示例6: getObjectInformation_ExistingTrans_IsDeletedFlagNotSet

点赞 2

import org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryTransDelegate; //导入依赖的package包/类
@Test
public void getObjectInformation_ExistingTrans_IsDeletedFlagNotSet() throws Exception {
  KettleDatabaseRepositoryTransDelegate transDelegate =
    spy( new KettleDatabaseRepositoryTransDelegate( repository ) );

  RowMeta meta = createMetaForJob();
  Object[] values = new Object[ meta.size() ];
  values[ Arrays.asList( meta.getFieldNames() ).indexOf( KettleDatabaseRepositoryBase.FIELD_TRANSFORMATION_NAME ) ] = EXISTING_ID;
  doReturn( new RowMetaAndData( meta, values ) )
    .when( transDelegate )
    .getTransformation( new StringObjectId( EXISTING_ID ) );

  assertIsDeletedNotSet_ForExistingObject( transDelegate, null, RepositoryObjectType.TRANSFORMATION );
}
 

开发者ID:pentaho,
项目名称:pentaho-kettle,
代码行数:15,
代码来源:KettleDatabaseRepository_GetObjectInformation_Test.java

示例7: assertIsDeletedNotSet_ForExistingObject

点赞 2

import org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryTransDelegate; //导入依赖的package包/类
private void assertIsDeletedNotSet_ForExistingObject( KettleDatabaseRepositoryTransDelegate transDelegate,
                                                      KettleDatabaseRepositoryJobDelegate jobDelegate,
                                                      RepositoryObjectType objectType )
  throws Exception {
  repository.transDelegate = transDelegate;
  repository.jobDelegate = jobDelegate;

  when( directoryInterface.findDirectory( any( ObjectId.class ) ) ).thenReturn( null );

  RepositoryObject object = repository.getObjectInformation( new StringObjectId( EXISTING_ID ), objectType );
  assertFalse( object.isDeleted() );
}
 

开发者ID:pentaho,
项目名称:pentaho-kettle,
代码行数:13,
代码来源:KettleDatabaseRepository_GetObjectInformation_Test.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)