Show / Hide Table of Contents

Class SparqlResultBinder

Helper Class used in the execution of Sparql Queries.

Inheritance
object
SparqlResultBinder
LeviathanLeftJoinBinder
LeviathanResultBinder
Implements
IDisposable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Query
Assembly: dotNetRdf.dll
Syntax
public abstract class SparqlResultBinder : IDisposable

Constructors

| Edit this page View Source

SparqlResultBinder()

Internal Empty Constructor for derived classes.

Declaration
protected SparqlResultBinder()
| Edit this page View Source

SparqlResultBinder(SparqlQuery)

Creates a new Results Binder.

Declaration
public SparqlResultBinder(SparqlQuery query)
Parameters
Type Name Description
SparqlQuery query

Query this provides Result Binding to.

Properties

| Edit this page View Source

BindingIDs

Gets the enumeration of valid Binding IDs.

Declaration
public abstract IEnumerable<int> BindingIDs { get; }
Property Value
Type Description
IEnumerable<int>
| Edit this page View Source

Groups

Gets the set of Groups that result from the Query this Binder provides Binding to.

Declaration
public IEnumerable<BindingGroup> Groups { get; }
Property Value
Type Description
IEnumerable<BindingGroup>
| Edit this page View Source

Variables

Gets the Variables that the Binder stores Bindings for.

Declaration
public abstract IEnumerable<string> Variables { get; }
Property Value
Type Description
IEnumerable<string>

Methods

| Edit this page View Source

Dispose()

Disposes of a Result Binder.

Declaration
public virtual void Dispose()
| Edit this page View Source

Group(int)

Gets the Group referred to by the given ID.

Declaration
public virtual BindingGroup Group(int groupID)
Parameters
Type Name Description
int groupID

Group ID.

Returns
Type Description
BindingGroup
| Edit this page View Source

IsGroup(int)

Checks whether the given ID refers to a Group.

Declaration
public virtual bool IsGroup(int groupID)
Parameters
Type Name Description
int groupID

Group ID.

Returns
Type Description
bool
| Edit this page View Source

SetGroupContext(bool)

Sets the Group Context for the Binder.

Declaration
public virtual void SetGroupContext(bool accessContents)
Parameters
Type Name Description
bool accessContents

Whether you want to access the Group Contents or the Groups themselves.

| Edit this page View Source

Value(string, int)

Gets the Value bound to a given Variable for a given Binding ID.

Declaration
public abstract INode Value(string name, int bindingID)
Parameters
Type Name Description
string name

Variable Name.

int bindingID

Binding ID.

Returns
Type Description
INode

Implements

IDisposable

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • SparqlResultBinder()
    • SparqlResultBinder(SparqlQuery)
  • Properties
    • BindingIDs
    • Groups
    • Variables
  • Methods
    • Dispose()
    • Group(int)
    • IsGroup(int)
    • SetGroupContext(bool)
    • Value(string, int)
  • Implements
  • Extension Methods
Back to top Generated by DocFX