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 Details

    • DocumentRouteImpl

      public DocumentRouteImpl()
  • Method Details

    • routingKey

      public void routingKey(String routingKey)
      Description copied from interface: DocumentRoute
      Sets the routing key, i.e. the key used to select the correct shard in the targeted index.
      Specified by:
      routingKey in interface DocumentRoute
      Parameters:
      routingKey - The routing key. Never null.
    • routingKey

      public String routingKey()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toDescriptor

      public DocumentRouteDescriptor toDescriptor()