Interface TypeMappingIndexedStep
public interface TypeMappingIndexedStep
The step in a mapping definition where a type's indexing can be configured more precisely.
-
Method Summary
Modifier and TypeMethodDescriptionenabled
(boolean enabled) default TypeMappingIndexedStep
routingBinder
(RoutingBinder binder) Define a routing binder, responsible for creating a bridge.routingBinder
(RoutingBinder binder, Map<String, Object> params) Define a routing binder, responsible for creating a bridge.
-
Method Details
-
backend
- Parameters:
backendName
- The name of the backend.- Returns:
this
, for method chaining.- See Also:
-
index
- Parameters:
indexName
- The name of the index.- Returns:
this
, for method chaining.- See Also:
-
enabled
- Parameters:
enabled
-true
to map the type to an index (the default),false
to disable the mapping to an index. Useful to disable indexing when subclassing an indexed type.- Returns:
this
, for method chaining.- See Also:
-
routingBinder
Define a routing binder, responsible for creating a bridge. To pass some parameters to the bridge, use the methodroutingBinder(RoutingBinder, Map)
instead.- Parameters:
binder
- ARoutingBinder
responsible for creating a bridge.- Returns:
this
, for method chaining.- See Also:
-
routingBinder
Define a routing binder, responsible for creating a bridge. With this method it is possible to pass a set of parameters to the binder.- Parameters:
binder
- ARoutingBinder
responsible for creating a bridge.params
- The parameters to pass to the binder.- Returns:
this
, for method chaining.- See Also:
-