EDOBE XDOM PMML Manual do Utilizador Página 81

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 98
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 80
81
With setConvertFactor, if the column is actually a double column,
the argument is registered as a factor level for the column (by calling
CNKBuf::mapLevelToDouble), and the value associated with that factor
level is assigned. The order of the values is not particularly
meaningful.
CNKBufWriter::
virtual void setDoubleArray(long firstRowNum,
int columnNum, long numRows, double* ptr);
This method copies multiple values from the array *ptr into a
column of values stored in the
CNKBuf. columnNum identifies the
column in
CNKBuf of the data being copied, from 0 to
CNKBuf::getNumcolumns()-1. firstRowNum is the row number of the
first row to copy in the currently-accessible chunk of data rows: it
should be zero or greater.
numRows is the number of values to copy.
firstRowNum + numRows should be less than getRowsReady().
CNKBufWriter::
virtual void releaseRows(long numRows);
After writing up to getRowsReady() data rows (using the methods
such as
setDouble, etc.), releaseRows(numRows) is called to release
the first
numRows rows of the available rows, so they can be read by
other
CNKProc objects. A CNKProc may release all of the
getRowsReady() data rows at once, or fewer rows.
If
numRows is less than zero, or greater than getRowsReady(), then an
error string is set for the
CNKProc using this CNKBufWriter. In
addition, if this is called after the
EOF flag has been set with setEOF, an
error string is set for the
CNKProc.
CNKBufWriter::
virtual void setEOF();
setEOF() should be called after a CNKProc has written all of the data to
the
CNKBuf that it ever will, and called releaseRows to release these
rows. This sets a flag in the
CNKBuf, so the CNKProc objects reading
this
CNKBuf will know not to wait for any more data. After this is
called,
releaseRows should never be called again: if it is, an error
string is set for the
CNKProc.
CNKBufWriter::
Vista de página 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 97 98

Comentários a estes Manuais

Sem comentários