Interface TypeBindingContext

    • Method Detail

      • bridge

        void bridge​(TypeBridge bridge)
        Sets the bridge implementing the type/index binding.
        Parameters:
        bridge - The bridge to use at runtime to convert between the type and the index field value.
      • bridge

        void bridge​(BeanHolder<? extends TypeBridge> bridgeHolder)
        Sets the bridge implementing the type/index binding.
        Parameters:
        bridgeHolder - A BeanHolder containing the bridge to use at runtime to convert between the type and the index field value. Use BeanHolder.of(Object) if you don't need any particular closing behavior.
      • bridgedElement

        @Incubating
        PojoModelType bridgedElement()
        Returns:
        An entry point allowing to declare expectations and retrieve accessors to the bridged POJO type.
      • typeFactory

        IndexFieldTypeFactory typeFactory()
        Returns:
        An entry point allowing to define a new field type.
      • indexSchemaElement

        IndexSchemaElement indexSchemaElement()
        Returns:
        An entry point allowing to declare expectations and retrieve accessors to the index schema.