public class DefaultQueryAttributes extends Object implements IQueryAttributes
| Constructor and Description |
|---|
DefaultQueryAttributes() |
| 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.
|
String |
toString() |
public Object get(Object key)
IQueryAttributesget in interface IQueryAttributeskey - The key.null if
there is no bound attribute for that key.public Object put(Object key, Object val)
IQueryAttributesput in interface IQueryAttributeskey - The key.val - The new value (may not be null).IQueryAttributes.get(Object)public Object putIfAbsent(Object key, Object val)
IQueryAttributesputIfAbsent in interface IQueryAttributeskey - The key.val - The new value (may not be null).public Object remove(Object key)
IQueryAttributesremove in interface IQueryAttributeskey - The key.public boolean remove(Object key, Object value)
IQueryAttributesremove in interface IQueryAttributeskey - The key.value - The expected value for that key.true iff the entry for that key was removed.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.