kettle6.1.0.1-196 MyEclipse源码工程包 part3
kettle源码部署教程:http://blog.csdn.net/zutsoft/article/details/52998148
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 5617718 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libpoi-ooxml-schemas-3.12.jar
文件 592407 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libpostgresql-9.3-1102-jdbc4.jar
文件 219671 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)lib
ome-1.0.jar
文件 520806 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)lib
syntaxtextarea-1.3.2.jar
文件 15808 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libsac-1.3.jar
文件 402219 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libsapdbc-7.4.4.jar
文件 23262 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libSassyReader-0.5.jar
文件 5046534 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libsaxon-9.1.0.8.jar
文件 129236 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libsaxon-dom-9.1.0.8.jar
文件 18277 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libscannotation-1.0.2.jar
文件 177061 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libsecondstring-20060615.jar
文件 43993 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libsimple-jndi-1.0.0.jar
文件 29257 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libslf4j-api-1.7.7.jar
文件 8870 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libslf4j-log4j12-1.7.7.jar
文件 253432 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libsnakeyaml-1.7.jar
文件 410710 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libsnappy-java-1.1.0.jar
文件 370448 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libsnmp4j-1.9.3d.jar
文件 338657 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libspring-aop-3.2.14.RELEASE.jar
文件 614471 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libspring-beans-3.2.14.RELEASE.jar
文件 868300 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libspring-context-3.2.14.RELEASE.jar
文件 885640 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libspring-core-3.2.14.RELEASE.jar
文件 196571 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libspring-expression-3.2.14.RELEASE.jar
文件 788627 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libspring-security-core-2.0.8.RELEASE.jar
文件 117045 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libspring-support-2.0.8.jar
文件 3201133 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libsqlite-jdbc-3.7.2.jar
文件 26514 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libstax-api-1.0.1.jar
文件 194278 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libsyslog4j-0.9.34.jar
文件 29512 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)lib inybundles-2.0.0.jar
文件 252914 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)lib rilead-ssh2-build213.jar
文件 47433 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libvalidation-api-1.0.0.GA.jar
............此处省略3749个文件信息
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License Version 2.0 (the “License“);
* you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing software
* distributed under the License is distributed on an “AS IS“ BASIS
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
******************************************************************************/
package org.pentaho.di.trans.steps.aggregaterows;
import org.pentaho.di.core.exception.KettleException;
import org.pentaho.di.core.exception.KettleValueException;
import org.pentaho.di.core.row.RowDataUtil;
import org.pentaho.di.core.row.RowmetaInterface;
import org.pentaho.di.core.row.ValuemetaInterface;
import org.pentaho.di.i18n.baseMessages;
import org.pentaho.di.trans.Trans;
import org.pentaho.di.trans.Transmeta;
import org.pentaho.di.trans.step.baseStep;
import org.pentaho.di.trans.step.StepDataInterface;
import org.pentaho.di.trans.step.StepInterface;
import org.pentaho.di.trans.step.Stepmeta;
import org.pentaho.di.trans.step.StepmetaInterface;
/**
* Aggregates rows
*
* @author Matt
* @since 2-jun-2003
*/
public class AggregateRows extends baseStep implements StepInterface {
private static Class> PKG = AggregateRows.class; // for i18n purposes needed by Translator2!!
private AggregateRowsmeta meta;
private AggregateRowsData data;
public AggregateRows( Stepmeta stepmeta StepDataInterface stepDataInterface int copyNr Transmeta transmeta
Trans trans ) {
super( stepmeta stepDataInterface copyNr transmeta trans );
}
private synchronized void AddAggregate( RowmetaInterface rowmeta object[] r ) throws KettleValueException {
for ( int i = 0; i < data.fieldnrs.length; i++ ) {
ValuemetaInterface valuemeta = rowmeta.getValuemeta( data.fieldnrs[i] );
object valueData = r[data.fieldnrs[i]];
if ( !valuemeta.isNull( valueData ) ) {
data.counts[i]++; // only count non-zero values!
switch ( meta.getAggregateType()[i] ) {
case AggregateRowsmeta.TYPE_AGGREGATE_SUM:
case AggregateRowsmeta.TYPE_AGGREGATE_AVERAGE:
Double number = valuemeta.getNumber( valueData );
if ( data.values[i] == null ) {
data.values[i] = number;
} else {
data.values[i] = new Double( ( (Double) data.values[i] ).doubleValue() + number.doubleValue() );
}
break;
case AggregateRowsmeta.TYPE_AGGREGATE_MIN:
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 5617718 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libpoi-ooxm
文件 592407 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libpostgresql-9.3-1102-jdbc4.jar
文件 219671 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)lib
ome-1.0.jar
文件 520806 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)lib
syntaxtextarea-1.3.2.jar
文件 15808 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libsac-1.3.jar
文件 402219 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libsapdbc-7.4.4.jar
文件 23262 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libSassyReader-0.5.jar
文件 5046534 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libsaxon-9.1.0.8.jar
文件 129236 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libsaxon-dom-9.1.0.8.jar
文件 18277 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libscannotation-1.0.2.jar
文件 177061 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libsecondstring-20060615.jar
文件 43993 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libsimple-jndi-1.0.0.jar
文件 29257 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libslf4j-api-1.7.7.jar
文件 8870 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libslf4j-log4j12-1.7.7.jar
文件 253432 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libsnakeyaml-1.7.jar
文件 410710 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libsnappy-java-1.1.0.jar
文件 370448 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libsnmp4j-1.9.3d.jar
文件 338657 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libspring-aop-3.2.14.RELEASE.jar
文件 614471 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libspring-beans-3.2.14.RELEASE.jar
文件 868300 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libspring-context-3.2.14.RELEASE.jar
文件 885640 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libspring-core-3.2.14.RELEASE.jar
文件 196571 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libspring-ex
文件 788627 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libspring-security-core-2.0.8.RELEASE.jar
文件 117045 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libspring-support-2.0.8.jar
文件 3201133 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libsqlite-jdbc-3.7.2.jar
文件 26514 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libstax-api-1.0.1.jar
文件 194278 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libsyslog4j-0.9.34.jar
文件 29512 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)lib inybundles-2.0.0.jar
文件 252914 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)lib rilead-ssh2-build213.jar
文件 47433 2016-11-01 19:57 kettle(6.1.0.1-196 MyEclipse源码工程包)libvalidation-api-1.0.0.GA.jar
............此处省略3749个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)