Class BaseTriplePattern
Base class for representing all types of Triple Patterns in SPARQL queries.
Inheritance
System.Object
BaseTriplePattern
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Assembly: dotNetRdf.dll
Syntax
public abstract class BaseTriplePattern : ITriplePattern, IComparable<ITriplePattern>, IProcessable, IVisitable
Fields
|
Improve this Doc
View Source
_vars
Stores the list of variables that are used in the Pattern.
Declaration
protected List<string> _vars
Field Value
Type |
Description |
System.Collections.Generic.List<T><string> |
|
Properties
|
Improve this Doc
View Source
FixedVariables
Gets the enumeration of fixed variables in the pattern i.e. variables that are guaranteed to have a bound value.
Declaration
public abstract IEnumerable<string> FixedVariables { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<T><string> |
|
|
Improve this Doc
View Source
FloatingVariables
Gets the enumeration of floating variables in the pattern i.e. variables that are not guaranteed to have a bound value.
Declaration
public abstract IEnumerable<string> FloatingVariables { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<T><string> |
|
|
Improve this Doc
View Source
HasNoBlankVariables
Gets whether the Pattern has no blank variables.
Declaration
public abstract bool HasNoBlankVariables { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsAcceptAll
Returns whether the Triple Pattern is an accept all.
Declaration
public abstract bool IsAcceptAll { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
PatternType
Gets the Triple Pattern Type.
Declaration
public abstract TriplePatternType PatternType { get; }
Property Value
|
Improve this Doc
View Source
UsesDefaultDataset
Gets whether a Triple Pattern is Thread Safe when evaluated.
Declaration
public virtual bool UsesDefaultDataset { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Variables
Gets the List of Variables used in the Pattern.
Declaration
public List<string> Variables { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<T><string> |
|
Methods
|
Improve this Doc
View Source
Accept<T>(ISparqlAlgebraVisitor<T>)
Declaration
public abstract T Accept<T>(ISparqlAlgebraVisitor<T> visitor)
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)
Declaration
public abstract TResult Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext> processor, TContext context)
Parameters
Returns
Type Parameters
Name |
Description |
TResult |
|
TContext |
|
|
Improve this Doc
View Source
CompareTo(ITriplePattern)
Compares a Triple Pattern to another Triple Pattern.
Declaration
public virtual int CompareTo(ITriplePattern other)
Parameters
Returns
|
Improve this Doc
View Source
ToString()
Gets the String representation of the Pattern.
Declaration
public override abstract string ToString()
Returns
Overrides
object.ToString()
Implements
System.IComparable<T>
Extension Methods