Interface TypeMappingIndexedStep
-
public interface TypeMappingIndexedStep
The 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 TypeMappingIndexedStep
backend(String backendName)
TypeMappingIndexedStep
enabled(boolean enabled)
TypeMappingIndexedStep
index(String indexName)
TypeMappingIndexedStep
routingBinder(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
-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:
Indexed.enabled()
-
routingBinder
TypeMappingIndexedStep routingBinder(RoutingBinder binder)
- Parameters:
binder
- ARoutingBinder
responsible for creating a bridge.- Returns:
this
, for method chaining.- See Also:
Indexed.routingBinder()
-
-