Class JsonBridge

java.lang.Object
com.axelor.search.impl.bridge.JsonBridge
All Implemented Interfaces:
AutoCloseable, org.hibernate.search.mapper.pojo.bridge.PropertyBridge<String>

public class JsonBridge extends Object implements org.hibernate.search.mapper.pojo.bridge.PropertyBridge<String>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    JsonBridge(org.hibernate.search.engine.backend.document.IndexFieldReference<com.google.gson.JsonElement> field)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    write(org.hibernate.search.engine.backend.document.DocumentElement target, String bridgedElement, org.hibernate.search.mapper.pojo.bridge.runtime.PropertyBridgeWriteContext 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.PropertyBridge

    close
  • Constructor Details

    • JsonBridge

      public JsonBridge(org.hibernate.search.engine.backend.document.IndexFieldReference<com.google.gson.JsonElement> field)
  • Method Details

    • write

      public void write(org.hibernate.search.engine.backend.document.DocumentElement target, String bridgedElement, org.hibernate.search.mapper.pojo.bridge.runtime.PropertyBridgeWriteContext context)
      Specified by:
      write in interface org.hibernate.search.mapper.pojo.bridge.PropertyBridge<String>