org.apache.solr.common.params
Class MapSolrParams

java.lang.Object
  extended by org.apache.solr.common.params.SolrParams
      extended by org.apache.solr.common.params.MapSolrParams
All Implemented Interfaces:
Serializable

public class MapSolrParams
extends SolrParams

See Also:
Serialized Form

Field Summary
protected  Map<String,String> map
           
 
Constructor Summary
MapSolrParams(Map<String,String> map)
           
 
Method Summary
 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
 String toString()
           
 
Methods inherited from class org.apache.solr.common.params.SolrParams
fpname, get, getBool, getBool, getDouble, getDouble, getFieldBool, getFieldBool, getFieldDouble, getFieldDouble, getFieldFloat, getFieldFloat, getFieldInt, getFieldInt, getFieldParam, getFieldParam, getFieldParams, getFloat, getFloat, getInt, getInt, required, toFilteredSolrParams, toMap, toMultiMap, toNamedList, toSolrParams, wrapAppended, wrapDefaults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

map

protected final Map<String,String> map
Constructor Detail

MapSolrParams

public MapSolrParams(Map<String,String> map)
Method Detail

get

public String get(String name)
Description copied from class: SolrParams
returns the String value of a param, or null if not set

Specified by:
get in class SolrParams

getParams

public String[] getParams(String name)
Description copied from class: SolrParams
returns an array of the String values of a param, or null if none

Specified by:
getParams in class SolrParams

getParameterNamesIterator

public Iterator<String> getParameterNamesIterator()
Description copied from class: SolrParams
returns an Iterator over the parameter names

Specified by:
getParameterNamesIterator in class SolrParams

getMap

public Map<String,String> getMap()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.