public interface TypeMappingContext
| Modifier and Type | Method and Description |
|---|---|
TypeMappingContext |
bridge(BeanReference<? extends TypeBridge> bridgeReference) |
TypeMappingContext |
bridge(BridgeBuilder<? extends TypeBridge> builder) |
TypeMappingContext |
bridge(Class<? extends TypeBridge> bridgeClass) |
TypeMappingContext |
indexed()
Maps an entity type to an index.
|
TypeMappingContext |
indexed(String indexName)
Maps an entity type to an index.
|
TypeMappingContext |
indexed(String backendName,
String indexName)
Maps an entity type to an index.
|
PropertyMappingContext |
property(String propertyName)
Starts the definition of the mapping of a specific property.
|
TypeMappingContext |
routingKeyBridge(BeanReference<? extends RoutingKeyBridge> bridgeReference) |
TypeMappingContext |
routingKeyBridge(BridgeBuilder<? extends RoutingKeyBridge> builder) |
TypeMappingContext |
routingKeyBridge(Class<? extends RoutingKeyBridge> bridgeClass) |
TypeMappingContext indexed()
this, for method chaining.IndexedTypeMappingContext indexed(String indexName)
indexName - The name of the index.this, for method chaining.Indexed,
Indexed.index()TypeMappingContext 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()TypeMappingContext routingKeyBridge(Class<? extends RoutingKeyBridge> bridgeClass)
bridgeClass - The class of the bridge to use.this, for method chaining.RoutingKeyBridgeTypeMappingContext 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.RoutingKeyBridgeTypeMappingContext routingKeyBridge(BridgeBuilder<? extends RoutingKeyBridge> builder)
builder - A bridge builder.this, for method chaining.RoutingKeyBridgeTypeMappingContext bridge(Class<? extends TypeBridge> bridgeClass)
bridgeClass - The class of the bridge to use.this, for method chaining.TypeBridgeTypeMappingContext 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.TypeBridgeTypeMappingContext bridge(BridgeBuilder<? extends TypeBridge> builder)
builder - A bridge builder.this, for method chaining.TypeBridgePropertyMappingContext 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.