DatasetGettersTrait
Tags
Table of Contents
Methods
- getGraph() : TermInterface|null
- Fetches graph of a first quad matching a given filter or null if no quad matches the filter.
- getGraphValue() : mixed
- Returns result of calling the getValue() method on a subject of a first quad matching a given filter or null if no quad matches the filter.
- getObject() : TermInterface|null
- Fetches object of a first quad matching a given filter or null if no quad matches the filter.
- getObjectValue() : mixed
- Returns result of calling the getValue() method on a subject of a first quad matching a given filter or null if no quad matches the filter.
- getPredicate() : NameNodeInterface|null
- Fetches subject of a first quad matching a given filter or null if no quad matches the filter.
- getPredicateValue() : mixed
- Returns result of calling the getValue() method on a subject of a first quad matching a given filter or null if no quad matches the filter.
- getSubject() : TermInterface|null
- Fetches subject of a first quad matching a given filter or null if no quad matches the filter.
- getSubjectValue() : mixed
- Returns result of calling the getValue() method on a subject of a first quad matching a given filter or null if no quad matches the filter.
- listGraphs() : TermIteratorInterface
- Fetches an iterator over unique set of dataset quad graphs.
- listObjects() : TermIteratorInterface
- Fetches an iterator over unique set of dataset quad objects.
- listPredicates() : TermIteratorInterface
- Fetches an iterator over unique set of dataset quad predicates.
- listSubjects() : TermIteratorInterface
- Fetches an iterator over unique set of dataset quad subjects.
Methods
getGraph()
Fetches graph of a first quad matching a given filter or null if no quad matches the filter.
    public
                    getGraph([QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null $filter = null ]) : TermInterface|null
    Parameters
- $filter : QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null = null
Return values
TermInterface|nullgetGraphValue()
Returns result of calling the getValue() method on a subject of a first quad matching a given filter or null if no quad matches the filter.
    public
                    getGraphValue([QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null $filter = null ]) : mixed
    Parameters
- $filter : QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null = null
getObject()
Fetches object of a first quad matching a given filter or null if no quad matches the filter.
    public
                    getObject([QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null $filter = null ]) : TermInterface|null
    Parameters
- $filter : QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null = null
Return values
TermInterface|nullgetObjectValue()
Returns result of calling the getValue() method on a subject of a first quad matching a given filter or null if no quad matches the filter.
    public
                    getObjectValue([QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null $filter = null ]) : mixed
    Parameters
- $filter : QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null = null
getPredicate()
Fetches subject of a first quad matching a given filter or null if no quad matches the filter.
    public
                    getPredicate([QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null $filter = null ]) : NameNodeInterface|null
    Parameters
- $filter : QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null = null
Return values
NameNodeInterface|nullgetPredicateValue()
Returns result of calling the getValue() method on a subject of a first quad matching a given filter or null if no quad matches the filter.
    public
                    getPredicateValue([QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null $filter = null ]) : mixed
    Parameters
- $filter : QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null = null
getSubject()
Fetches subject of a first quad matching a given filter or null if no quad matches the filter.
    public
                    getSubject([QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null $filter = null ]) : TermInterface|null
    Parameters
- $filter : QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null = null
Return values
TermInterface|nullgetSubjectValue()
Returns result of calling the getValue() method on a subject of a first quad matching a given filter or null if no quad matches the filter.
    public
                    getSubjectValue([QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null $filter = null ]) : mixed
    Parameters
- $filter : QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null = null
listGraphs()
Fetches an iterator over unique set of dataset quad graphs.
    public
    abstract                listGraphs([QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null $filter = null ]) : TermIteratorInterface
    Parameters
- $filter : QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null = null
Return values
TermIteratorInterfacelistObjects()
Fetches an iterator over unique set of dataset quad objects.
    public
    abstract                listObjects([QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null $filter = null ]) : TermIteratorInterface
    Parameters
- $filter : QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null = null
Return values
TermIteratorInterfacelistPredicates()
Fetches an iterator over unique set of dataset quad predicates.
    public
    abstract                listPredicates([QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null $filter = null ]) : TermIteratorInterface
    Parameters
- $filter : QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null = null
Return values
TermIteratorInterfacelistSubjects()
Fetches an iterator over unique set of dataset quad subjects.
    public
    abstract                listSubjects([QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null $filter = null ]) : TermIteratorInterface
    Parameters
- $filter : QuadCompareInterface|QuadIteratorInterface|QuadIteratorAggregateInterface|callable|null = null