Interface TypeMappingIndexedStep
-
public interface TypeMappingIndexedStepThe step in a mapping definition where a type's indexing can be configured more precisely.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeMappingIndexedStepbackend(String backendName)TypeMappingIndexedStepenabled(boolean enabled)TypeMappingIndexedStepindex(String indexName)TypeMappingIndexedSteproutingBinder(RoutingBinder binder)
-
-
-
Method Detail
-
backend
TypeMappingIndexedStep backend(String backendName)
- Parameters:
backendName- The name of the backend.- Returns:
this, for method chaining.- See Also:
Indexed.backend()
-
index
TypeMappingIndexedStep index(String indexName)
- Parameters:
indexName- The name of the index.- Returns:
this, for method chaining.- See Also:
Indexed.index()
-
enabled
TypeMappingIndexedStep enabled(boolean enabled)
- Parameters:
enabled-trueto map the type to an index (the default),falseto disable the mapping to an index. Useful to disable indexing when subclassing an indexed type.- Returns:
this, for method chaining.- See Also:
Indexed.enabled()
-
routingBinder
TypeMappingIndexedStep routingBinder(RoutingBinder binder)
- Parameters:
binder- ARoutingBinderresponsible for creating a bridge.- Returns:
this, for method chaining.- See Also:
Indexed.routingBinder()
-
-