Show / Hide Table of Contents

Class BaseResultsHandler

Abstract Base Class for SPARQL Results Handlers.

Inheritance
System.Object
BaseHandler
BaseResultsHandler
ListStringsHandler
ListUrisHandler
MultisetHandler
ResultCountHandler
ResultSetHandler
ResultWriteThroughHandler
Implements
ISparqlResultsHandler
INodeFactory
Inherited Members
BaseHandler.NodeFactory
BaseHandler.NormalizeLiteralValues
BaseHandler.ResolveQName(string)
BaseHandler.BaseUri
BaseHandler.NamespaceMap
BaseHandler.UriFactory
BaseHandler.CreateBlankNode()
BaseHandler.CreateBlankNode(string)
BaseHandler.CreateGraphLiteralNode()
BaseHandler.CreateGraphLiteralNode(IGraph)
BaseHandler.CreateLiteralNode(string, Uri)
BaseHandler.CreateLiteralNode(string)
BaseHandler.CreateLiteralNode(string, string)
BaseHandler.CreateUriNode(Uri)
BaseHandler.CreateUriNode(string)
BaseHandler.CreateUriNode()
BaseHandler.CreateVariableNode(string)
BaseHandler.CreateTripleNode(Triple)
BaseHandler.GetNextBlankNodeID()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Parsing.Handlers
Assembly: dotNetRdf.dll
Syntax
public abstract class BaseResultsHandler : BaseHandler, ISparqlResultsHandler, INodeFactory

Constructors

| Improve this Doc View Source

BaseResultsHandler()

Creates a new SPARQL Results Handler.

Declaration
protected BaseResultsHandler()
| Improve this Doc View Source

BaseResultsHandler(INodeFactory)

Creates a new SPARQL Results Handler.

Declaration
protected BaseResultsHandler(INodeFactory factory)
Parameters
Type Name Description
INodeFactory factory

Node Factory.

Methods

| Improve this Doc View Source

EndResults(bool)

Ends Results Handling.

Declaration
public void EndResults(bool ok)
Parameters
Type Name Description
System.Boolean ok

Whether parsing completed without error.

| Improve this Doc View Source

EndResultsInternal(bool)

Optionally used by derived classes to take additional actions on ending Results Handling.

Declaration
protected virtual void EndResultsInternal(bool ok)
Parameters
Type Name Description
System.Boolean ok

Whether parsing completed without error.

| Improve this Doc View Source

HandleBooleanResult(bool)

Handles a Boolean Results.

Declaration
public void HandleBooleanResult(bool result)
Parameters
Type Name Description
System.Boolean result

Result.

| Improve this Doc View Source

HandleBooleanResultInternal(bool)

Must be overridden by derived handlers to appropriately handle boolean results.

Declaration
protected abstract void HandleBooleanResultInternal(bool result)
Parameters
Type Name Description
System.Boolean result

Result.

| Improve this Doc View Source

HandleResult(ISparqlResult)

Handlers SPARQL Results.

Declaration
public bool HandleResult(ISparqlResult result)
Parameters
Type Name Description
ISparqlResult result

Result.

Returns
Type Description
System.Boolean
| Improve this Doc View Source

HandleResultInternal(ISparqlResult)

Must be overridden by derived handlers to appropriately handler SPARQL Results.

Declaration
protected abstract bool HandleResultInternal(ISparqlResult result)
Parameters
Type Name Description
ISparqlResult result

Result.

Returns
Type Description
System.Boolean
| Improve this Doc View Source

HandleVariable(string)

Handles a Variable declaration.

Declaration
public bool HandleVariable(string var)
Parameters
Type Name Description
string var

Variable Name.

Returns
Type Description
System.Boolean
| Improve this Doc View Source

HandleVariableInternal(string)

Must be overridden by derived handlers to appropriately handle variable declarations.

Declaration
protected abstract bool HandleVariableInternal(string var)
Parameters
Type Name Description
string var

Variable Name.

Returns
Type Description
System.Boolean
| Improve this Doc View Source

StartResults()

Starts Results Handling.

Declaration
public void StartResults()
| Improve this Doc View Source

StartResultsInternal()

Optionally used by derived classes to take additional actions on starting Results Handling.

Declaration
protected virtual void StartResultsInternal()

Implements

ISparqlResultsHandler
INodeFactory

Extension Methods

Extensions.ToSafeString(object)
HandlerExtensions.Apply(ISparqlResultsHandler, SparqlResultSet)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • BaseResultsHandler()
    • BaseResultsHandler(INodeFactory)
  • Methods
    • EndResults(bool)
    • EndResultsInternal(bool)
    • HandleBooleanResult(bool)
    • HandleBooleanResultInternal(bool)
    • HandleResult(ISparqlResult)
    • HandleResultInternal(ISparqlResult)
    • HandleVariable(string)
    • HandleVariableInternal(string)
    • StartResults()
    • StartResultsInternal()
  • Implements
  • Extension Methods
Back to top Generated by DocFX