X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;ds=sidebyside;f=vector%2Ftupleitem.h;h=595666848c34a9f49be0a0158c1385b1991b3979;hb=e47e7f1e366224e9e514e28f172afa65c732db21;hp=37d5e248f99b41c73fa9748be9837a6a40346dda;hpb=84fa20543ae0464a87fde599d1db66bfdbd29198;p=rrq%2Frrqmisc.git diff --git a/vector/tupleitem.h b/vector/tupleitem.h index 37d5e24..5956668 100644 --- a/vector/tupleitem.h +++ b/vector/tupleitem.h @@ -36,43 +36,6 @@ typedef struct { itemkeyfun **columns; } tupleschema; -/** - * This callback function returns the hashcode of a key. - * - * \param this is a pointer to the itemkeyfun record from where this - * callback got invoked - * - * \param key is the key to produce a hascode for - * - * \returns the hashcode which is a vector_index (i.e. unsigned long) - * - * The hashcode is used for indexing into the backing vector for - * finding the an item via its key. The same key must map consistently - * to the same hashcode while the hashtable contains an item with that - * key. Different keys map map to the same hashcode, in which case the - * vector placement is made at the first empty or hole slot following - * the hashcode index. - */ -extern unsigned long tupleitem_hashcode(itemkeyfun *this,void *key); - -/** - * This callback function determines whether an item has a - * given key or not. - */ -extern int tupleitem_haskey(itemkeyfun *this,void *item,void *key); - -/** - * This callback function returns the key of an item by considering - * the arity and schema. - */ -extern void *tupleitem_itemkey(itemkeyfun *this,void *item); - -/** - * This callback function handles a key obtained from the itemkey - * callback function to reclaim temporary allocation. - */ -extern void tupleitem_releasekey(itemkeyfun *this,void *key); - /** * Create a tuples with given values. */