EDOBE XDOM PMML Manual de usuario Pagina 78

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 98
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 77
78
releaseAll() should be called when the reader is no longer
interested in reading this data. After calling
releaseAll(), no
requests will be satisfied. This method allows a reader to "disconnect"
from the buf. This is needed for multipass or random-access readers,
to tell the buf that they are through reading, since it isn't enough that
EOF has been reached. This should be called from streaming readers,
too, when they set themselves "done", in case there are other
resources that can be released.
CNKBufReader::
virtual INT64 getChunkPosition();
At any time, a CNKBufReader can access a "chunk" of data rows from a
potentially-very-large series of data rows.
getChunkPosition returns
the row number of the first row in the chunk, counted from the start
of the series when
CNKBuf::init() was called. If the data is being
read sequentially, this value is the same as the sum of all
releaseRows
calls since
CNKBuf::init() was last called.
CNKBufReader::
virtual void setChunkPosition(INT64 where);
The setChunkPosition method sets the position of the beginning of
the current chunk. This may change the value returned by
getRowsReady(). For random-access bufs, this can be set to any value,
forward or backward. For multi-pass bufs, this can be set forward, or
to
0 to reset the stream. Setting this backwards (except to 0) will
cause a buf error. For normal sequential streaming bufs, setting this
backwards will cause a buf error.
For any type of access,
setChunkPosition can be used to skip ahead
in the data stream. To skip forward to the
EOF, call
setChunkPosition(max_int64).
CNKBufReader::
virtual int isMultiPass();
virtual int isRandomAccess();
These methods return non-zero if this CNKBufReader CNKBuf supports
multi-pass access, or random-access.
Vista de pagina 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 97 98

Comentarios a estos manuales

Sin comentarios