org.hibernate.search.annotations

## Annotation Type FieldBridge

-     @Retention(value=RUNTIME)
       @Target(value={FIELD,METHOD})
       @Documented
      public @interface FieldBridge

  Specifies a custom field bridge implementation
  Author:
    Emmanuel Bernard

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `Class<?>` | `impl` The implementation class to instantiate.
    `Parameter[]` | `params` Parameters to be passed to the bridge instance, if it implements `ParameterizedBridge`.

- - ### Element Detail

    - #### impl

          public abstract Class<?> impl

      The implementation class to instantiate.

      The given class must implement either `FieldBridge` or `StringBridge`.

      Additionally, the given class may implement more advanced interfaces, such as for instance `TwoWayFieldBridge`, `TwoWayStringBridge`, `MetadataProvidingFieldBridge`, `IgnoreAnalyzerBridge`, `AppliedOnTypeAwareBridge` or `ParameterizedBridge`.

      Default:
        void.class

  - - #### params

          public abstract Parameter[] params

      Parameters to be passed to the bridge instance, if it implements `ParameterizedBridge`.
      Default:
        {}

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved