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

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

java 3次浏览

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

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

示例1: ok

点赞 2

import org.pentaho.di.trans.steps.terafast.TeraFastMeta; //导入依赖的package包/类
/**
 * Ok clicked.
 */
public void ok() {
    this.stepname = this.wStepname.getText(); // return value
    this.meta.getUseControlFile().setValue(this.wUseControlFile.getSelection());
    this.meta.getVariableSubstitution().setValue(this.wVariableSubstitution.getSelection());
    this.meta.getControlFile().setValue(this.wControlFile.getText());
    this.meta.getFastloadPath().setValue(this.wFastLoadPath.getText());
    this.meta.getDataFile().setValue(this.wDataFile.getText());
    this.meta.getLogFile().setValue(this.wLogFile.getText());
    this.meta.getErrorLimit().setValue(Const.toInt(this.wErrLimit.getText(), TeraFastMeta.DEFAULT_ERROR_LIMIT));
    this.meta.getSessions().setValue(Const.toInt(this.wSessions.getText(), TeraFastMeta.DEFAULT_SESSIONS));
    this.meta.getTargetTable().setValue(this.wTable.getText());
    this.meta.getConnectionName().setValue(this.wConnection.getText());
    this.meta.getTruncateTable().setValue(this.wbTruncateTable.getSelection() && this.wbTruncateTable.getEnabled());
    this.meta.setDbMeta(this.transMeta.findDatabase(this.wConnection.getText()));

    this.meta.getTableFieldList().getValue().clear();
    this.meta.getStreamFieldList().getValue().clear();
    int nrfields = this.wReturn.nrNonEmpty();
    for (int i = 0; i < nrfields; i++) {
        TableItem item = this.wReturn.getNonEmpty(i);
        this.meta.getTableFieldList().getValue().add(item.getText(1));
        this.meta.getStreamFieldList().getValue().add(item.getText(2));
    }

    dispose();
}
 

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

示例2: ok

点赞 2

import org.pentaho.di.trans.steps.terafast.TeraFastMeta; //导入依赖的package包/类
/**
 * Ok clicked.
 */
public void ok() {
  this.stepname = this.wStepname.getText(); // return value
  this.meta.getUseControlFile().setValue( this.wUseControlFile.getSelection() );
  this.meta.getVariableSubstitution().setValue( this.wVariableSubstitution.getSelection() );
  this.meta.getControlFile().setValue( this.wControlFile.getText() );
  this.meta.getFastloadPath().setValue( this.wFastLoadPath.getText() );
  this.meta.getDataFile().setValue( this.wDataFile.getText() );
  this.meta.getLogFile().setValue( this.wLogFile.getText() );
  this.meta.getErrorLimit().setValue( Const.toInt( this.wErrLimit.getText(), TeraFastMeta.DEFAULT_ERROR_LIMIT ) );
  this.meta.getSessions().setValue( Const.toInt( this.wSessions.getText(), TeraFastMeta.DEFAULT_SESSIONS ) );
  this.meta.getTargetTable().setValue( this.wTable.getText() );
  this.meta.getConnectionName().setValue( this.wConnection.getText() );
  this.meta.getTruncateTable().setValue(
    this.wbTruncateTable.getSelection() && this.wbTruncateTable.getEnabled() );
  this.meta.setDbMeta( this.transMeta.findDatabase( this.wConnection.getText() ) );

  this.meta.getTableFieldList().getValue().clear();
  this.meta.getStreamFieldList().getValue().clear();
  int nrfields = this.wReturn.nrNonEmpty();
  for ( int i = 0; i < nrfields; i++ ) {
    TableItem item = this.wReturn.getNonEmpty( i );
    this.meta.getTableFieldList().getValue().add( item.getText( 1 ) );
    this.meta.getStreamFieldList().getValue().add( item.getText( 2 ) );
  }

  dispose();
}
 

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

示例3: getMeta

点赞 2

import org.pentaho.di.trans.steps.terafast.TeraFastMeta; //导入依赖的package包/类
/**
 * @return the meta
 */
public TeraFastMeta getMeta() {
    return this.meta;
}
 

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

示例4: getMeta

点赞 2

import org.pentaho.di.trans.steps.terafast.TeraFastMeta; //导入依赖的package包/类
/**
 * @return the meta
 */
public TeraFastMeta getMeta() {
  return this.meta;
}
 

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

示例5: TeraFastDialog

点赞 1

import org.pentaho.di.trans.steps.terafast.TeraFastMeta; //导入依赖的package包/类
/**
 * Constructor.
 * 
 * @param parent
 *            parent shell.
 * @param baseStepMeta
 *            step meta
 * @param transMeta
 *            transaction meta
 * @param stepname
 *            name of step.
 */
public TeraFastDialog(final Shell parent, final Object baseStepMeta, final TransMeta transMeta,
        final String stepname) {
    super(parent, (BaseStepMeta)baseStepMeta, transMeta, stepname);
    this.meta = (TeraFastMeta) baseStepMeta;
}
 

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

示例6: TeraFastDialog

点赞 1

import org.pentaho.di.trans.steps.terafast.TeraFastMeta; //导入依赖的package包/类
/**
 * Constructor.
 *
 * @param parent
 *          parent shell.
 * @param baseStepMeta
 *          step meta
 * @param transMeta
 *          transaction meta
 * @param stepname
 *          name of step.
 */
public TeraFastDialog( final Shell parent, final Object baseStepMeta, final TransMeta transMeta,
  final String stepname ) {
  super( parent, (BaseStepMeta) baseStepMeta, transMeta, stepname );
  this.meta = (TeraFastMeta) baseStepMeta;
}
 

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


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