Show / Hide Table of Contents

Class LeviathanResultBinder

Results Binder used by Leviathan.

Inheritance
System.Object
SparqlResultBinder
LeviathanResultBinder
Implements
System.IDisposable
Inherited Members
SparqlResultBinder.Groups
SparqlResultBinder.Dispose()
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 class LeviathanResultBinder : SparqlResultBinder, IDisposable

Constructors

| Improve this Doc View Source

LeviathanResultBinder(SparqlEvaluationContext)

Creates a new Leviathan Results Binder.

Declaration
public LeviathanResultBinder(SparqlEvaluationContext context)
Parameters
Type Name Description
SparqlEvaluationContext context

Evaluation Context.

Properties

| Improve this Doc View Source

BindingIDs

Gets the IDs of Sets.

Declaration
public override IEnumerable<int> BindingIDs { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<T><int>
Overrides
SparqlResultBinder.BindingIDs
| Improve this Doc View Source

Variables

Gets the Variables contained in the Input.

Declaration
public override IEnumerable<string> Variables { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<T><string>
Overrides
SparqlResultBinder.Variables

Methods

| Improve this Doc View Source

Group(int)

Returns the Group with the given ID.

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

Group ID.

Returns
Type Description
BindingGroup
Overrides
SparqlResultBinder.Group(int)
| Improve this Doc View Source

IsGroup(int)

Determines whether a given ID is for of a Group.

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

Group ID.

Returns
Type Description
System.Boolean
Overrides
SparqlResultBinder.IsGroup(int)
| Improve this Doc View Source

SetGroupContext(bool)

Sets the Group Context for the Binder.

Declaration
public override void SetGroupContext(bool accessContents)
Parameters
Type Name Description
System.Boolean accessContents

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

Overrides
SparqlResultBinder.SetGroupContext(bool)
| Improve this Doc View Source

Value(string, int)

Gets the Value for a given Variable from the Set with the given Binding ID.

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

Variable.

int bindingID

Set ID.

Returns
Type Description
INode
Overrides
SparqlResultBinder.Value(string, int)

Implements

System.IDisposable

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • LeviathanResultBinder(SparqlEvaluationContext)
  • Properties
    • BindingIDs
    • Variables
  • Methods
    • Group(int)
    • IsGroup(int)
    • SetGroupContext(bool)
    • Value(string, int)
  • Implements
  • Extension Methods
Back to top Generated by DocFX