Class SubQueryPattern
Class for representing Sub-queries which occur as part of a SPARQL query.
Inheritance
System.Object
SubQueryPattern
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Assembly: dotNetRdf.dll
Syntax
public class SubQueryPattern : BaseTriplePattern, ISubQueryPattern, ITriplePattern, IComparable<ITriplePattern>, IProcessable, IVisitable, IComparable<ISubQueryPattern>, IComparable<SubQueryPattern>
Constructors
|
Improve this Doc
View Source
SubQueryPattern(SparqlQuery)
Creates a new Sub-query pattern which represents the given sub-query.
Declaration
public SubQueryPattern(SparqlQuery subquery)
Parameters
Properties
|
Improve this Doc
View Source
FixedVariables
Gets the enumeration of fixed variables in the algebra i.e. variables that are guaranteed to have a bound value.
Declaration
public override IEnumerable<string> FixedVariables { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<T><string> |
|
Overrides
|
Improve this Doc
View Source
FloatingVariables
Gets the enumeration of floating variables in the algebra i.e. variables that are not guaranteed to have a bound value.
Declaration
public override IEnumerable<string> FloatingVariables { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<T><string> |
|
Overrides
|
Improve this Doc
View Source
HasNoBlankVariables
Returns true as while a sub-query may contain blank node variables they will not be in scope here.
Declaration
public override bool HasNoBlankVariables { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
IsAcceptAll
Returns that the Pattern is not an accept all since it is a Sub-query.
Declaration
public override bool IsAcceptAll { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
PatternType
Declaration
public override TriplePatternType PatternType { get; }
Property Value
Overrides
|
Improve this Doc
View Source
SubQuery
Declaration
public SparqlQuery SubQuery { get; }
Property Value
|
Improve this Doc
View Source
UsesDefaultDataset
Gets whether the Sub-query is Thread Safe.
Declaration
public override bool UsesDefaultDataset { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Methods
|
Improve this Doc
View Source
Accept<T>(ISparqlAlgebraVisitor<T>)
Declaration
public override T Accept<T>(ISparqlAlgebraVisitor<T> visitor)
Parameters
Returns
Type Parameters
Overrides
VDS.RDF.Query.Patterns.BaseTriplePattern.Accept<T>(VDS.RDF.Query.ISparqlAlgebraVisitor<T>)
|
Improve this Doc
View Source
Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)
Declaration
public override TResult Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext> processor, TContext context)
Parameters
Returns
Type Parameters
Name |
Description |
TResult |
|
TContext |
|
Overrides
VDS.RDF.Query.Patterns.BaseTriplePattern.Accept<TResult, TContext>(VDS.RDF.Query.ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)
|
Improve this Doc
View Source
CompareTo(ISubQueryPattern)
Compares a sub-query pattern to another.
Declaration
public int CompareTo(ISubQueryPattern other)
Parameters
Returns
|
Improve this Doc
View Source
CompareTo(SubQueryPattern)
Compares a sub-query pattern to another.
Declaration
public int CompareTo(SubQueryPattern other)
Parameters
Returns
|
Improve this Doc
View Source
ToString()
Gets the string representation of the sub-query.
Declaration
public override string ToString()
Returns
Overrides
Implements
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
Extension Methods