Class DocumentRouteImpl
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.route.impl.DocumentRouteImpl
-
- All Implemented Interfaces:
DocumentRoute
public class DocumentRouteImpl extends Object implements DocumentRoute
-
-
Constructor Summary
Constructors Constructor Description DocumentRouteImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()StringroutingKey()voidroutingKey(String routingKey)Sets the routing key, i.e.DocumentRouteDescriptortoDescriptor()
-
-
-
Method Detail
-
routingKey
public void routingKey(String routingKey)
Description copied from interface:DocumentRouteSets the routing key, i.e. the key used to select the correct shard in the targeted index.- Specified by:
routingKeyin interfaceDocumentRoute- Parameters:
routingKey- The routing key. Nevernull.
-
routingKey
public String routingKey()
-
toDescriptor
public DocumentRouteDescriptor toDescriptor()
-
-