Class KeyTransformationHandlerIdentifierBridge

java.lang.Object
org.infinispan.query.impl.KeyTransformationHandlerIdentifierBridge
All Implemented Interfaces:
AutoCloseable, org.hibernate.search.mapper.pojo.bridge.IdentifierBridge<Object>

public class KeyTransformationHandlerIdentifierBridge extends Object implements org.hibernate.search.mapper.pojo.bridge.IdentifierBridge<Object>
An IdentifierBridge to map cache keys to the document identifiers.
Author:
Fabio Massimo Ercoli
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.hibernate.search.engine.environment.bean.BeanReference<? extends org.hibernate.search.mapper.pojo.bridge.IdentifierBridge<Object>>
    createReference(org.infinispan.query.backend.KeyTransformationHandler keyTransformationHandler)
     
    fromDocumentIdentifier(String documentIdentifier, org.hibernate.search.mapper.pojo.bridge.runtime.IdentifierBridgeFromDocumentIdentifierContext context)
     
    toDocumentIdentifier(Object propertyValue, org.hibernate.search.mapper.pojo.bridge.runtime.IdentifierBridgeToDocumentIdentifierContext context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hibernate.search.mapper.pojo.bridge.IdentifierBridge

    close, isCompatibleWith
  • Method Details

    • createReference

      public static org.hibernate.search.engine.environment.bean.BeanReference<? extends org.hibernate.search.mapper.pojo.bridge.IdentifierBridge<Object>> createReference(org.infinispan.query.backend.KeyTransformationHandler keyTransformationHandler)
    • toDocumentIdentifier

      public String toDocumentIdentifier(Object propertyValue, org.hibernate.search.mapper.pojo.bridge.runtime.IdentifierBridgeToDocumentIdentifierContext context)
      Specified by:
      toDocumentIdentifier in interface org.hibernate.search.mapper.pojo.bridge.IdentifierBridge<Object>
    • fromDocumentIdentifier

      public Object fromDocumentIdentifier(String documentIdentifier, org.hibernate.search.mapper.pojo.bridge.runtime.IdentifierBridgeFromDocumentIdentifierContext context)
      Specified by:
      fromDocumentIdentifier in interface org.hibernate.search.mapper.pojo.bridge.IdentifierBridge<Object>