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

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

java 1次浏览

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

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

示例1: init

点赞 3

import org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryDatabaseDelegate; //导入依赖的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.KettleDatabaseRepositoryDatabaseDelegate; //导入依赖的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.KettleDatabaseRepositoryDatabaseDelegate; //导入依赖的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_GetDatabaseInformation

点赞 3

import org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryDatabaseDelegate; //导入依赖的package包/类
@Test
public void getObjectInformation_GetDatabaseInformation() throws Exception {
  KettleDatabaseRepositoryDatabaseDelegate databaseDelegate =
      spy( new KettleDatabaseRepositoryDatabaseDelegate( repository ) );
  repository.databaseDelegate = databaseDelegate;
  RowMeta meta = createMetaForDatabase();
  Object[] values = new Object[ meta.size() ];
  values[ Arrays.asList( meta.getFieldNames() ).indexOf( KettleDatabaseRepositoryBase.FIELD_DATABASE_NAME ) ] = EXISTING_ID;
  doReturn( new RowMetaAndData( meta, values ) )
    .when( databaseDelegate )
    .getDatabase( new StringObjectId( EXISTING_ID ) );
  RepositoryObject actual = repository.getObjectInformation( new StringObjectId( EXISTING_ID ), RepositoryObjectType.DATABASE );

  assertEquals( new StringObjectId( EXISTING_ID ), actual.getObjectId() );
  assertEquals( EXISTING_ID, actual.getName() );
  assertEquals( RepositoryObjectType.DATABASE, actual.getObjectType() );
}
 

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

示例5: setUp

点赞 2

import org.pentaho.di.repository.kdr.delegates.KettleDatabaseRepositoryDatabaseDelegate; //导入依赖的package包/类
@Before
public void setUp() throws Exception {
  repository = spy( new KettleDatabaseRepository() );
  databaseDelegate = spy( new KettleDatabaseRepositoryDatabaseDelegate( repository ) );
  repository.databaseDelegate = databaseDelegate;
}
 

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


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