Class StoreCountHandler
A RDF Handler which simply counts the Triples and Graphs.
Inherited Members
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 SourceStoreCountHandler()
Creates a new Store Count Handler.
Declaration
public StoreCountHandler()
Properties
| Improve this Doc View SourceAcceptsAll
Gets that this Handler accepts all Triples.
Declaration
public override bool AcceptsAll { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceGraphCount
Gets the count of distinct Graph URIs.
Declaration
public int GraphCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
TripleCount
Gets the count of Triples.
Declaration
public int TripleCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceHandleTripleInternal(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
| Improve this Doc View SourceStartRdfInternal()
Starts RDF Handling by reseting the counters.
Declaration
protected override void StartRdfInternal()