| Package | Description |
|---|---|
| org.apache.stanbol.entityhub.servicesapi.yard |
| Modifier and Type | Method and Description |
|---|---|
Representation |
Yard.create()
Creates a new empty representation and stores it in the Yard.
|
Representation |
Yard.create(String id)
Creates a new representation for the given id
|
QueryResultList<Representation> |
Yard.find(FieldQuery query)
Getter for a view onto the Representations selected by the Query.
|
QueryResultList<String> |
Yard.findReferences(FieldQuery query)
Finds all representations base on the parse query.
|
QueryResultList<Representation> |
Yard.findRepresentation(FieldQuery query)
Searches for all the Representation fulfilling the constraints of the
query and returns the (whole) representation as stored in the Yard.
|
Representation |
Yard.getRepresentation(String id)
Getter for the representation based on the id.
|
boolean |
Yard.isRepresentation(String id)
checks if a representation with the given id is present in the Yard
|
void |
Yard.remove(Iterable<String> ids)
Removes all the
Representation of the parsed ids. |
void |
Yard.remove(String id)
Removes the
Representation with the given id |
void |
Yard.removeAll()
Removes all the
Representation managed by this Yard |
void |
Cache.setAdditionalMappings(FieldMapper fieldMapper)
Sets the additional field mappings for a cache.
|
void |
Cache.setBaseMappings(FieldMapper fieldMapper)
Sets the base mappings to the parsed field mapper and stores the new
configuration to the yard.
|
Iterable<Representation> |
Yard.store(Iterable<Representation> representations)
Stores all the parsed representation in a single chunk in the Yard.
|
Representation |
Yard.store(Representation representation)
Stores the representation in the Yard. if the parsed representation is
not present in the Yard it will add it to the Yard.
|
Iterable<Representation> |
Yard.update(Iterable<Representation> representations)
Updates the store with the new state of the parsed representations.
|
Representation |
Yard.update(Representation representation)
Updates the store with the new state of the parsed representation
|
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.