Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct () | |
reset () | |
Public Attributes | |
const | Q_NOQUERY = 0 |
const | Q_TABLE = 1 |
const | Q_VALUE = 2 |
const | Q_DISJUNCTION = 3 |
const | Q_CONJUNCTION = 4 |
const | Q_CLASS_HIERARCHY = 5 |
const | Q_PROP_HIERARCHY = 6 |
$type = self::Q_TABLE | |
$depth | |
$fingerprint = '' | |
$null = false | |
$not = false | |
$joinType = '' | |
$joinTable = '' | |
$joinfield = '' | |
$indexField = '' | |
$from = '' | |
$where = '' | |
$components = [] | |
$alias | |
$sortfields = [] | |
$queryNumber | |
Static Public Attributes | |
static | $qnum = 0 |
Class for representing a single (sub)query description.
GNU GPL v2+
SMW\SQLStore\QueryEngine\QuerySegment::__construct | ( | ) |
SMW\SQLStore\QueryEngine\QuerySegment::reset | ( | ) |
const SMW\SQLStore\QueryEngine\QuerySegment::Q_CLASS_HIERARCHY = 5 |
Type of query that creates a temporary table of all superclasses of given classes (only joinfield relevant: (disjunctive) array of unquoted values).
const SMW\SQLStore\QueryEngine\QuerySegment::Q_CONJUNCTION = 4 |
Type of query that is a conjunction of other queries (joinfield/jointable empty; only components relevant).
const SMW\SQLStore\QueryEngine\QuerySegment::Q_DISJUNCTION = 3 |
Type of query that is a disjunction of other queries (joinfield/jointable empty; only components relevant)
const SMW\SQLStore\QueryEngine\QuerySegment::Q_NOQUERY = 0 |
Type of empty query without usable condition, dropped as soon as discovered. This is used only during preparing the query (no queries of this type should ever be added).
const SMW\SQLStore\QueryEngine\QuerySegment::Q_PROP_HIERARCHY = 6 |
Type of query that creates a temporary table of all superproperties of given properties (only joinfield relevant: (disjunctive) array of unquoted values).
const SMW\SQLStore\QueryEngine\QuerySegment::Q_TABLE = 1 |
Type of query that is a join with a query (jointable: internal table name; joinfield/components/where use alias.fields; from uses external table names, components interpreted conjunctively (JOIN)).
const SMW\SQLStore\QueryEngine\QuerySegment::Q_VALUE = 2 |
Type of query that matches a constant value (joinfield is a disjunctive array of unquoted values, jointable empty, components empty).