27 template <
class ValueType>
37 myArray = makeObjectWithExtraStorage<JoinPairArray<ValueType>>(size * initSize, initSize);
38 this->partitionId = partitionId;
39 this->numPartitions = numPartitions;
43 template <
class ValueType>
53 myArray = makeObjectWithExtraStorage<JoinPairArray<ValueType>>(size * initSize, initSize);
56 template <
class ValueType>
61 myArray = makeObjectWithExtraStorage<JoinPairArray<ValueType>>(size * 2, 2);
64 template <
class ValueType>
67 template <
class ValueType>
69 myArray->setUnused(clearMe);
72 template <
class ValueType>
74 if (myArray->isOverFull()) {
78 return myArray->push(me);
81 template <
class ValueType>
83 return myArray->lookup(me);
86 template <
class ValueType>
88 return myArray->count(which);
91 template <
class ValueType>
93 return myArray->numUsedSlots();
96 template <
class ValueType>
102 template <
class ValueType>
108 template <
class ValueType>
110 return this->partitionId;
113 template <
class ValueType>
115 this->partitionId = partitionId;
118 template <
class ValueType>
120 return this->numPartitions;
123 template <
class ValueType>
125 this->numPartitions = numPartitions;
129 template <
class ValueType>
131 return this->objectSize;
134 template <
class ValueType>
138 this->objectSize = objSize;
void setUnused(const size_t &clearMe)
JoinMapIterator< ValueType > begin()
void setPartitionId(size_t partitionId)
void setNumPartitions(int numPartitions)
JoinRecordList< ValueType > lookup(const size_t &which)
ValueType & push(const size_t &which)
int count(const size_t &which)
JoinMapIterator< ValueType > end()