Interface RoutingBindingContext

All Superinterfaces:
BindingContext

public interface RoutingBindingContext extends BindingContext
  • Method Details

    • bridge

      <E> void bridge(Class<E> expectedType, RoutingBridge<E> bridge)
      Sets the object responsible for routing indexed entities to the correct index/shard.
      Type Parameters:
      E - The expected entity type.
      Parameters:
      expectedType - The expected entity type.
      bridge - The bridge to use when indexing.
    • bridge

      <E> void bridge(Class<E> expectedType, BeanHolder<? extends RoutingBridge<E>> bridgeHolder)
      Sets the object responsible for routing indexed entities to the correct index/shard.
      Type Parameters:
      E - The expected entity type.
      Parameters:
      expectedType - The expected entity type.
      bridgeHolder - A BeanHolder containing the bridge to use when indexing.
    • bridgedElement

      @Incubating PojoModelType bridgedElement()
      Returns:
      An entry point allowing to declare expectations and retrieve accessors to the bridged POJO type (i.e. the indexed type).
    • dependencies

      Returns:
      An entry point allowing to declare the parts of the entity graph that the bridge will depend on.