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


Java RowListener类代码示例

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


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

示例1: addRowListener

import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
/**
 * For preview of the main data path, make sure we pass the row listener down to the Mapping Output step...
 */
public void addRowListener(RowListener rowListener)
{
    MappingOutput[] mappingOutputs = data.mappingTrans.findMappingOutput();
    if (mappingOutputs==null || mappingOutputs.length==0) return; // Nothing to do here...
    
	// Simple case: one output mapping step : add the row listener over there
	//
    /*
    if (mappingOutputs.length==1) {
    	mappingOutputs[0].addRowListener(rowListener);
    } else {
    	// Find the main data path...
    	//
    	
    	
    }
    */
    
    // Add the row listener to all the outputs in the mapping...
    //
    for (MappingOutput mappingOutput : mappingOutputs) {
    	mappingOutput.addRowListener(rowListener);
    }
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:28,代码来源:Mapping.java

示例2: addRowListener

import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
/**
 * For preview of the main data path, make sure we pass the row listener down to the Mapping Output step...
 */
public void addRowListener( RowListener rowListener ) {
  MappingOutput[] mappingOutputs = getData().getMappingTrans().findMappingOutput();
  if ( mappingOutputs == null || mappingOutputs.length == 0 ) {
    return; // Nothing to do here...
  }

  // Simple case: one output mapping step : add the row listener over there
  //
  /*
   * if (mappingOutputs.length==1) { mappingOutputs[0].addRowListener(rowListener); } else { // Find the main data
   * path... //
   *
   *
   * }
   */

  // Add the row listener to all the outputs in the mapping...
  //
  for ( MappingOutput mappingOutput : mappingOutputs ) {
    mappingOutput.addRowListener( rowListener );
  }
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:26,代码来源:Mapping.java

示例3: addRowListener

import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
/**
 * For preview of the main data path, make sure we pass the row listener down to the Mapping Output step...
 */
public void addRowListener( RowListener rowListener ) {
  MappingOutput[] mappingOutputs = getData().mappingTrans.findMappingOutput();
  if ( mappingOutputs == null || mappingOutputs.length == 0 ) {
    return; // Nothing to do here...
  }

  // Simple case: one output mapping step : add the row listener over there
  //
  /*
   * if (mappingOutputs.length==1) { mappingOutputs[0].addRowListener(rowListener); } else { // Find the main data
   * path... //
   *
   *
   * }
   */

  // Add the row listener to all the outputs in the mapping...
  //
  for ( MappingOutput mappingOutput : mappingOutputs ) {
    mappingOutput.addRowListener( rowListener );
  }
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:26,代码来源:SimpleMapping.java

示例4: addRowListener

import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
public void addRowListener(RowListener rowListener)
{
    if (child == null) {
        addRowListenerImpl(rowListener);
    } else {
        child.addRowListener(rowListener);
    }
}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:9,代码来源:UserDefinedJavaClass.java

示例5: getRowListeners

import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
public List<RowListener> getRowListeners()
{
    if (child == null) {
        return getRowListenersImpl();
    } else {
        return child.getRowListeners();
    }
}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:9,代码来源:UserDefinedJavaClass.java

示例6: removeRowListener

import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
public void removeRowListener(RowListener rowListener)
{
    if (child == null) {
        removeRowListenerImpl(rowListener);
    } else {
        child.removeRowListener(rowListener);
    }
}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:9,代码来源:UserDefinedJavaClass.java

示例7: addRowListener

import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
public void addRowListener( RowListener rowListener ) {
  if ( child == null ) {
    addRowListenerImpl( rowListener );
  } else {
    child.addRowListener( rowListener );
  }
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:8,代码来源:UserDefinedJavaClass.java

示例8: getRowListeners

import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
public List<RowListener> getRowListeners() {
  if ( child == null ) {
    return getRowListenersImpl();
  } else {
    return child.getRowListeners();
  }
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:8,代码来源:UserDefinedJavaClass.java

示例9: removeRowListener

import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
public void removeRowListener( RowListener rowListener ) {
  if ( child == null ) {
    removeRowListenerImpl( rowListener );
  } else {
    child.removeRowListener( rowListener );
  }
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:8,代码来源:UserDefinedJavaClass.java

示例10: doCall

import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
@Override
BaseStep doCall() throws Exception {
    for ( RowListener rowListener : baseStep.getRowListeners() ) {
        rowListener.rowWrittenEvent( mock( RowMetaInterface.class ), new Object[]{} );
    }
    return null;
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:8,代码来源:BaseStepConcurrencyTest.java

示例11: addRowListener

import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
public void addRowListener(RowListener rowListener) {
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:3,代码来源:ScriptValuesModDummy.java

示例12: getRowListeners

import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
public List<RowListener> getRowListeners() {
	return null;
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:4,代码来源:ScriptValuesModDummy.java

示例13: removeRowListener

import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
public void removeRowListener(RowListener rowListener) {
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:3,代码来源:ScriptValuesModDummy.java

示例14: addRowListener

import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
public void addRowListener(String stepname, RowListener rowListener)
{
    this.rowListenerStep = stepname;
    this.rowListener = rowListener;
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:6,代码来源:TimedTransRunner.java

示例15: addRowListener

import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
public void addRowListener( RowListener arg0 ) {
  baseStep.addRowListener( arg0 );
}
 
开发者ID:mattyb149,项目名称:pdi-pojo,代码行数:4,代码来源:StepPluginPOJO.java


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