Click or drag to resize

ResultCountHandler Class

A SPARQL Results Handler which just counts Results.
Inheritance Hierarchy

Namespace:  VDS.RDF.Parsing.Handlers
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class ResultCountHandler : BaseResultsHandler

The ResultCountHandler type exposes the following members.

Constructors
  NameDescription
Public methodResultCountHandler
Creates a new Result Count Handler.
Top
Properties
  NameDescription
Public propertyCount
Gets the Count of Results.
Protected propertyNodeFactory
Gets/Sets the in-use Node Factory.
(Inherited from BaseHandler.)
Top
Methods
  NameDescription
Public methodCreateBlankNode
Creates a Blank Node.
(Inherited from BaseHandler.)
Public methodCreateBlankNode(String)
Creates a Blank Node with the given ID.
(Inherited from BaseHandler.)
Public methodCreateGraphLiteralNode
Creates a Graph Literal Node.
(Inherited from BaseHandler.)
Public methodCreateGraphLiteralNode(IGraph)
Creates a Graph Literal Node with the given sub-graph.
(Inherited from BaseHandler.)
Public methodCreateLiteralNode(String)
Creates a Literal Node.
(Inherited from BaseHandler.)
Public methodCreateLiteralNode(String, String)
Creates a Literal Node with the given Language.
(Inherited from BaseHandler.)
Public methodCreateLiteralNode(String, Uri)
Creates a Literal Node with the given Datatype.
(Inherited from BaseHandler.)
Public methodCreateUriNode
Creates a URI Node.
(Inherited from BaseHandler.)
Public methodCreateVariableNode
Creates a Variable Node.
(Inherited from BaseHandler.)
Public methodEndResults
Ends Results Handling.
(Inherited from BaseResultsHandler.)
Protected methodEndResultsInternal
Optionally used by derived classes to take additional actions on ending Results Handling.
(Inherited from BaseResultsHandler.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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 methodGetNextBlankNodeID
Gets the next available Blank Node ID.
(Inherited from BaseHandler.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHandleBooleanResult
Handles a Boolean Results.
(Inherited from BaseResultsHandler.)
Protected methodHandleBooleanResultInternal
Handles a Boolean Result.
(Overrides BaseResultsHandlerHandleBooleanResultInternal(Boolean).)
Public methodHandleResult
Handlers SPARQL Results.
(Inherited from BaseResultsHandler.)
Protected methodHandleResultInternal
Handles a SPARQL Result by incrementing the counter.
(Overrides BaseResultsHandlerHandleResultInternal(SparqlResult).)
Public methodHandleVariable
Handles a Variable declaration.
(Inherited from BaseResultsHandler.)
Protected methodHandleVariableInternal
Handles a Variable Declaration.
(Overrides BaseResultsHandlerHandleVariableInternal(String).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStartResults
Starts Results Handling.
(Inherited from BaseResultsHandler.)
Protected methodStartResultsInternal
Starts Results Handling and resets the counter to zero.
(Overrides BaseResultsHandlerStartResultsInternal.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
Note: For a Boolean Result Set the counter will either be 1 for true or 0 for false.
See Also