Class LeviathanResultBinder
Results Binder used by Leviathan.
Implements
Inherited Members
Namespace: VDS.RDF.Query
Assembly: dotNetRdf.dll
Syntax
public class LeviathanResultBinder : SparqlResultBinder, IDisposable
Constructors
| Edit this page View SourceLeviathanResultBinder(SparqlEvaluationContext)
Creates a new Leviathan Results Binder.
Declaration
public LeviathanResultBinder(SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
SparqlEvaluationContext | context | Evaluation Context. |
Properties
| Edit this page View SourceBindingIDs
Gets the IDs of Sets.
Declaration
public override IEnumerable<int> BindingIDs { get; }
Property Value
Type | Description |
---|---|
IEnumerable<int> |
Overrides
| Edit this page View SourceVariables
Gets the Variables contained in the Input.
Declaration
public override IEnumerable<string> Variables { get; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |
Overrides
Methods
| Edit this page View SourceGroup(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
| Edit this page View SourceIsGroup(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 |
---|---|
bool |
Overrides
| Edit this page View SourceSetGroupContext(bool)
Sets the Group Context for the Binder.
Declaration
public override void SetGroupContext(bool accessContents)
Parameters
Type | Name | Description |
---|---|---|
bool | accessContents | Whether you want to access the Group Contents or the Groups themselves. |
Overrides
| Edit this page View SourceValue(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 |