Show / Hide Table of Contents

Class LazyBgp

Represents a BGP which is a set of Triple Patterns.

Inheritance
System.Object
Bgp
LazyBgp
Implements
IBgp
ITerminalOperator
ISparqlAlgebra
IVisitable
IProcessable
Inherited Members
Bgp._triplePatterns
Bgp.PatternCount
Bgp.TriplePatterns
Bgp.Variables
Bgp.FixedVariables
Bgp.FloatingVariables
Bgp.IsEmpty
Bgp.Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)
Bgp.Accept<T>(ISparqlAlgebraVisitor<T>)
Bgp.ToQuery()
Bgp.ToGraphPattern()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Query.Algebra
Assembly: dotNetRdf.dll
Syntax
public class LazyBgp : Bgp, IBgp, ITerminalOperator, ISparqlAlgebra, IVisitable, IProcessable
Remarks

A Lazy BGP differs from a BGP in that rather than evaluating each Triple Pattern in turn it evaluates across all Triple Patterns. This is used for queries where we are only want to retrieve a limited number of solutions.

A Lazy BGP can only contain concrete Triple Patterns and/or FILTERs and not any of other the specialised Triple Pattern classes.

Constructors

| Improve this Doc View Source

LazyBgp(IEnumerable<ITriplePattern>, int)

Creates a Streamed BGP containing a set of Triple Patterns.

Declaration
public LazyBgp(IEnumerable<ITriplePattern> ps, int requiredResults)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<T><ITriplePattern> ps

Triple Patterns.

int requiredResults

The number of Results the BGP should attempt to return.

Remarks

A Lazy BGP differs from a BGP in that rather than evaluating each Triple Pattern in turn it evaluates across all Triple Patterns. This is used for queries where we are only want to retrieve a limited number of solutions.

A Lazy BGP can only contain concrete Triple Patterns and/or FILTERs and not any of other the specialised Triple Pattern classes.

| Improve this Doc View Source

LazyBgp(IEnumerable<ITriplePattern>)

Creates a Streamed BGP containing a set of Triple Patterns.

Declaration
public LazyBgp(IEnumerable<ITriplePattern> ps)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<T><ITriplePattern> ps

Triple Patterns.

Remarks

A Lazy BGP differs from a BGP in that rather than evaluating each Triple Pattern in turn it evaluates across all Triple Patterns. This is used for queries where we are only want to retrieve a limited number of solutions.

A Lazy BGP can only contain concrete Triple Patterns and/or FILTERs and not any of other the specialised Triple Pattern classes.

| Improve this Doc View Source

LazyBgp(ITriplePattern, int)

Creates a Streamed BGP containing a single Triple Pattern.

Declaration
public LazyBgp(ITriplePattern p, int requiredResults)
Parameters
Type Name Description
ITriplePattern p

Triple Pattern.

int requiredResults

The number of Results the BGP should attempt to return.

Remarks

A Lazy BGP differs from a BGP in that rather than evaluating each Triple Pattern in turn it evaluates across all Triple Patterns. This is used for queries where we are only want to retrieve a limited number of solutions.

A Lazy BGP can only contain concrete Triple Patterns and/or FILTERs and not any of other the specialised Triple Pattern classes.

| Improve this Doc View Source

LazyBgp(ITriplePattern)

Creates a Streamed BGP containing a single Triple Pattern.

Declaration
public LazyBgp(ITriplePattern p)
Parameters
Type Name Description
ITriplePattern p

Triple Pattern.

Remarks

A Lazy BGP differs from a BGP in that rather than evaluating each Triple Pattern in turn it evaluates across all Triple Patterns. This is used for queries where we are only want to retrieve a limited number of solutions.

A Lazy BGP can only contain concrete Triple Patterns and/or FILTERs and not any of other the specialised Triple Pattern classes.

Properties

| Improve this Doc View Source

RequiredResults

Declaration
public int RequiredResults { get; set; }
Property Value
Type Description
int
Remarks

A Lazy BGP differs from a BGP in that rather than evaluating each Triple Pattern in turn it evaluates across all Triple Patterns. This is used for queries where we are only want to retrieve a limited number of solutions.

A Lazy BGP can only contain concrete Triple Patterns and/or FILTERs and not any of other the specialised Triple Pattern classes.

Methods

| Improve this Doc View Source

ToString()

Gets the String representation of the Algebra.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
Bgp.ToString()
Remarks

A Lazy BGP differs from a BGP in that rather than evaluating each Triple Pattern in turn it evaluates across all Triple Patterns. This is used for queries where we are only want to retrieve a limited number of solutions.

A Lazy BGP can only contain concrete Triple Patterns and/or FILTERs and not any of other the specialised Triple Pattern classes.

Implements

IBgp
ITerminalOperator
ISparqlAlgebra
IVisitable
IProcessable

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • LazyBgp(IEnumerable<ITriplePattern>, int)
    • LazyBgp(IEnumerable<ITriplePattern>)
    • LazyBgp(ITriplePattern, int)
    • LazyBgp(ITriplePattern)
  • Properties
    • RequiredResults
  • Methods
    • ToString()
  • Implements
  • Extension Methods
Back to top Generated by DocFX