public static class TripleStore.TripleContainer extends Object
| Modifier and Type | Field and Description |
|---|---|
MultiValueMap<Object,Triple> |
tripleLookup |
| Constructor and Description |
|---|
TripleStore.TripleContainer() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Object key,
Triple triple)
add the given triple with the given key
|
Set<Object> |
getKeys()
get the keys
|
Set<Object> |
getObjectSet(Object key)
get the set of objects for a given key
|
Set<Object> |
getPredicateSet(Object key)
get the set of predicates for a given key
|
Set<Object> |
getSubjectSet(Object key)
get the set of subjects for a given key
|
MultiValueMap<Object,Triple> |
getTripleLookup() |
List<Triple> |
getTriples()
get the Triples
|
List<Triple> |
getTriples(Object key)
get the triples for a given key
|
int |
size()
get my size
|
public MultiValueMap<Object,Triple> tripleLookup
public MultiValueMap<Object,Triple> getTripleLookup()
public void add(Object key, Triple triple)
key - triple - public List<Triple> getTriples(Object key)
key - public Set<Object> getSubjectSet(Object key)
key - public Set<Object> getPredicateSet(Object key)
key - public Set<Object> getObjectSet(Object key)
key - public int size()
Copyright © 2017. All Rights Reserved.