EDOBE XDOM PMML Manual do Utilizador Página 34

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 98
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 33
34
/**
* Passes the input column name/type information as the
* output information.
*/
public XTMetaData calculateOutputMetaData(int outputNum)
{
return (XTMetaData)getInputMetaData(outputNum).clone();
}
}
Java CNKProc The Java class extending CNKProc has two main responsibilities:
Indicate the name and location of the C++ class.
Provide a mechanism for exchanging property values with the
C++ class.
Since we have no properties to exchange, our class will just perform
the first task. The
createPeerObject() method indicates that our
C++ class will be named
CNKProcCppSecondCopy, and it will be in the
cnkcopy C++ library. The
CNKProcSecondCopy.java file contains:
import com.insightful.cnkjava.*;
/**
* Java class corresponding to C++ proc for Copy Columns
* example.
*/
public class CNKProcSecondCopy extends CNKProc {
/**
* Default constructor does nothing.
*/
public CNKProcSecondCopy() {
}
/**
* Specify that the C++ class is named
* CNKProcCppSecondCopy and that it is in the cnkcopy
Vista de página 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 97 98

Comentários a estes Manuais

Sem comentários