EDOBE XDOM PMML Instrukcja Użytkownika Strona 46

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 98
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 45
46
/**
* Empty constructor just uses the super method.
*/
public ThirdCopyEngineNode() {
}
/**
* Boilerplate for specifying this class provides the
* execute() method.
*/
public CNKProc procCreate() throws Exception {
CNKProcJavaTransform proc = new CNKProcJavaTransform();
proc.setExecObject(this);
return(proc);
}
/**
* Look at which columns will be copied and return their
* metadata.
*/
public XTMetaData calculateOutputMetaData(int outputNum){
if (outputNum > 0) {
return null;
}
XTMetaData inMD = getInputMetaData(0);
XTProps props = getNodeProperties();
Vector columns = props.getSubProperties(
COLUMNS_ATTRIBUTE_TAG);
if (columns == null || columns.size() == 0){
return null;
}
XTMetaData outMD = inMD.selectiveClone(columns);
return outMD;
}
Przeglądanie stron 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 97 98

Komentarze do niniejszej Instrukcji

Brak uwag