Hi, Gaurav,

You might be able to use ibis::qIntHod instead.  Take a look at the
documentation and see if it might work for you
<http://lbl.gov/~kewu/fastbit/doc/html/classibis_1_1qIntHod.html>.

By the way, there is also a unsigned version named qUIntHod.  The
general class for handling a list of numbers uses double internally,
which can be a problem for 64-bit integers.  This makes it necessary
to have separate versions for 64-bit integers.

John


On Thu, Dec 27, 2012 at 1:34 AM, Gaurav Agarwal
<[email protected]> wrote:
> Hi John,
>
> I was looking at directly creating qExpr objects to take care of a discrete
> conditions where the number of values can be of order of 100K. The type of
> the values is long (int64) I could not find any constructor which takes
> vector/array of long values.
>
>     qDiscreteRange() : qRange(DRANGE) {};
>    qDiscreteRange(const char *col, const char *nums);
>    qDiscreteRange(const char *col, const std::vector<uint32_t>& val);
>    qDiscreteRange(const char *col, const std::vector<double>& val);
>    qDiscreteRange(const char *col, ibis::array_t<uint32_t>& val);
>    qDiscreteRange(const char *col, ibis::array_t<double>& val);
>
> Is there some existing method to do so that I am missing?
>
> --
> cheers,
> gaurav
>
>
>
> _______________________________________________
> FastBit-users mailing list
> [email protected]
> https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
>
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users

Reply via email to