当前位置: 首页>>代码示例>>Java>>正文


Java MergeJoinMeta类代码示例

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


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

示例1: getKeys1

import org.pentaho.di.trans.steps.mergejoin.MergeJoinMeta; //导入依赖的package包/类
private void getKeys1()
{
    MergeJoinMeta meta = new MergeJoinMeta();
    getMeta(meta);
    
    try
    {
        StepMeta stepMeta = transMeta.findStep(meta.getStepName1());
        if (stepMeta!=null)
        {
            RowMetaInterface prev = transMeta.getStepFields(stepMeta);
            if (prev!=null)
            {
                BaseStepDialog.getFieldsFromPrevious(prev, wKeys1, 1, new int[] { 1 }, new int[] {}, -1, -1, null);
            }
        }
    }
    catch(KettleException e)
    {
        new ErrorDialog(shell, Messages.getString("MergeJoinDialog.ErrorGettingFields.DialogTitle"), Messages.getString("MergeJoinDialog.ErrorGettingFields.DialogMessage"), e); //$NON-NLS-1$ //$NON-NLS-2$
    }
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:23,代码来源:MergeJoinDialog.java

示例2: getKeys2

import org.pentaho.di.trans.steps.mergejoin.MergeJoinMeta; //导入依赖的package包/类
private void getKeys2()
{
    MergeJoinMeta meta = new MergeJoinMeta();
    getMeta(meta);

    try
    {
        StepMeta stepMeta = transMeta.findStep(meta.getStepName2());
        if (stepMeta!=null)
        {
            RowMetaInterface prev = transMeta.getStepFields(stepMeta);
            if (prev!=null)
            {
                BaseStepDialog.getFieldsFromPrevious(prev, wKeys2, 1, new int[] { 1 }, new int[] {}, -1, -1, null);
            }
        }
    }
    catch(KettleException e)
    {
        new ErrorDialog(shell, Messages.getString("MergeJoinDialog.ErrorGettingFields.DialogTitle"), Messages.getString("MergeJoinDialog.ErrorGettingFields.DialogMessage"), e); //$NON-NLS-1$ //$NON-NLS-2$
    }
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:23,代码来源:MergeJoinDialog.java

示例3: getKeys1

import org.pentaho.di.trans.steps.mergejoin.MergeJoinMeta; //导入依赖的package包/类
private void getKeys1()
{
    MergeJoinMeta joinMeta = new MergeJoinMeta();
    getMeta(joinMeta);
    
    try
    {
        List<StreamInterface> infoStreams = joinMeta.getStepIOMeta().getInfoStreams();

        StepMeta stepMeta = infoStreams.get(0).getStepMeta();
        if (stepMeta!=null)
        {
            RowMetaInterface prev = transMeta.getStepFields(stepMeta);
            if (prev!=null)
            {
                BaseStepDialog.getFieldsFromPrevious(prev, wKeys1, 1, new int[] { 1 }, new int[] {}, -1, -1, null);
            }
        }
    }
    catch(KettleException e)
    {
        new ErrorDialog(shell, BaseMessages.getString(PKG, "MergeJoinDialog.ErrorGettingFields.DialogTitle"), BaseMessages.getString(PKG, "MergeJoinDialog.ErrorGettingFields.DialogMessage"), e); //$NON-NLS-1$ //$NON-NLS-2$
    }
}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:25,代码来源:MergeJoinDialog.java

示例4: getKeys2

import org.pentaho.di.trans.steps.mergejoin.MergeJoinMeta; //导入依赖的package包/类
private void getKeys2()
{
    MergeJoinMeta joinMeta = new MergeJoinMeta();
    getMeta(joinMeta);

    try
    {
        List<StreamInterface> infoStreams = joinMeta.getStepIOMeta().getInfoStreams();

        StepMeta stepMeta = infoStreams.get(1).getStepMeta();
        if (stepMeta!=null)
        {
            RowMetaInterface prev = transMeta.getStepFields(stepMeta);
            if (prev!=null)
            {
                BaseStepDialog.getFieldsFromPrevious(prev, wKeys2, 1, new int[] { 1 }, new int[] {}, -1, -1, null);
            }
        }
    }
    catch(KettleException e)
    {
        new ErrorDialog(shell, BaseMessages.getString(PKG, "MergeJoinDialog.ErrorGettingFields.DialogTitle"), BaseMessages.getString(PKG, "MergeJoinDialog.ErrorGettingFields.DialogMessage"), e); //$NON-NLS-1$ //$NON-NLS-2$
    }
}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:25,代码来源:MergeJoinDialog.java

示例5: getKeys1

import org.pentaho.di.trans.steps.mergejoin.MergeJoinMeta; //导入依赖的package包/类
private void getKeys1() {
  MergeJoinMeta joinMeta = new MergeJoinMeta();
  getMeta( joinMeta );

  try {
    List<StreamInterface> infoStreams = joinMeta.getStepIOMeta().getInfoStreams();

    StepMeta stepMeta = infoStreams.get( 0 ).getStepMeta();
    if ( stepMeta != null ) {
      RowMetaInterface prev = transMeta.getStepFields( stepMeta );
      if ( prev != null ) {
        BaseStepDialog.getFieldsFromPrevious( prev, wKeys1, 1, new int[] { 1 }, new int[] {}, -1, -1, null );
      }
    }
  } catch ( KettleException e ) {
    new ErrorDialog(
      shell, BaseMessages.getString( PKG, "MergeJoinDialog.ErrorGettingFields.DialogTitle" ), BaseMessages
        .getString( PKG, "MergeJoinDialog.ErrorGettingFields.DialogMessage" ), e );
  }
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:21,代码来源:MergeJoinDialog.java

示例6: getKeys2

import org.pentaho.di.trans.steps.mergejoin.MergeJoinMeta; //导入依赖的package包/类
private void getKeys2() {
  MergeJoinMeta joinMeta = new MergeJoinMeta();
  getMeta( joinMeta );

  try {
    List<StreamInterface> infoStreams = joinMeta.getStepIOMeta().getInfoStreams();

    StepMeta stepMeta = infoStreams.get( 1 ).getStepMeta();
    if ( stepMeta != null ) {
      RowMetaInterface prev = transMeta.getStepFields( stepMeta );
      if ( prev != null ) {
        BaseStepDialog.getFieldsFromPrevious( prev, wKeys2, 1, new int[] { 1 }, new int[] {}, -1, -1, null );
      }
    }
  } catch ( KettleException e ) {
    new ErrorDialog(
      shell, BaseMessages.getString( PKG, "MergeJoinDialog.ErrorGettingFields.DialogTitle" ), BaseMessages
        .getString( PKG, "MergeJoinDialog.ErrorGettingFields.DialogMessage" ), e );
  }
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:21,代码来源:MergeJoinDialog.java

示例7: MergeJoinDialog

import org.pentaho.di.trans.steps.mergejoin.MergeJoinMeta; //导入依赖的package包/类
public MergeJoinDialog(Shell parent, Object in, TransMeta tr, String sname)
{
	super(parent, (BaseStepMeta)in, tr, sname);
	input=(MergeJoinMeta)in;
    }
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:6,代码来源:MergeJoinDialog.java

示例8: MergeJoinDialog

import org.pentaho.di.trans.steps.mergejoin.MergeJoinMeta; //导入依赖的package包/类
public MergeJoinDialog( Shell parent, Object in, TransMeta tr, String sname ) {
  super( parent, (BaseStepMeta) in, tr, sname );
  input = (MergeJoinMeta) in;
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:5,代码来源:MergeJoinDialog.java


注:本文中的org.pentaho.di.trans.steps.mergejoin.MergeJoinMeta类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。