Nepomuk-Core
negationterm.cpp
  
Go to the documentation of this file.
   29 QString Nepomuk2::Query::NegationTermPrivate::toSparqlGraphPattern( const QString& resourceVarName, const TermPrivate* parentTerm, const QString &additionalFilters, QueryBuilderData *qbd ) const
   34     if(m_subTerm.isComparisonTerm() && m_subTerm.toComparisonTerm().comparator() == ComparisonTerm::Regexp)  {
   35         QString term = m_subTerm.d_ptr->toSparqlGraphPattern( resourceVarName, parentTerm, additionalFilters, qbd );
   47         // Nested AndTerms are flattened before the SPARQL query is constructed in Query. Thus, an AndTerm can
   48         // only be embedded in an OrTerm or as a child term to either a ComparisonTerm or an OptionalTerm.
   51         // We use a type pattern for performance reasons. Thus, we assume that each resource has a type. This
   52         // is not perfect but much faster than using a wildcard for the property. And in the end all Nepomuk
   55         // FIXME: remove the type pattern. Instead perform optimization before which copies the negation into all unions
   94 Nepomuk2::Query::NegationTerm& Nepomuk2::Query::NegationTerm::operator=( const NegationTerm& term )
Abstract base class for NegationTerm and ComparisonTerm which maintains one sub-term. 
Definition: simpleterm.h:41
NegationTerm()
Default constructor: creates an invalid negation term. 
Definition: negationterm.cpp:77
NegationTerm & operator=(const NegationTerm &term)
Assignment operator. 
Definition: negationterm.cpp:94
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.
    KDE API Reference