public class MultiMapSolrParams extends SolrParams
MapWriter.EntryWriter| 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 first 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 no mapping for the param exists.
|
Iterator<Map.Entry<String,String[]>> |
iterator()
Returns an Iterator of
Map.Entry providing a multi-map view. |
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, stream, toFilteredSolrParams, toLocalParamsString, toMap, toMultiMap, toNamedList, toQueryString, toSolrParams, toString, wrapAppended, wrapDefaults, writeMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _sizeforEach, spliteratorpublic String get(String name)
SolrParamsSolrParams.getParams(String) instead.get in class SolrParamspublic String[] getParams(String name)
SolrParamsgetParams in class SolrParamspublic Iterator<String> getParameterNamesIterator()
SolrParamsIterable.getParameterNamesIterator in class SolrParamspublic Iterator<Map.Entry<String,String[]>> iterator()
SolrParamsMap.Entry providing a multi-map view. Treat it as read-only.public static Map<String,String[]> asMultiMap(SolrParams params)
public static Map<String,String[]> asMultiMap(SolrParams params, boolean newCopy)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.