Interface DefaultBridgeDefinitionStep<S extends DefaultBridgeDefinitionStep<?,T>,T>
- All Superinterfaces:
DefaultBinderDefinitionStep<S>
public interface DefaultBridgeDefinitionStep<S extends DefaultBridgeDefinitionStep<?,T>,T>
extends DefaultBinderDefinitionStep<S>
-
Method Summary
Modifier and TypeMethodDescriptionidentifierBridge(IdentifierBridge<T> bridge) Use the given bridge by default for properties with a matching type marked as document identifier (e.g. withDocumentId).valueBridge(ValueBridge<T, ?> bridge) Use the given bridge by default for properties with a matching type mapped to an index field directly (e.g. withGenericField,FullTextField, ...).Methods inherited from interface org.hibernate.search.mapper.pojo.bridge.mapping.DefaultBinderDefinitionStep
identifierBinder, valueBinder
-
Method Details
-
identifierBridge
Use the given bridge by default for properties with a matching type marked as document identifier (e.g. withDocumentId).- Parameters:
bridge- The bridge to apply to matching properties by default.- Returns:
this, for method chaining.
-
valueBridge
Use the given bridge by default for properties with a matching type mapped to an index field directly (e.g. withGenericField,FullTextField, ...).- Parameters:
bridge- The bridge to apply to matching properties by default.- Returns:
this, for method chaining.
-