Click or drag to resize

SubQueryPattern Class

Class for representing Sub-queries which occur as part of a SPARQL query.
Inheritance Hierarchy

Namespace:  VDS.RDF.Query.Patterns
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class SubQueryPattern : BaseTriplePattern, 
	ISubQueryPattern, ITriplePattern, IComparable<ITriplePattern>, IComparable<ISubQueryPattern>, 
	IComparable<SubQueryPattern>

The SubQueryPattern type exposes the following members.

Constructors
  NameDescription
Public methodSubQueryPattern
Creates a new Sub-query pattern which represents the given sub-query.
Top
Properties
  NameDescription
Public propertyFixedVariables
Gets the enumeration of fixed variables in the algebra i.e. variables that are guaranteed to have a bound value.
(Overrides BaseTriplePatternFixedVariables.)
Public propertyFloatingVariables
Gets the enumeration of floating variables in the algebra i.e. variables that are not guaranteed to have a bound value.
(Overrides BaseTriplePatternFloatingVariables.)
Public propertyHasNoBlankVariables
Returns true as while a sub-query may contain blank node variables they will not be in scope here.
(Overrides BaseTriplePatternHasNoBlankVariables.)
Public propertyIsAcceptAll
Returns that the Pattern is not an accept all since it is a Sub-query.
(Overrides BaseTriplePatternIsAcceptAll.)
Public propertyPatternType
Gets the pattern type.
(Overrides BaseTriplePatternPatternType.)
Public propertySubQuery
Gets the Sub-Query.
Public propertyUsesDefaultDataset
Gets whether the Sub-query is Thread Safe.
(Overrides BaseTriplePatternUsesDefaultDataset.)
Public propertyVariables
Gets the List of Variables used in the Pattern.
(Inherited from BaseTriplePattern.)
Top
Methods
  NameDescription
Public methodCompareTo(ISubQueryPattern)
Compares a sub-query pattern to another.
Public methodCompareTo(ITriplePattern)
Compares a Triple Pattern to another Triple Pattern.
(Inherited from BaseTriplePattern.)
Public methodCompareTo(SubQueryPattern)
Compares a sub-query pattern to another.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEvaluate
Evaluates a Sub-query in the given Evaluation Context.
(Overrides BaseTriplePatternEvaluate(SparqlEvaluationContext).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Gets the string representation of the sub-query.
(Overrides BaseTriplePatternToString.)
Top
Fields
  NameDescription
Protected field_vars
Stores the list of variables that are used in the Pattern.
(Inherited from BaseTriplePattern.)
Top
See Also