Show / Hide Table of Contents

Class StoreCountHandler

A RDF Handler which simply counts the Triples and Graphs.
Inheritance
System.Object
BaseHandler
BaseRdfHandler
StoreCountHandler
Implements
IRdfHandler
INodeFactory
Inherited Members
BaseRdfHandler.StartRdf()
BaseRdfHandler.EndRdf(Boolean)
BaseRdfHandler.EndRdfInternal(Boolean)
BaseRdfHandler.HandleNamespace(String, Uri)
BaseRdfHandler.HandleNamespaceInternal(String, Uri)
BaseRdfHandler.HandleBaseUri(Uri)
BaseRdfHandler.HandleBaseUriInternal(Uri)
BaseRdfHandler.HandleTriple(Triple)
BaseHandler.NodeFactory
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.CreateVariableNode(String)
BaseHandler.GetNextBlankNodeID()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Parsing.Handlers
Assembly: dotNetRDF.dll
Syntax
public class StoreCountHandler : BaseRdfHandler, IRdfHandler, INodeFactory

Constructors

| Improve this Doc View Source

StoreCountHandler()

Creates a new Store Count Handler.
Declaration
public StoreCountHandler()

Properties

| Improve this Doc View Source

AcceptsAll

Gets that this Handler accepts all Triples.
Declaration
public override bool AcceptsAll { get; }
Property Value
Type Description
System.Boolean
Overrides
BaseRdfHandler.AcceptsAll
| Improve this Doc View Source

GraphCount

Gets the count of distinct Graph URIs.
Declaration
public int GraphCount { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

TripleCount

Gets the count of Triples.
Declaration
public int TripleCount { get; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc 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
System.Boolean
Overrides
BaseRdfHandler.HandleTripleInternal(Triple)
| Improve this Doc View Source

StartRdfInternal()

Starts RDF Handling by reseting the counters.
Declaration
protected override void StartRdfInternal()
Overrides
BaseRdfHandler.StartRdfInternal()

Implements

IRdfHandler
INodeFactory

Extension Methods

Extensions.AsEnumerable<T>(T)
HandlerExtensions.Apply(IRdfHandler, IGraph)
HandlerExtensions.Apply(IRdfHandler, IEnumerable<Triple>)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • StoreCountHandler()
  • Properties
    • AcceptsAll
    • GraphCount
    • TripleCount
  • Methods
    • HandleTripleInternal(Triple)
    • StartRdfInternal()
  • Implements
  • Extension Methods
Back to top Generated by DocFX