#include <Collection.h>

Public Types | |
| enum | State { coherent = 1, added, removed, modified } |
| typedef eyedblib::uint32 | ItemId |
Public Member Functions | |
| int | getCount () const |
| Not yet documented. | |
| Bool | isEmpty () const |
| Not yet documented. | |
| const char * | getName () const |
| Not yet documented. | |
| void | setName (const char *s) |
| Not yet documented. | |
| Status | getStatus () const |
| Not yet documented. | |
| virtual Status | insert (const Value &v, Bool noDup=False) |
| Not yet documented. | |
| virtual Status | suppress (const Value &item_value, Bool checkFirst=False) |
| Not yet documented. | |
| Status | empty () |
| Not yet documented. | |
| virtual Status | isIn (const Value &value, Bool &found, Collection::ItemId *where=0) const |
| Not yet documented. | |
| Status | getElements (OidArray &oid_array) const |
| Not yet documented. | |
| Status | getElements (ObjectPtrVector &obj_vect, const RecMode *recmode=RecMode::NoRecurs) const |
| Not yet documented. | |
| Status | getElements (ObjectArray &obj_array, const RecMode *recmode=RecMode::NoRecurs) const |
| Not yet documented. | |
| Status | getElements (ValueArray &value_array, Bool index=False) const |
| Not yet documented. | |
| Status | realize (const RecMode *recmod=RecMode::NoRecurs) |
| Not yet documented. | |
| Status | remove (const RecMode *recmode=RecMode::NoRecurs) |
| Not yet documented. | |
| Status | trace (FILE *fd=stdout, unsigned int flags=0, const RecMode *recmode=RecMode::FullRecurs) const |
| Not yet documented. | |
| void | setImplementation (const IndexImpl *idximpl) |
| Not yet documented. | |
| Status | getImplementation (IndexImpl *&idximpl, Bool remote=False) const |
| Not yet documented. | |
| Status | getImplStats (std::string &xstats, Bool dspImpl=True, Bool full=False, const char *indent="") |
| Not yet documented. | |
| Status | getImplStats (IndexStats *&stats) |
| Not yet documented. | |
| Status | simulate (const IndexImpl &idximpl, std::string &xstats, Bool dspImpl=True, Bool full=False, const char *indent="") |
| Not yet documented. | |
| Status | simulate (const IndexImpl &idximpl, IndexStats *&stats) |
| Not yet documented. | |
| virtual Status | setDatabase (Database *mdb) |
| Not yet documented. | |
| virtual void | garbage () |
| Not yet documented. | |
| void | setCardinalityConstraint (Object *card) |
| Not yet documented. | |
| CardinalityDescription * | getCardinalityConstraint () const |
| Not yet documented. | |
| Status | checkCardinality () const |
| Not yet documented. | |
| Status | realizeCardinality () |
| int | getBottom () const |
| Not yet documented. | |
| int | getTop () const |
| Not yet documented. | |
| virtual Collection * | asCollection () |
| Not yet documented. | |
| virtual const Collection * | asCollection () const |
| Not yet documented. | |
| Status | getDefaultDataspace (const Dataspace *&dataspace) const |
| Not yet documented. | |
| Status | setDefaultDataspace (const Dataspace *dataspace) |
| Not yet documented. | |
| Status | moveElements (const Dataspace *dataspace) |
| Not yet documented. | |
| Bool | isLiteral () const |
| Bool | isPureLiteral () const |
| Bool | isLiteralObject () const |
| Status | setLiteralObject (bool force) |
| virtual | ~Collection () |
| Collection (const Collection &) | |
| Collection & | operator= (const Collection &) |
| Status | realizeInverse (const Oid &, int) |
| void | setInverse (const Oid &, int) |
| void | invalidateInverse () |
| void | validateInverse () |
| void | unvalidReadCache () |
| void | emptyReadCache () |
| void | setLiteral (Bool _is_literal) |
| void | setPureLiteral (Bool _is_pure_literal) |
| Oid | getLiteralOid () const |
| void | setLiteralOid (Oid _literal_oid) |
| Oid & | getOidC () |
| const Oid & | getOidC () const |
| Bool | isPartiallyStored () const |
| virtual Status | setMasterObject (Object *_master_object) |
| virtual Status | releaseMasterObject () |
| void | makeValue (Value &) |
| Status | create_realize (const RecMode *) |
| Status | update_realize (const RecMode *) |
| Status | realizePerform (const Oid &cloid, const Oid &objoid, AttrIdxContext &idx_ctx, const RecMode *) |
| Status | loadPerform (const Oid &, LockMode lockmode, AttrIdxContext &idx_ctx, const RecMode *=RecMode::NoRecurs) |
| Status | removePerform (const Oid &cloid, const Oid &objoid, AttrIdxContext &idx_ctx, const RecMode *) |
| Status | loadDeferred (LockMode lockmode=DefaultLock, const RecMode *=RecMode::NoRecurs) |
| Status | postRealizePerform (const Oid &cloid, const Oid &objoid, AttrIdxContext &idx_ctx, Bool &, const RecMode *rcm) |
| virtual Status | suppress_p (const Oid &item_oid, Bool checkFirst=False) |
| virtual Status | suppress_p (const Object *item_o, Bool checkFirst=False) |
| virtual Status | suppress_p (Data data, Bool checkFirst=False, Size size=defaultSize) |
| virtual Status | isIn_p (const Oid &item_oid, Bool &found, Collection::ItemId *where=0) const |
| virtual Status | isIn_p (const Object *item_o, Bool &found, Collection::ItemId *where=0) const |
| Status | isIn_p (Data data, Bool &found, Size size=defaultSize, Collection::ItemId *where=0) const |
Static Public Member Functions | |
| static Object * | cardDecode (Database *, Data, Offset &) |
| static void | decodeLiteral (char c, Bool &is_literal, Bool &is_pure_literal) |
Static Public Attributes | |
| static const Size | defaultSize = (Size)-1 |
Protected Member Functions | |
| void | create_cache () |
| Data | make_data (Data, Size, Bool swap=False) const |
| void | decode (Data) const |
| Collection (const char *, Class *=NULL, Bool=True, const IndexImpl *=0) | |
| Collection (const char *, Class *, int, const IndexImpl *=0) | |
| Status | check (const Oid &, const Class *, Error) const |
| Status | check (const Oid &, Error) const |
| Status | check (const Object *, Error) const |
| Status | check (Data, Size, Error) const |
| Status | check (const Value &, Error) const |
| Status | trace_realize (FILE *, int, unsigned int, const RecMode *) const |
| Status | trace_contents_realize (FILE *, int, unsigned int, const RecMode *) const |
| Status | getIdxOid (Oid &idx1oid, Oid &idx2oid) const |
| void | completeImplStats (IndexStats *stats) const |
| void | isStringColl () |
| Collection (const char *, Class *, const Oid &, const Oid &, int, int, int, const IndexImpl *, Object *, Bool, Bool, Data, Size) | |
| void | make (const char *, Class *, Bool, const IndexImpl *) |
| void | make (const char *, Class *, int, const IndexImpl *) |
| Status | getOidElementsRealize () |
| Status | getObjElementsRealize (const RecMode *=RecMode::NoRecurs) |
| Status | getValElementsRealize (Bool index=False) |
Protected Attributes | |
| eyedblib::int32 | type |
| char * | name |
| Bool | ordered |
| Bool | allow_dup |
| Bool | string_coll |
| int | bottom |
| int | top |
| Bool | implModified |
| Class * | coll_class |
| Bool | isref |
| eyedblib::int16 | dim |
| eyedblib::int16 | item_size |
| Oid | cl_oid |
| Bool | locked |
| IndexImpl * | idximpl |
| Oid | inv_oid |
| eyedblib::int16 | inv_item |
| Bool | is_literal |
| Bool | is_pure_literal |
| Oid | literal_oid |
| Size | idx_data_size |
| Data | idx_data |
| CardinalityDescription * | card |
| int | card_bottom |
| int | card_bottom_excl |
| int | card_top |
| int | card_top_excl |
| Oid | card_oid |
| Oid | idx1_oid |
| Oid | idx2_oid |
| eyedbsm::Idx * | idx1 |
| eyedbsm::Idx * | idx2 |
| int | p_items_cnt |
| int | v_items_cnt |
| ValueCache * | cache |
| Bool | is_complete |
| Status | status |
Friends | |
| class | CollectionPeer |
Classes | |
| struct | ReadCache |
Definition at line 45 of file Collection.h.
| int eyedb::Collection::getCount | ( | ) | const |
| Bool eyedb::Collection::isEmpty | ( | ) | const |
| const char* eyedb::Collection::getName | ( | ) | const [inline] |
| void eyedb::Collection::setName | ( | const char * | s | ) |
| Status eyedb::Collection::getStatus | ( | ) | const |
Not yet documented.
| v | ||
| noDup |
Reimplemented in eyedb::CollArray, and eyedb::CollList.
Definition at line 1005 of file Collection.cc.
Not yet documented.
| item_value | ||
| checkFirst |
Reimplemented in eyedb::CollArray.
Definition at line 1027 of file Collection.cc.
| Status eyedb::Collection::empty | ( | ) |
| Status eyedb::Collection::isIn | ( | const Value & | value, | |
| Bool & | found, | |||
| Collection::ItemId * | where = 0 | |||
| ) | const [virtual] |
Not yet documented.
| value | ||
| found | ||
| where |
Definition at line 1455 of file Collection.cc.
| Status eyedb::Collection::getElements | ( | ObjectPtrVector & | obj_vect, | |
| const RecMode * | recmode = RecMode::NoRecurs | |||
| ) | const |
Not yet documented.
| obj_vect | ||
| recmode |
Definition at line 2357 of file Collection.cc.
| Status eyedb::Collection::getElements | ( | ObjectArray & | obj_array, | |
| const RecMode * | recmode = RecMode::NoRecurs | |||
| ) | const |
Not yet documented.
| obj_array | ||
| recmode |
Definition at line 2368 of file Collection.cc.
| Status eyedb::Collection::getElements | ( | ValueArray & | value_array, | |
| Bool | index = False | |||
| ) | const |
Not yet documented.
| value_array | ||
| index |
Definition at line 2614 of file Collection.cc.
| Status eyedb::Collection::realize | ( | const RecMode * | recmod = RecMode::NoRecurs |
) | [virtual] |
Not yet documented.
| recmode |
Reimplemented from eyedb::Object.
Definition at line 2000 of file Collection.cc.
| Status eyedb::Collection::remove | ( | const RecMode * | recmode = RecMode::NoRecurs |
) | [virtual] |
Not yet documented.
| recmode |
Reimplemented from eyedb::Object.
Definition at line 2047 of file Collection.cc.
| Status eyedb::Collection::trace | ( | FILE * | fd = stdout, |
|
| unsigned int | flags = 0, |
|||
| const RecMode * | recmode = RecMode::FullRecurs | |||
| ) | const [virtual] |
Not yet documented.
| fd | ||
| flags | ||
| recmode |
Implements eyedb::Object.
Definition at line 2073 of file Collection.cc.
| void eyedb::Collection::setImplementation | ( | const IndexImpl * | idximpl | ) |
Not yet documented.
| idximpl | ||
| remote |
Definition at line 3134 of file Collection.cc.
| Status eyedb::Collection::getImplStats | ( | std::string & | xstats, | |
| Bool | dspImpl = True, |
|||
| Bool | full = False, |
|||
| const char * | indent = "" | |||
| ) |
Not yet documented.
| xstats | ||
| dspImpl | ||
| full | ||
| indent |
Definition at line 1599 of file Collection.cc.
| Status eyedb::Collection::getImplStats | ( | IndexStats *& | stats | ) |
| Status eyedb::Collection::simulate | ( | const IndexImpl & | idximpl, | |
| std::string & | xstats, | |||
| Bool | dspImpl = True, |
|||
| Bool | full = False, |
|||
| const char * | indent = "" | |||
| ) |
Not yet documented.
| idximpl | ||
| xstats | ||
| dspImpl | ||
| full | ||
| indent |
Definition at line 1661 of file Collection.cc.
| Status eyedb::Collection::simulate | ( | const IndexImpl & | idximpl, | |
| IndexStats *& | stats | |||
| ) |
Not yet documented.
| idximpl | ||
| stats |
Definition at line 1673 of file Collection.cc.
Not yet documented.
| mdb |
Reimplemented from eyedb::Object.
Definition at line 566 of file Collection.cc.
| void eyedb::Collection::setCardinalityConstraint | ( | Object * | card | ) |
| CardinalityDescription * eyedb::Collection::getCardinalityConstraint | ( | ) | const |
| Status eyedb::Collection::checkCardinality | ( | ) | const |
| int eyedb::Collection::getBottom | ( | ) | const |
| int eyedb::Collection::getTop | ( | ) | const |
| virtual Collection* eyedb::Collection::asCollection | ( | ) | [inline, virtual] |
Not yet documented.
Reimplemented from eyedb::Object.
Definition at line 278 of file Collection.h.
| virtual const Collection* eyedb::Collection::asCollection | ( | ) | const [inline, virtual] |
Not yet documented.
Reimplemented from eyedb::Object.
Definition at line 284 of file Collection.h.
1.5.3