Hi, Kishore, If you use the ibis::query class, there is a function getHitRows that will return the row ids.
If you want to get at the bit vector directly, you can use the function getHitVector. John On 3/30/13 10:09 AM, kishore g wrote: > Hi, > > Is there a efficient way to retrieve the bitvector after applying the > predicates. > > One way would be to add additional row_id column to the data and then > use select row_id where col1=v1 col2=v2 and iterate over the row_id > but this is inefficient because it accesses the row_id col on disk to > retrieve the values. Instead we want to simply get the bit positions > that are set to 1 after evaluating the predicates. > > Are there api's that allow me to get the resultant bit vector after > evaluating the predicates? > > thanks, > Kishore G > > > _______________________________________________ > 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
