Click or drag to resize

Slice Class

Represents the Slice Operation in the SPARQL Algebra.
Inheritance Hierarchy

Namespace:  VDS.RDF.Query.Algebra
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
public class Slice : IUnaryOperator, ISparqlAlgebra

The Slice type exposes the following members.

Public methodSlice(ISparqlAlgebra)
Creates a new Slice modifier which will detect LIMIT and OFFSET from the query.
Public methodSlice(ISparqlAlgebra, Int32, Int32)
Creates a new Slice modifier which uses a specific LIMIT and OFFSET.
Public propertyDetectFromQuery
Gets whether the Algebra will detect the Limit and Offset to use from the provided query.
Public propertyFixedVariables
Gets the enumeration of fixed variables in the algebra i.e. variables that are guaranteed to have a bound value.
Public propertyFloatingVariables
Gets the enumeration of floating variables in the algebra i.e. variables that are not guaranteed to have a bound value.
Public propertyInnerAlgebra
Gets the Inner Algebra.
Public propertyLimit
Gets the Limit in use (-1 indicates no Limit).
Public propertyOffset
Gets the Offset in use (0 indicates no Offset).
Public propertyVariables
Gets the Variables used in the Algebra.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEvaluate
Evaluates the Slice by applying the appropriate LIMIT and OFFSET to the Results.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToGraphPattern
Throws an exception since a Slice() cannot be converted back to a Graph Pattern.
Public methodToQuery
Converts the Algebra back to a SPARQL Query.
Public methodToString
Gets the String representation of the Algebra.
(Overrides ObjectToString.)
Public methodTransform
Transforms the Inner Algebra using the given Optimiser.
See Also