A user specifies this type of query expression with the following syntax,. More...
#include <qExpr.h>
Public Member Functions | |
virtual qExpr * | dup () const |
const char * | getPrefix () const |
virtual void | getTableNames (std::set< std::string > &plist) const |
Identify the data partitions involved in the query expression. | |
const ibis::array_t< double > & | getValues () const |
virtual void | print (std::ostream &out) const |
Print out the node in the string form. | |
virtual void | printFull (std::ostream &out) const |
Print out the full expression. | |
qAnyAny (const char *pre, const double dbl) | |
Constructing a qAnyAny object from a string and a floating-point value. | |
qAnyAny (const char *pre, const char *val) | |
Constructing an object of type qAnyAny from two strings. |
A user specifies this type of query expression with the following syntax,.
prefix
is actually the name of a set-valued attribute, such as triggerID in STAR datasets. In this case, the set-valued attribute is translated into a number of columns with the same prefix. A common query is "does the set contain a particular
value?" or "does the set contain a particular set of values?" ibis::qAnyAny::qAnyAny | ( | const char * | pre, |
const char * | val | ||
) |
Constructing an object of type qAnyAny from two strings.
The second string is expected to be a list of numbers separated by coma and space.
References ibis::array_t< T >::push_back(), and ibis::array_t< T >::reserve().
void ibis::qAnyAny::getTableNames | ( | std::set< std::string > & | plist | ) | const [virtual] |
Identify the data partitions involved in the query expression.
Return the list of data partition names in a set.
It records a '*' for the variables without explicit partition names.
Reimplemented from ibis::qExpr.
References ibis::qExpr::extractTableName().
void ibis::qAnyAny::print | ( | std::ostream & | out | ) | const [virtual] |
Print out the node in the string form.
The short-form of the print function.
It only prints information about the current node of the query expression tree.
Reimplemented from ibis::qExpr.
Referenced by printFull().
virtual void ibis::qAnyAny::printFull | ( | std::ostream & | out | ) | const [inline, virtual] |
Print out the full expression.
The long form of the print function.
It recursively prints out the whole query expression tree, which can be quite long.
Reimplemented from ibis::qExpr.
References print().
![]() |