EDOBE XDOM PMML Uživatelský manuál Strana 29

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 98
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 28
29
/**
* Very simple implementation of engine node copying each
* input to the corresponding output. Assumes the same
* number of inputs as outputs. To keep this short, no
* error checking is performed.
*/
public class FirstCopyEngineNode extends EngineNode
implements CNKProcJavaTransformExec {
/**
* Empty constructor just uses the super method.
*/
public FirstCopyEngineNode() {
}
/**
* Boilerplate for specifying this class provides the
* execute() method.
*/
public CNKProc procCreate() throws Exception {
CNKProcJavaTransform proc = new CNKProcJavaTransform();
proc.setExecObject(this);
return(proc);
}
/**
* Passes the input column name/type information as the
* output information.
*/
public XTMetaData calculateOutputMetaData(int outputNum)
{
return (XTMetaData)getInputMetaData(outputNum).clone();
}
/**
* Copies the two inputs to the two outputs when the node
Zobrazit stránku 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 97 98

Komentáře k této Příručce

Žádné komentáře