Class StoreCountHandler
A RDF Handler which simply counts the Triples and Graphs.
Inherited Members
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, 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 |
---|---|
int |
TripleCount
Gets the count of Triples.
Declaration
public int TripleCount { get; }
Property Value
Type | Description |
---|---|
int |
Methods
| Improve this Doc View SourceHandleQuadInternal(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 |
---|---|
System.Boolean |
Overrides
| 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 resetting the counters.
Declaration
protected override void StartRdfInternal()