Interface QueryableWritableDataCollection<Q extends QueryableData, W extends Writable>
- Type Parameters:
Q- the queryable data typeW- the writable data type
- All Superinterfaces:
QueryableData, QueryableDataCollection<Q>, Writable
- All Known Subinterfaces:
MaterializedWritableDataCollection<Q,W>
public interface QueryableWritableDataCollection<Q extends QueryableData, W extends Writable>
extends QueryableDataCollection<Q>, Writable
A
QueryableDataCollection that also exposes writable targets.-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanStores the given atomdefault voidclear()Deletes all atomsGet all the writable data by PredicateGet the default-writable data, if provided The default-writable data is where atoms are written if they have a predicate not assigned to a writablegetWritable(Predicate predicate) Get a writable by predicate Return the writable bind to a predicate or, if the predicate is not bound to a writable, the default writabledefault booleanRemoves the given atomMethods inherited from interface QueryableData
estimateBound, evaluate, getSupportedOperations, hasPredicateMethods inherited from interface QueryableDataCollection
estimateBound, evaluate, getAllQueryableData, getAtomicPattern, getPredicates, getQueryableData
-
Method Details
-
getAllWritableData
-
getDefaultWritableData
-
getWritable
Get a writable by predicate Return the writable bind to a predicate or, if the predicate is not bound to a writable, the default writable- Parameters:
predicate- the predicate for which we want to get the writable data- Returns:
- an optional containing the writable bound to a predicate or the default writable if available
-
add
-
remove
-
clear
-