public interface IQueryAttributes
IQueryContext
.
The key MUST include enough information to provide for the scope of the attribute within the query and is typically the bop identifier plus an attribute name. Bindings DO NOT cross a service partition so it is not necessary to add the shardId or service UUID to the key.
Modifier and Type | Method and Description |
---|---|
Object |
get(Object key)
Return the attribute value under the key.
|
Object |
put(Object key,
Object val)
Bind an attribute under the key.
|
Object |
putIfAbsent(Object key,
Object val)
Atomically bind an attribute value under the key iff the key is not
already bound.
|
Object |
remove(Object key)
Remove the attribute under the key.
|
boolean |
remove(Object key,
Object value)
Atomically remove the attribute under the key iff it has the given value.
|
Object get(Object key)
key
- The key.null
if
there is no bound attribute for that key.Object put(Object key, Object val)
key
- The key.val
- The new value (may not be null
).get(Object)
Object putIfAbsent(Object key, Object val)
key
- The key.val
- The new value (may not be null
).Object remove(Object key)
key
- The key.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.