public interface TypeMappingStep
| Modifier and Type | Method and Description |
|---|---|
TypeMappingStep |
binder(TypeBinder<?> binder) |
TypeMappingStep |
bridge(BeanReference<? extends TypeBridge> bridgeReference) |
TypeMappingStep |
bridge(Class<? extends TypeBridge> bridgeClass) |
TypeMappingStep |
indexed()
Maps an entity type to an index.
|
TypeMappingStep |
indexed(String indexName)
Maps an entity type to an index.
|
TypeMappingStep |
indexed(String backendName,
String indexName)
Maps an entity type to an index.
|
PropertyMappingStep |
property(String propertyName)
Starts the definition of the mapping of a specific property.
|
TypeMappingStep |
routingKeyBinder(RoutingKeyBinder<?> binder) |
TypeMappingStep |
routingKeyBridge(BeanReference<? extends RoutingKeyBridge> bridgeReference) |
TypeMappingStep |
routingKeyBridge(Class<? extends RoutingKeyBridge> bridgeClass) |
TypeMappingStep indexed()
this, for method chaining.IndexedTypeMappingStep indexed(String indexName)
indexName - The name of the index.this, for method chaining.Indexed,
Indexed.index()TypeMappingStep indexed(String backendName, String indexName)
backendName - The name of the backend.indexName - The name of the index.this, for method chaining.Indexed,
Indexed.backend(),
Indexed.index()TypeMappingStep routingKeyBridge(Class<? extends RoutingKeyBridge> bridgeClass)
bridgeClass - The class of the bridge to use.this, for method chaining.RoutingKeyBridgeTypeMappingStep routingKeyBridge(BeanReference<? extends RoutingKeyBridge> bridgeReference)
bridgeReference - A BeanReference pointing to the bridge to use.
See the static "ofXXX()" methods of BeanReference for details about the various type of references
(by name, by type, ...).this, for method chaining.RoutingKeyBridgeTypeMappingStep routingKeyBinder(RoutingKeyBinder<?> binder)
binder - A RoutingKeyBinder responsible for creating a bridge.this, for method chaining.RoutingKeyBinderTypeMappingStep bridge(Class<? extends TypeBridge> bridgeClass)
bridgeClass - The class of the bridge to use.this, for method chaining.TypeBridgeTypeMappingStep bridge(BeanReference<? extends TypeBridge> bridgeReference)
bridgeReference - A BeanReference pointing to the bridge to use.
See the static "ofXXX()" methods of BeanReference for details about the various type of references
(by name, by type, ...).this, for method chaining.TypeBridgeTypeMappingStep binder(TypeBinder<?> binder)
binder - A TypeBinder responsible for creating a bridge.this, for method chaining.TypeBinderPropertyMappingStep property(String propertyName)
propertyName - The name of a property in this type.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.