public class LDPathResult extends Object
Multimap| Constructor and Description |
|---|
LDPathResult()
Constructs an empty result set
|
LDPathResult(Map<String,List<org.apache.marmotta.client.model.rdf.RDFNode>> result)
Constructs a result set
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(String field,
List<org.apache.marmotta.client.model.rdf.RDFNode> result)
Add a new result
|
boolean |
add(String field,
org.apache.marmotta.client.model.rdf.RDFNode result)
Add a single result
|
Set<String> |
getFields()
Get field names
|
List<org.apache.marmotta.client.model.rdf.RDFNode> |
getResults(String field)
Get results for a field name
|
int |
size()
Size of the result set
|
public boolean add(String field, List<org.apache.marmotta.client.model.rdf.RDFNode> result)
field - result - public boolean add(String field, org.apache.marmotta.client.model.rdf.RDFNode result)
field - result - public List<org.apache.marmotta.client.model.rdf.RDFNode> getResults(String field)
field - public int size()
Copyright © 2014 Redlink GmbH. All rights reserved.