Show / Hide Table of Contents

Class StoreCountHandler

A RDF Handler which simply counts the Triples and Graphs.

Inheritance
object
BaseHandler
BaseRdfHandler
StoreCountHandler
Implements
ICommentRdfHandler
IRdfHandler
INodeFactory
Inherited Members
BaseRdfHandler.StartRdf()
BaseRdfHandler.EndRdf(bool)
BaseRdfHandler.EndRdfInternal(bool)
BaseRdfHandler.HandleNamespace(string, Uri)
BaseRdfHandler.HandleNamespaceInternal(string, Uri)
BaseRdfHandler.HandleBaseUri(Uri)
BaseRdfHandler.HandleBaseUriInternal(Uri)
BaseRdfHandler.HandleTriple(Triple)
BaseRdfHandler.HandleQuad(Triple, IRefNode)
BaseRdfHandler.HandleComment(string)
BaseRdfHandler.HandleCommentInternal(string)
BaseHandler.NodeFactory
BaseHandler.NormalizeLiteralValues
BaseHandler.LanguageTagValidation
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 class StoreCountHandler : BaseRdfHandler, ICommentRdfHandler, IRdfHandler, INodeFactory

Constructors

| Edit this page View Source

StoreCountHandler()

Creates a new Store Count Handler.

Declaration
public StoreCountHandler()

Properties

| Edit this page View Source

AcceptsAll

Gets that this Handler accepts all Triples.

Declaration
public override bool AcceptsAll { get; }
Property Value
Type Description
bool
Overrides
BaseRdfHandler.AcceptsAll
| Edit this page View Source

GraphCount

Gets the count of distinct Graph URIs.

Declaration
public int GraphCount { get; }
Property Value
Type Description
int
| Edit this page View Source

TripleCount

Gets the count of Triples.

Declaration
public int TripleCount { get; }
Property Value
Type Description
int

Methods

| Edit this page View Source

HandleQuadInternal(Triple, IRefNode)

Handles Triples/Quads by counting the Triples and distinct Graph URIs.

Declaration
protected override bool HandleQuadInternal(Triple t, IRefNode graph)
Parameters
Type Name Description
Triple t

Triple.

IRefNode graph

The graph containing the triple.

Returns
Type Description
bool
Overrides
BaseRdfHandler.HandleQuadInternal(Triple, IRefNode)
| Edit this page View Source

HandleTripleInternal(Triple)

Handles Triples/Quads by counting the Triples and distinct Graph URIs.

Declaration
protected override bool HandleTripleInternal(Triple t)
Parameters
Type Name Description
Triple t

Triple.

Returns
Type Description
bool
Overrides
BaseRdfHandler.HandleTripleInternal(Triple)
| Edit this page View Source

StartRdfInternal()

Starts RDF Handling by resetting the counters.

Declaration
protected override void StartRdfInternal()
Overrides
BaseRdfHandler.StartRdfInternal()

Implements

ICommentRdfHandler
IRdfHandler
INodeFactory

Extension Methods

Extensions.ToSafeString(object)
HandlerExtensions.Apply(IRdfHandler, IEnumerable<Triple>)
HandlerExtensions.Apply(IRdfHandler, IGraph)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • StoreCountHandler()
  • Properties
    • AcceptsAll
    • GraphCount
    • TripleCount
  • Methods
    • HandleQuadInternal(Triple, IRefNode)
    • HandleTripleInternal(Triple)
    • StartRdfInternal()
  • Implements
  • Extension Methods
Back to top Generated by DocFX