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


Java AggregateRowsMeta类代码示例

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


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

示例1: ok

import org.pentaho.di.trans.steps.aggregaterows.AggregateRowsMeta; //导入依赖的package包/类
private void ok()
{
	if (Const.isEmpty(wStepname.getText())) return;

	int i;
	int nrfields = wFields.nrNonEmpty();

	stepname = wStepname.getText(); // return value
	
	input.allocate(nrfields);
	
	for (i=0;i<nrfields;i++)
	{
		TableItem item = wFields.getNonEmpty(i);
		input.getFieldName()[i]      = item.getText(1);
		input.getFieldNewName()[i]   = item.getText(2);
		if (input.getFieldNewName()[i]==null || input.getFieldNewName()[i].length()==0)
			input.getFieldNewName()[i] = input.getFieldName()[i];
		input.getAggregateType()[i] = AggregateRowsMeta.getType(item.getText(3));
	}
	
	dispose();
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:24,代码来源:AggregateRowsDialog.java

示例2: ok

import org.pentaho.di.trans.steps.aggregaterows.AggregateRowsMeta; //导入依赖的package包/类
private void ok() {
  if ( Utils.isEmpty( wStepname.getText() ) ) {
    return;
  }

  int i;
  int nrfields = wFields.nrNonEmpty();

  stepname = wStepname.getText(); // return value

  input.allocate( nrfields );

  //CHECKSTYLE:Indentation:OFF
  for ( i = 0; i < nrfields; i++ ) {
    TableItem item = wFields.getNonEmpty( i );
    input.getFieldName()[i] = item.getText( 1 );
    input.getFieldNewName()[i] = item.getText( 2 );
    if ( input.getFieldNewName()[i] == null || input.getFieldNewName()[i].length() == 0 ) {
      input.getFieldNewName()[i] = input.getFieldName()[i];
    }
    input.getAggregateType()[i] = AggregateRowsMeta.getType( item.getText( 3 ) );
  }

  dispose();
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:26,代码来源:AggregateRowsDialog.java

示例3: AggregateRowsDialog

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

示例4: AggregateRowsDialog

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


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