public class MultiMapSolrParams extends SolrParams
Constructor and Description |
---|
MultiMapSolrParams(Map<String,String[]> map) |
Modifier and Type | Method and Description |
---|---|
static void |
addParam(String name,
String[] vals,
Map<String,String[]> map) |
static void |
addParam(String name,
String val,
Map<String,String[]> map) |
static Map<String,String[]> |
asMultiMap(SolrParams params)
Returns a MultiMap view of the SolrParams as efficiently as possible.
|
static Map<String,String[]> |
asMultiMap(SolrParams params,
boolean newCopy)
Returns a MultiMap view of the SolrParams.
|
String |
get(String name)
returns the String value of a param, or null if not set
|
Map<String,String[]> |
getMap() |
Iterator<String> |
getParameterNamesIterator()
returns an Iterator over the parameter names
|
String[] |
getParams(String name)
returns an array of the String values of a param, or null if none
|
fpname, get, getAll, getAll, getBool, getBool, getDouble, getDouble, getFieldBool, getFieldBool, getFieldDouble, getFieldDouble, getFieldFloat, getFieldFloat, getFieldInt, getFieldInt, getFieldParam, getFieldParam, getFieldParams, getFloat, getFloat, getInt, getInt, getLong, getLong, getPrimitiveBool, getPrimitiveFieldBool, getPrimitiveFieldFloat, getPrimitiveInt, required, toFilteredSolrParams, toMap, toMap, toMultiMap, toNamedList, toQueryString, toSolrParams, toString, wrapAppended, wrapDefaults
public String get(String name)
SolrParams
get
in class SolrParams
public String[] getParams(String name)
SolrParams
getParams
in class SolrParams
public Iterator<String> getParameterNamesIterator()
SolrParams
getParameterNamesIterator
in class SolrParams
public static Map<String,String[]> asMultiMap(SolrParams params)
public static Map<String,String[]> asMultiMap(SolrParams params, boolean newCopy)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.