value_type operator()() { auto idx = std::dynamic_pointer_cast<InvertedIndex<ValueType>>(_index); auto v = static_cast<IndexValue<ValueType>*>(_indexValue); storage::pos_list_t *result = new storage::pos_list_t(idx->getPositionsForKey(v->value)); return result; }
storage::pos_list_t * operator()() { auto idx = std::dynamic_pointer_cast<hyrise::storage::PagedIndex>(_index); auto v = static_cast<IndexValue<ValueType>*>(_indexValue); return idx->getPositionsForKey(v->value, _column, _inputTable); }