Class ResponseValues
- java.lang.Object
-
- com.lucidworks.search.dsl.DslBase
-
- com.lucidworks.search.dsl.response.ResponseValues
-
public class ResponseValues extends DslBase
Holds arbitrary response values in the response which can be arbitrarily configured by each user for each rule (arbitrary key/value pairs). Values with the same key are grouped together under the same list entry in this map.
-
-
Constructor Summary
Constructors Constructor Description ResponseValues()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addValue(java.lang.String key, java.lang.String value)
Adds the value to the list of values under the indicated keyjava.util.Map<java.lang.String,java.util.List<java.lang.String>>
getAllValues()
void
setValues(java.lang.String key, java.util.List<java.lang.String> value)
Replaces all values stored under the key with the provided list
-
-
-
Method Detail
-
getAllValues
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getAllValues()
-
setValues
public void setValues(java.lang.String key, java.util.List<java.lang.String> value)
Replaces all values stored under the key with the provided list
-
addValue
public void addValue(java.lang.String key, java.lang.String value)
Adds the value to the list of values under the indicated key
-
-