public class DefaultSolrParams extends SolrParams
MapWriter.EntryWriter| 限定符和类型 | 字段和说明 |
|---|---|
protected SolrParams |
defaults |
protected SolrParams |
params |
| 构造器和说明 |
|---|
DefaultSolrParams(SolrParams params,
SolrParams defaults) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
get(String param)
Returns the first String value of a param, or null if not set.
|
Iterator<String> |
getParameterNamesIterator()
Returns an Iterator over the parameter names.
|
String[] |
getParams(String param)
returns an array of the String values of a param, or null if no mapping for the param exists.
|
String |
toString()
Like
SolrParams.toQueryString(), but only replacing enough chars so that
the URL may be unambiguously pasted back into a browser. |
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, iterator, required, stream, toFilteredSolrParams, toLocalParamsString, toMap, toMultiMap, toNamedList, toQueryString, toSolrParams, wrapAppended, wrapDefaults, writeMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _sizeforEach, spliteratorprotected final SolrParams params
protected final SolrParams defaults
public DefaultSolrParams(SolrParams params, SolrParams defaults)
public String get(String param)
SolrParamsSolrParams.getParams(String) instead.get 在类中 SolrParamspublic String[] getParams(String param)
SolrParamsgetParams 在类中 SolrParamspublic Iterator<String> getParameterNamesIterator()
SolrParamsIterable.getParameterNamesIterator 在类中 SolrParamspublic String toString()
SolrParamsSolrParams.toQueryString(), but only replacing enough chars so that
the URL may be unambiguously pasted back into a browser.
This method can be used to properly log query parameters without
making them unreadable.
Characters with a numeric value less than 32 are encoded. &,=,%,+,space are encoded.
toString 在类中 SolrParamsCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.