本文整理了Java中org.pentaho.di.repository.Repository.deletePartitionSchema
方法的一些代码示例,展示了Repository.deletePartitionSchema
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Repository.deletePartitionSchema
方法的具体详情如下:
包路径:org.pentaho.di.repository.Repository
类名称:Repository
方法名:deletePartitionSchema
暂无
代码示例来源:origin: pentaho/pentaho-kettle
@Override
public void deletePartitionSchema( ObjectId objectId ) throws KettleException {
getDelegate().deletePartitionSchema( objectId );
}
代码示例来源:origin: pentaho/pentaho-kettle
public void delPartitionSchema( String partitionSchemaName ) {
try {
ObjectId id = rep.getPartitionSchemaID( partitionSchemaName );
if ( id != null ) {
rep.deletePartitionSchema( id );
}
refreshTree();
} catch ( KettleException e ) {
new ErrorDialog( shell,
BaseMessages.getString( PKG, "RepositoryExplorerDialog.PartitionSchema.Delete.UnexpectedError.Title" ),
BaseMessages.getString( PKG, "RepositoryExplorerDialog.PartitionSchema.Delete.UnexpectedError.Message" ), e );
}
}
代码示例来源:origin: pentaho/pentaho-kettle
public void delPartitionSchema( TransMeta transMeta, PartitionSchema partitionSchema ) {
try {
int idx = transMeta.getPartitionSchemas().indexOf( partitionSchema );
transMeta.getPartitionSchemas().remove( idx );
if ( spoon.rep != null && partitionSchema.getObjectId() != null ) {
// remove the partition schema from the repository too...
spoon.rep.deletePartitionSchema( partitionSchema.getObjectId() );
if ( sharedObjectSyncUtil != null ) {
sharedObjectSyncUtil.deletePartitionSchema( partitionSchema );
}
}
refreshTree();
} catch ( KettleException e ) {
new ErrorDialog(
spoon.getShell(), BaseMessages.getString( PKG, "Spoon.Dialog.ErrorDeletingClusterSchema.Title" ), BaseMessages
.getString( PKG, "Spoon.Dialog.ErrorDeletingClusterSchema.Message" ), e );
}
}
代码示例来源:origin: pentaho/pentaho-kettle
mb.open();
} else {
repository.deletePartitionSchema( partitionId );
if ( mainController != null && mainController.getSharedObjectSyncUtil() != null ) {
mainController.getSharedObjectSyncUtil().deletePartitionSchema( partitionSchema );
内容来源于网络,如有侵权,请联系作者删除!