-
Method Summary
<E> void
Sets the object responsible for routing indexed entities to the correct index/shard.
<E> void
Sets the object responsible for routing indexed entities to the correct index/shard.
-
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
- A BeanHolder
containing 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
- Returns:
- An entry point allowing to declare the parts of the entity graph that the bridge will depend on.