Public Member Functions | List of all members
ibis::bundle0 Class Reference

The null bundle. It contains only a list of RIDs. More...

#include <bundle.h>

Inheritance diagram for ibis::bundle0:
ibis::bundle

Public Member Functions

 bundle0 (const ibis::query &q)
 Constructor.
 
 bundle0 (const ibis::query &q, const ibis::bitvector &hits)
 Constructor.
 
 bundle0 (const ibis::part &t, const ibis::selectClause &s)
 Constructor.
 
virtual void print (std::ostream &out) const
 Print the bundle values to the specified output stream.
 
virtual void printAll (std::ostream &out) const
 Print the bundle values along with the RIDs.
 
virtual void printColumnNames (std::ostream &) const
 Print column names. No column name to print in this case.
 
virtual void reorder (const char *)
 Re-order the bundles according to the new keys.
 
virtual long truncate (uint32_t)
 Truncate the list of bundles.
 
virtual long truncate (uint32_t, uint32_t)
 Truncate the list of bundles.
 
virtual long truncate (const char *, uint32_t)
 Truncate the list of bundle based on specified keys.
 
virtual void write (const ibis::query &q) const
 Write the bundle to the directory for the query q.
 
- Public Member Functions inherited from ibis::bundle
virtual void * columnArray (uint32_t) const
 Return the pointer to the underlying array used to store the jth column of the bundle. More...
 
virtual const ibis::columncolumnPointer (uint32_t) const
 Column pointer.
 
virtual ibis::TYPE_T columnType (uint32_t) const
 Return the type used to store the values of the jth column of the bundle. More...
 
const ibis::RIDSetgetRIDs (uint32_t ind) const
 Return the RIDs of the indth bundle.
 
const ibis::RIDSetgetRIDs () const
 Return the pointer to all RIDs.
 
const ibis::array_t< uint32_t > * getStarts () const
 Return the pointer to array starts.
 
uint32_t numRowsInBundle (uint32_t ind) const
 Compute the number of rows in bundle ind.
 
uint32_t rowCounts (array_t< uint32_t > &cnt) const
 Compute the number of rows in each group(bundle). More...
 
virtual uint32_t size () const
 Return the number of bundles.
 
void sortRIDs (uint32_t i, uint32_t j)
 Sort RIDs in the range of [i, j)
 
void swapRIDs (uint32_t i, uint32_t j)
 
virtual uint32_t width () const
 Return the width of the bundles.
 
virtual int32_t getInt (uint32_t, uint32_t) const
 Retrieve a single value. More...
 
virtual uint32_t getUInt (uint32_t, uint32_t) const
 Return the maximal unsigned int value.
 
virtual int64_t getLong (uint32_t, uint32_t) const
 Return the maximal int value.
 
virtual uint64_t getULong (uint32_t, uint32_t) const
 Return the maximal unsigned int value.
 
virtual float getFloat (uint32_t, uint32_t) const
 Return the maximal float value.
 
virtual double getDouble (uint32_t, uint32_t) const
 Return the maximum double value.
 
virtual std::string getString (uint32_t, uint32_t) const
 Retrieve a string value. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ibis::bundle
static bundlecreate (const ibis::query &, int=0)
 Create new bundle from a query object. More...
 
static bundlecreate (const ibis::query &, const ibis::bitvector &, int=0)
 Create a new bundle from previously stored information.
 
static bundlecreate (const ibis::part &, const ibis::selectClause &, int=0)
 Create a bundle using the all values of the partition.
 
static const ibis::RIDSetreadRIDs (const char *dir, const uint32_t i)
 Return the RIDs related to the ith bundle. More...
 
- Protected Member Functions inherited from ibis::bundle
 bundle (const ibis::selectClause &c)
 
 bundle (const ibis::query &q)
 
 bundle (const ibis::query &q, const ibis::bitvector &hits)
 
 bundle (const ibis::part &t, const ibis::selectClause &s)
 
- Protected Attributes inherited from ibis::bundle
const ibis::selectClausecomps
 
const char * id
 
bool infile
 
ibis::RIDSetrids
 
array_t< uint32_t > * starts
 

Detailed Description

The null bundle. It contains only a list of RIDs.


The documentation for this class was generated from the following files:

Make It A Bit Faster
Contact us
Disclaimers
FastBit source code
FastBit mailing list archive