NamedEntityIteratorFile
in package
implements
NamedEntityIteratorInterface
Description of NamedEntityIteratorFile
Tags
Table of Contents
Interfaces
Properties
- $filters : array<string|int, QuadTemplate>
- $graph : Dataset
- $limit : int|null
- $matching : array<string|int, TermInterface>
- $schema : Schema
Methods
- __construct() : mixed
- count() : int
- getIdProp() : string
- getNamedEntities() : Generator<string|int, NamedEntityInterface>
- setFilter() : void
- findMatching() : void
Properties
$filters
private
array<string|int, QuadTemplate>
$filters
= []
$graph
private
Dataset
$graph
$limit
private
int|null
$limit
= null
$matching
private
array<string|int, TermInterface>
$matching
$schema
private
Schema
$schema
Methods
__construct()
public
__construct(string|resource $rdfFilePath, Schema $schema[, string|null $format = null ]) : mixed
Parameters
- $rdfFilePath : string|resource
- $schema : Schema
- $format : string|null = null
count()
public
count() : int
Return values
intgetIdProp()
public
getIdProp() : string
Return values
stringgetNamedEntities()
public
getNamedEntities() : Generator<string|int, NamedEntityInterface>
Return values
Generator<string|int, NamedEntityInterface>setFilter()
public
setFilter([string|null $class = null ][, string|null $idMatch = null ][, string|null $minModDate = null ][, int|null $limit = null ]) : void
Parameters
- $class : string|null = null
- $idMatch : string|null = null
- $minModDate : string|null = null
- $limit : int|null = null
findMatching()
private
findMatching() : void