EDOBE XDOM PMML Manual de usuario Pagina 75

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 98
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 74
75
These methods return information about the storage of the data in the
backing file.
getBackingFileRowBytes returns the number of bytes
for each row.
getBackingFileColumnOffsetBytes returns the offset in
bytes from the beginning of the row to the specified column data.
getBackingFileColumnWidthBytes returns the number of bytes used
to store the data for the specified row.
CNKBackingFileBuf::
void closeBackingFile();
This method closes the backing file if it is open.
CNKBufReader
Methods
Here are the methods for reading a CNKBuf using a CNKBufReader.
Note that there is no public constructor for a
CNKBufReader object (it
is created automatically in
CNKProc::setInputBuf), and no public
init() method (it is initialized in CNKBuf::init()).
CNKBufReader::
CNKBuf* getBuf();
CNKProc* getProc();
Returns the CNKBuf or CNKProc linked by this CNKBufReader.
CNKBufReader::
virtual void setRequestRows(long numRows);
virtual long getRequestRows();
A CNKProc calls setRequestRows to set the number of data rows that
are desired.
setRequestRows can be called multiple times, to adjust
this number up or down.
getRequestRows returns the last row
request. When the
CNKBuf is initialized, the row request number is
initialized to zero.
When a
CNKProc calls setRequestRows, if numRows is greater than the
total number of rows in the
CNKBuf, or if numRows is greater than
CNKProc::getNumRows(), then an error string is set for the CNKProc.
CNKBufReader::
virtual long getRowsReady();
getRowsReady
returns the number of data rows that are available to
read. At any given time, it may be less than the row request, equal to
it, or even greater (if there happen to be more rows available than the
request). However, the programmer can depend on it's always
Vista de pagina 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 97 98

Comentarios a estos manuales

Sin comentarios