Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
DB Interface Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWDBDateVector

Module:  DB Interface Module   Group:  Bulk Classes


Does not inherit

Local Index

Members

Synopsis

#include <rw/db/dbdatevec.h>
#include <rw/db/dbase.h>

RWDBDateVector dateVector = db.dateVector(n);

Description

RWDBDateVectors are used to transfer date values between the application and the database via RWDBBulkReaders and RWDBBulkInserters. Class RWDBDateVector implements basic vector methods and adds null processing capabilities similar to RWDBVector. RWDBDateVectors are produced by RWDBDatabase. The resulting RWDBDateVector elements are RWDBVendorDates of the type appropriate for the underlying database.


NOTE -- Classes RWDBVendorDate and RWDBDateVector are deprecated. Please use classes RWDateTime and RWDBTBuffer<RWDateTime>.

Example

In the following example, a vector dateVector is produced. The vector could later be used with either an RWDBBulkInserter or an RWDBBulkReader:

Public Member Operator

RWDBVendorDate 
operator[](size_t index) const;

Public Member Functions

size_t 
entries() const;
bool
isNull(size_t index) const;
size_t 
length() const;
void 
setNull(size_t index);
void 
unsetNull(size_t index);


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.