Package org.apache.solr.common.cloud
Class RoutingRule
java.lang.Object
org.apache.solr.common.cloud.ZkNodeProps
org.apache.solr.common.cloud.RoutingRule
- All Implemented Interfaces:
MapSerializable,MapWriter,NavigableObject,org.noggit.JSONWriter.Writable
Used for routing docs with particular keys into another collection
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.solr.common.MapWriter
MapWriter.EntryWriter -
Field Summary
Fields inherited from class org.apache.solr.common.cloud.ZkNodeProps
propMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic StringmakeExpiryAt(long timeMsFromNow) toString()Methods inherited from class org.apache.solr.common.cloud.ZkNodeProps
containsKey, equals, get, getBool, getInt, getProperties, getStr, getStr, hashCode, keySet, load, plus, plus, shallowCopy, writeMapMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.solr.common.NavigableObject
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _size
-
Constructor Details
-
RoutingRule
-
-
Method Details
-
getRouteRanges
-
getTargetCollectionName
-
makeExpiryAt
-
isExpired
public boolean isExpired() -
getRouteRangesStr
-
toString
- Overrides:
toStringin classZkNodeProps
-