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

  • 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 81
82
virtual INT64 getChunkPosition();
At any time, a CNKBufWriter can write a "chunk" of data rows in 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. This value is the same
as the sum of all
releaseRows calls since CNKBuf::init() was last
called.
CNKBufWriter::
virtual void copyBufData(CNKBufReader* rdr,
long inFirstRowNum, long inFirstColNum,
long outFirstRowNum, long outFirstColNum,
long numRows, long numColumns = 1);
The copyBufData() method copies the values in a specified range of
rows and columns from this writer to the specified reader.
CNKProc Methods All data processing components should be derived from CNKProc,
which defines many methods for accessing
CNKBuf objects as inputs
and outputs, and managing the execution of the proc in a pipeline.
Many of the
CNKProc methods are virtual methods, so that subclasses
can redefine them.
CNKProc::
CNKProc();
virtual ~CNKProc();
virtual void init();
These are the CNKProc constructor, destructor, and init() methods.
Normally, there is no reason to construct a plain
CNKProc, since it
can't actually do any processing by itself. Instead, one would create
one of the subclasses of
CNKProc, designed to perform a particular
data processing task.
When designing a new subclass for
CNKProc, the subclass constructor
should call the
CNKProc base class constructor, using a form like:
CNKProcCount::CNKProcCount() : CNKProc()
{
....
}
Zobrazit stránku 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 97 98

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

Žádné komentáře