public abstract class Properties
extends com.yahoo.processing.request.Properties
Multiple property implementations can be chained to provide unified access to properties backed by multiple sources as a Chain of Responsibility.
For better performance, prefer CompoundName argument constants over Strings.
Properties can be cloned. Cloning a properties instance returns a new instance which chains new instances of all chained instances. The content within each instance is cloned to the extent determined appropriate by that implementation.
This base class simply passes all access on to the next in chain.
Constructor and Description |
---|
Properties() |
Modifier and Type | Method and Description |
---|---|
Properties |
chained() |
Properties |
clone() |
Query |
getParentQuery()
The query owning this property object.
|
void |
setParentQuery(Query query)
Invoked during deep cloning of the parent query.
|
asBoolean, asDouble, asInteger, asLong, asString, chain, clone, cloneMap, get, get, get, get, get, get, get, get, getBoolean, getBoolean, getBoolean, getBoolean, getDouble, getDouble, getDouble, getDouble, getInstance, getInteger, getInteger, getInteger, getInteger, getLong, getLong, getLong, getLong, getString, getString, getString, getString, listProperties, listProperties, listProperties, listProperties, listProperties, listProperties, listProperties, listProperties, set, set, set, set
public Properties chained()
chained
in class com.yahoo.processing.request.Properties
public Properties clone()
clone
in class com.yahoo.processing.request.Properties
public Query getParentQuery()
public void setParentQuery(Query query)
Copyright © 2017. All rights reserved.