java.lang.Object
org.apache.jena.mem.NodeToTriplesMapBase
org.apache.jena.mem.NodeToTriplesMapMem
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.apache.jena.mem.NodeToTriplesMapBase
bunchMap -
Constructor Summary
ConstructorsConstructorDescriptionNodeToTriplesMapMem(Triple.Field indexField, Triple.Field f2, Triple.Field f3) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAddtto this NTM; the nodeomust be the index node of the triple.booleanAnswer true iff this NTM contains the concrete triplet.booleaniterateAll(Triple pattern) iterator(Object o, HashCommon.NotifyEmpty container) Answer an iterator over all the triples in this NTM which have index nodeo.Answer an iterator over all the triples in this NTM which matchpattern.Answer an iterator over all the triples that are indexed by the itemy.booleanRemovetfrom this NTM.Methods inherited from class org.apache.jena.mem.NodeToTriplesMapBase
clear, containsMatch, domain, isEmpty, iterateAll, removedOneViaIterator, size, stream, streamAll
-
Constructor Details
-
NodeToTriplesMapMem
-
-
Method Details
-
add
Addtto this NTM; the nodeomust be the index node of the triple. Answertrueiff the triple was not previously in the set, ie, it really truly has been added.- Specified by:
addin classNodeToTriplesMapBase
-
remove
Removetfrom this NTM. Answertrueiff the triple was previously in the set, ie, it really truly has been removed.- Specified by:
removein classNodeToTriplesMapBase
-
iterator
Answer an iterator over all the triples in this NTM which have index nodeo.- Specified by:
iteratorin classNodeToTriplesMapBase
-
iterateAll
-
contains
Answer true iff this NTM contains the concrete triplet.- Specified by:
containsin classNodeToTriplesMapBase
-
containsBySameValueAs
- Specified by:
containsBySameValueAsin classNodeToTriplesMapBase
-
iterator
Answer an iterator over all the triples in this NTM which matchpattern. The index field of this NTM is guaranteed concrete in the pattern.- Specified by:
iteratorin classNodeToTriplesMapBase
-
iteratorForIndexed
Answer an iterator over all the triples that are indexed by the itemy. Note thatyneed not be a Node (because of indexing values).- Specified by:
iteratorForIndexedin classNodeToTriplesMapBase
-