Uses of Class
com.yahoo.processing.request.CompoundName
Packages that use CompoundName
Package
Description
Java library for request-response data processing.
-
Uses of CompoundName in com.yahoo.processing
Fields in com.yahoo.processing declared as CompoundNameModifier and TypeFieldDescriptionstatic final CompoundNameRequest.CHAINThe name of the chain of Processor instances which will be invoked when executing a request.static final CompoundNameRequest.JDISC_REQUESTThe name of the request property used in the processing framework to store the incoming JDisc request. -
Uses of CompoundName in com.yahoo.processing.request
Fields in com.yahoo.processing.request declared as CompoundNameMethods in com.yahoo.processing.request that return CompoundNameModifier and TypeMethodDescriptionCompoundName.append(CompoundName name) Returns a compound name which has the given compounds appended to itReturns a compound name which has the given compound string appended to itCompoundName.first(int n) Returns the first n components of this.static CompoundNameCreates a CompoundName from a string, possibly reusing from cache.static CompoundNameCompoundName.fromComponents(String... components) Constructs this from an array of name components which are assumed not to contain dotsReturns a compound name which has the given name components prepended to this name, in the given order, i.e new ComponentName("c").prepend("a","b") will yield "a.b.c".CompoundName.rest()Returns the name after the first dot, or "" if this name has no dotsCompoundName.rest(int n) Returns the name starting after the n first components (i.e dots).Returns a compound which have the name component at index i set to the given name.Methods in com.yahoo.processing.request that return types with arguments of type CompoundNameModifier and TypeMethodDescriptionCloneHelper.cloneMap(Map<CompoundName, Object> map) Clones a map by deep cloning each value which is cloneable and shallow copying all other values.static Map<CompoundName,Object> Properties.cloneMap(Map<CompoundName, Object> map) Clones a map by deep cloning each value which is cloneable and shallow copying all other values.Methods in com.yahoo.processing.request with parameters of type CompoundNameModifier and TypeMethodDescriptionCompoundName.append(CompoundName name) Returns a compound name which has the given compounds appended to itfinal voidProperties.clearAll(CompoundName name) Sets all properties having this name as a compound prefix to null.voidProperties.clearAll(CompoundName name, Map<String, String> context) Sets all properties having this name as a compound prefix to null.final ObjectProperties.get(CompoundName name) Gets a named value from the first chained instance which has one by calling get(name,null,this).final ObjectProperties.get(CompoundName name, Object defaultValue) Gets a named value from the first chained instance which has one, or the default value if no value is set, or if the first value encountered is explicitly set to null.final ObjectProperties.get(CompoundName name, Map<String, String> context) Gets a named value from the first chained instance which has one by calling get(name,context,this).Properties.get(CompoundName name, Map<String, String> context, Properties substitution) Gets a named value which (if necessary) is resolved using a property context.final booleanProperties.getBoolean(CompoundName name) Gets a property as a boolean - if this value can reasonably be interpreted as a boolean, this will return the value.final booleanProperties.getBoolean(CompoundName key, boolean defaultValue) Gets a property as a boolean.final DoubleProperties.getDouble(CompoundName name) Returns a property as a Double.final DoubleProperties.getDouble(CompoundName name, Double defaultValue) Returns a property as a Double.final IntegerProperties.getInteger(CompoundName name) Returns a property as an Integer.final IntegerProperties.getInteger(CompoundName name, Integer defaultValue) Returns a property as an Integer.final LongProperties.getLong(CompoundName name) Returns a property as a Long.final LongProperties.getLong(CompoundName name, Long defaultValue) Returns a property as a Long.final StringProperties.getString(CompoundName key) Returns this property as a string.final StringProperties.getString(CompoundName key, String defaultValue) Returns this property as a string.booleanCompoundName.hasPrefix(CompoundName prefix) Returns whether the given name is a prefix of this.Properties.listProperties(CompoundName path) Returns a snapshot of all properties by calling listProperties(path, null).Properties.listProperties(CompoundName path, Map<String, String> context) Returns a snapshot of all properties by calling listProperties(path, null).Properties.listProperties(CompoundName path, Map<String, String> context, Properties substitution) Returns a snapshot of all properties of this having a given path prefix Some sources of properties may not be list-able and will not be included in this snapshot.final voidProperties.set(CompoundName name, Object value) Sets a value to the first chained instance which accepts it by calling set(name, value, null).voidSets a value to the first chained instance which accepts it.Method parameters in com.yahoo.processing.request with type arguments of type CompoundNameModifier and TypeMethodDescriptionCloneHelper.cloneMap(Map<CompoundName, Object> map) Clones a map by deep cloning each value which is cloneable and shallow copying all other values.static Map<CompoundName,Object> Properties.cloneMap(Map<CompoundName, Object> map) Clones a map by deep cloning each value which is cloneable and shallow copying all other values. -
Uses of CompoundName in com.yahoo.processing.request.properties
Methods in com.yahoo.processing.request.properties with parameters of type CompoundNameModifier and TypeMethodDescriptionPropertyMap.get(CompoundName name, Map<String, String> context, Properties substitution) PropertyMap.listProperties(CompoundName path, Map<String, String> context, Properties substitution) voidprotected booleanPropertyMap.shouldSet(CompoundName name, Object value) Return true if this value should be set in this map, false if the set should be propagated instead This default implementation always returns true.