33 virtual void roughCount(uint64_t& nmin, uint64_t& nmax)
const;
34 virtual int64_t
count()
const;
40 const ibis::constPartList &pl,
43 const ibis::constPartList &);
45 const ibis::constPartList &);
47 const ibis::constPartList &,
50 const ibis::constPartList &,
53 const ibis::constPartList &,
56 const ibis::constPartList &,
59 const ibis::constPartList &,
63 const ibis::constPartList &,
66 const ibis::constPartList &,
69 const ibis::constPartList &,
90 filter() : wc_(0), parts_(0), sel_(0) {}
A simple filtering query.
Definition: filter.h:25
virtual ~filter()
Destructor.
Definition: filter.cpp:64
A representation of the where clause.
Definition: whereClause.h:161
static table * sift1S(const ibis::selectClause &, const ibis::constPartList &, const ibis::whereClause &)
Perform the filter operation involving one column only.
Definition: filter.cpp:1119
static table * sift0S(const ibis::selectClause &, const ibis::constPartList &)
Select all rows from each data partition and place them in a table object.
Definition: filter.cpp:739
array_t< ibis::bitvector * > hits_
Solution in bitvector form.
Definition: filter.h:84
A class to represent the select clause.
Definition: selectClause.h:112
The current implementation of FastBit is code named IBIS; most data structures and functions are in t...
Definition: bord.h:16
FastBit Quaere Interface.
virtual void roughCount(uint64_t &nmin, uint64_t &nmax) const
Produce a rough count of the number of hits.
Definition: filter.cpp:75
const ibis::whereClause * wc_
The where clause.
Definition: filter.h:75
The abstract table class.
Definition: table.h:77
The class ibis::part represents a partition of a relational table.
Definition: part.h:27
array_t< ibis::bitvector * > cand_
Candidate query results.
Definition: filter.h:86
filter()
Default constructor.
Definition: filter.h:90
Declares ibis::selectClause class.
An abstract query interface.
Definition: quaere.h:35
static table * sift2S(const ibis::selectClause &, const ibis::constPartList &, const ibis::whereClause &)
Select the rows satisfying the where clause and store the results in a table object.
Definition: filter.cpp:1877
static table * sift2(const ibis::selectClause &, const ibis::constPartList &, const ibis::whereClause &)
Select the rows satisfying the where clause and store the results in a table object.
Definition: filter.cpp:1365
static table * sift0(const ibis::selectClause &, const ibis::constPartList &)
Select all rows from each data partition and place them in a table object.
Definition: filter.cpp:594
A data structure to represent a sequence of bits.
Definition: bitvector.h:62
virtual int64_t count() const
Produce the exact number of hits.
Definition: filter.cpp:197
virtual table * select() const
Produce a projection of the joint table.
Definition: filter.cpp:310
static table * sift1(const ibis::selectClause &, const ibis::constPartList &, const ibis::whereClause &)
Select the rows satisfying the where clause and store the results in a table object.
Definition: filter.cpp:980
Declares ibis::whereClause class.
const ibis::selectClause * sel_
The select clause.
Definition: filter.h:81
const ibis::constPartList * parts_
A list of data partitions to query.
Definition: filter.h:77
static table * sift(const ibis::selectClause &sel, const ibis::constPartList &pl, const ibis::whereClause &wc)
Select the rows satisfying the where clause and store the results in a table object.
Definition: filter.cpp:557