Class TablesBridge

  • All Implemented Interfaces:
    org.hibernate.search.bridge.FieldBridge, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationEventPublisherAware

    @Deprecated
    public class TablesBridge
    extends BridgeHelper
    Deprecated.
    Bridge for parsing OMERO.tables attached to container types. The column names are taken as field names on each image (or similar) found within the table. For example, if a table is attached to a plate and has an omero.grid.ImageColumn "IMAGE" along with one omero.grid.DoubleColumn named "SIZE", then a row with IMAGE == 1 and SIZE == 0.02 will add a field "SIZE" to the Image with id 1 so that a Lucene search "SIZE:0.02" will return that object. This is accomplished by detecting such OMERO.tables on the container and registering each row (above: IMAGE == 1, IMAGE == 2, etc) for later processing. When the element objects are handled, the container is found and the appropriate row processed. This two stage processingis necessary so that later indexing does not overwrite the table values.
    Since:
    4.3