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
 
 public class RoutingRule extends ZkNodeProps Used for routing docs with particular keys into another collection
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.apache.solr.common.MapWriterMapWriter.EntryWriter
 
- 
 - 
Field Summary- 
Fields inherited from class org.apache.solr.common.cloud.ZkNodePropspropMap
 
- 
 - 
Constructor SummaryConstructors Constructor Description RoutingRule(String routeKey, Map<String,Object> propMap)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DocRouter.Range>getRouteRanges()StringgetRouteRangesStr()StringgetTargetCollectionName()booleanisExpired()static StringmakeExpiryAt(long timeMsFromNow)StringtoString()- 
Methods inherited from class org.apache.solr.common.cloud.ZkNodePropscontainsKey, equals, fromKeyVals, get, getBool, getInt, getProperties, getStr, getStr, hashCode, keySet, load, plus, plus, shallowCopy, writeMap
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.apache.solr.common.NavigableObject_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _size
 
- 
 
- 
- 
- 
Method Detail- 
getRouteRangespublic List<DocRouter.Range> getRouteRanges() 
 - 
getTargetCollectionNamepublic String getTargetCollectionName() 
 - 
makeExpiryAtpublic static String makeExpiryAt(long timeMsFromNow) 
 - 
isExpiredpublic boolean isExpired() 
 - 
getRouteRangesStrpublic String getRouteRangesStr() 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- ZkNodeProps
 
 
- 
 
-