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>
- $repo : Repo
- $schema : Schema
Methods
- __construct() : mixed
- getCount() : int
- getIdProp() : string
- getNamedEntities() : Generator
- 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
$repo
private
Repo
$repo
$schema
private
Schema
$schema
Methods
__construct()
public
__construct(string $rdfFilePath, Repo $repo) : mixed
Parameters
- $rdfFilePath : string
- $repo : Repo
getCount()
public
getCount() : int
Return values
intgetIdProp()
public
getIdProp() : string
Return values
stringgetNamedEntities()
public
getNamedEntities() : Generator
Return values
GeneratorsetFilter()
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