Interface RoutingBindingContext
- All Superinterfaces:
BindingContext
-
Method Summary
Modifier and TypeMethodDescription<E> voidbridge(Class<E> expectedType, BeanHolder<? extends RoutingBridge<E>> bridgeHolder) Sets the object responsible for routing indexed entities to the correct index/shard.<E> voidbridge(Class<E> expectedType, RoutingBridge<E> bridge) Sets the object responsible for routing indexed entities to the correct index/shard.Methods inherited from interface BindingContext
beanResolver, param, param, paramOptional, paramOptional, params
-
Method Details
-
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
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- ABeanHoldercontaining the bridge to use when indexing.
-
bridgedElement
- Returns:
- An entry point allowing to declare expectations and retrieve accessors to the bridged POJO type (i.e. the indexed type).
-
dependencies
PojoRoutingIndexingDependencyConfigurationContext dependencies()- Returns:
- An entry point allowing to declare the parts of the entity graph that the bridge will depend on.
-