Interface DefaultBridgeDefinitionStep<S extends DefaultBridgeDefinitionStep<?,T>,T>
-
- All Superinterfaces:
DefaultBinderDefinitionStep<S>
public interface DefaultBridgeDefinitionStep<S extends DefaultBridgeDefinitionStep<?,T>,T> extends DefaultBinderDefinitionStep<S>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SidentifierBridge(IdentifierBridge<T> bridge)Use the given bridge by default for properties with a matching type marked as document identifier (e.g.SvalueBridge(ValueBridge<T,?> bridge)Use the given bridge by default for properties with a matching type mapped to an index field directly (e.g.-
Methods inherited from interface org.hibernate.search.mapper.pojo.bridge.mapping.DefaultBinderDefinitionStep
identifierBinder, valueBinder
-
-
-
-
Method Detail
-
identifierBridge
S identifierBridge(IdentifierBridge<T> bridge)
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
S 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, ...).- Parameters:
bridge- The bridge to apply to matching properties by default.- Returns:
this, for method chaining.
-
-