Interface DefaultBridgeDefinitionStep<S extends DefaultBridgeDefinitionStep<?,T>,T>

All Superinterfaces:
DefaultBinderDefinitionStep<S>

public interface DefaultBridgeDefinitionStep<S extends DefaultBridgeDefinitionStep<?,T>,T> extends DefaultBinderDefinitionStep<S>
  • Method Details

    • identifierBridge

      S identifierBridge(IdentifierBridge<T> bridge)
      Use the given bridge by default for properties with a matching type marked as document identifier (e.g. with DocumentId).
      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. with GenericField, FullTextField, ...).
      Parameters:
      bridge - The bridge to apply to matching properties by default.
      Returns:
      this, for method chaining.