Home · All Classes · Functions · Building · Tuning |

Store the description of a query, including constraints, aggreagation and grouping. More...

`#include <QeQuery.hpp>`

## Classes | |

struct | AggregateOption |

Contain the parameters defining a aggregate strategy for one field. More... | |

struct | GroupingOption |

Contain the parameters defining a grouping strategy for one field. More... | |

## Public Types | |

enum | GroupingOperation { GROUP_ALL, EQUAL, MULTI_EQUAL, SPATIAL_SIMPLE_OVERLAP, SPATIAL_FASTMATCH_BOUNDINGCAP, INVALID_GROUPING_OPERATION
} |

enum | AggregateOperation { VALUE_ONE, VALUE_ALL, COUNT, VALUE_AND_COUNT, MULTIVALUE_AND_COUNT, VALUE_N, NUMBER_SUM, NUMBER_HISTOGRAM, NUMBER_MINMAX, NUMBER_MAP_SUM, SPATIAL_UNION, SPATIAL_INTERSECTION, SPATIAL_BALKANIZATION, SPATIAL_UNION_AREA, SPATIAL_BOUNDINGCAP_ONE, INVALID_OPERATION
} |

## Public Member Functions | |

bool | operator== (const QeQuery &other) const |

QString | toJson () const |

## Static Public Member Functions | |

static QMap < QeQuery::GroupingOperation, QByteArray > | initGroupingOperationToStringMap () |

static QByteArray | groupingOperationToString (GroupingOperation) |

static GroupingOperation | stringToGroupingOperation (const QByteArray &) |

static QMap < QeQuery::AggregateOperation, QByteArray > | initAggregateOperationToStringMap () |

static QByteArray | aggregateOperationToString (AggregateOperation) |

static AggregateOperation | stringToAggregateOperation (const QByteArray &) |

static QeQuery | fromJson (const QString &json) |

static QVariantList | groupedQueryResultToJson (const QList< QVariantList > &rows) |

## Public Attributes | |

ConstraintsSet | constraints |

QList< AggregateOption > | aggregateOptions |

QList< GroupingOption > | groupingOptions |

## Static Public Attributes | |

static QMap < QeQuery::GroupingOperation, QByteArray > | groupingOperationToStringMap |

static QMap < QeQuery::AggregateOperation, QByteArray > | aggregateOperationToStringMap |

Store the description of a query, including constraints, aggreagation and grouping.

Define the possible types of aggregation operation.

**Enumerator:**

Define the possible types of grouping operations.

**Enumerator:**

Generated on Fri Sep 10 15:36:04 2010 for SVMT by 1.6.3