Nepomuk-Core
resourceterm.cpp
Go to the documentation of this file.
42 QString Nepomuk2::Query::ResourceTermPrivate::toSparqlGraphPattern( const QString& varName, const TermPrivate* parentTerm, const QString& additionalFilters, QueryBuilderData* qbd ) const
50 // Nested AndTerms are flattened before the SPARQL query is constructed in Query. Thus, an AndTerm can
51 // only be embedded in an OrTerm or as a child term to either a ComparisonTerm or an OptionalTerm.
54 // We use a type pattern for performance reasons. Thus, we assume that each resource has a type. This
55 // is not perfect but much faster than using a wildcard for the property. And in the end all Nepomuk
97 Nepomuk2::Query::ResourceTerm& Nepomuk2::Query::ResourceTerm::operator=( const ResourceTerm& term )
Nepomuk2::Resource resource() const
The resource this term should match against.
Definition: resourceterm.cpp:104
ResourceTerm & operator=(const ResourceTerm &term)
Assignment operator.
Definition: resourceterm.cpp:97
void setResource(const Nepomuk2::Resource &resource)
Set the resource this term should match against.
Definition: resourceterm.cpp:111
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.