本文整理汇总了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);
}
}
示例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 );
}
}
示例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 );
}
}
示例4: addRowListener
import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
public void addRowListener(RowListener rowListener)
{
if (child == null) {
addRowListenerImpl(rowListener);
} else {
child.addRowListener(rowListener);
}
}
示例5: getRowListeners
import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
public List<RowListener> getRowListeners()
{
if (child == null) {
return getRowListenersImpl();
} else {
return child.getRowListeners();
}
}
示例6: removeRowListener
import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
public void removeRowListener(RowListener rowListener)
{
if (child == null) {
removeRowListenerImpl(rowListener);
} else {
child.removeRowListener(rowListener);
}
}
示例7: addRowListener
import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
public void addRowListener( RowListener rowListener ) {
if ( child == null ) {
addRowListenerImpl( rowListener );
} else {
child.addRowListener( rowListener );
}
}
示例8: getRowListeners
import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
public List<RowListener> getRowListeners() {
if ( child == null ) {
return getRowListenersImpl();
} else {
return child.getRowListeners();
}
}
示例9: removeRowListener
import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
public void removeRowListener( RowListener rowListener ) {
if ( child == null ) {
removeRowListenerImpl( rowListener );
} else {
child.removeRowListener( rowListener );
}
}
示例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;
}
示例11: addRowListener
import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
public void addRowListener(RowListener rowListener) {
}
示例12: getRowListeners
import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
public List<RowListener> getRowListeners() {
return null;
}
示例13: removeRowListener
import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
public void removeRowListener(RowListener rowListener) {
}
示例14: addRowListener
import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
public void addRowListener(String stepname, RowListener rowListener)
{
this.rowListenerStep = stepname;
this.rowListener = rowListener;
}
示例15: addRowListener
import org.pentaho.di.trans.step.RowListener; //导入依赖的package包/类
public void addRowListener( RowListener arg0 ) {
baseStep.addRowListener( arg0 );
}