Click or drag to resize

Ask Class

Represents the Ask step of Query Evaluation.
Inheritance Hierarchy
SystemObject
  VDS.RDF.Query.AlgebraAsk

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

The Ask type exposes the following members.

Constructors
  NameDescription
Public methodAsk
Creates a new ASK.
Top
Properties
  NameDescription
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 propertyVariables
Gets the Variables used in the Algebra.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEvaluate
Evaluates the ASK by turning the Results of evaluating the Inner Pattern to either an Identity/Null Multiset depending on whether there were any 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 an Ask() cannot be converted to a Graph Pattern.
Public methodToQuery
Converts the Algebra back to a SPARQL Query.
Public methodToString
Gets the String representation of the Ask.
(Overrides ObjectToString.)
Public methodTransform
Transforms the Inner Algebra using the given Optimiser.
Top
Remarks
Used only for ASK queries. Turns the final Multiset into either an IdentityMultiset if the ASK succeeds or a NullMultiset if the ASK fails.
See Also