Interface TypeBindingContext
-
- All Superinterfaces:
BindingContext
public interface TypeBindingContext extends BindingContext
The context provided to theTypeBinder.bind(TypeBindingContext)method.
-
-
Method Summary
-
Methods inherited from interface org.hibernate.search.mapper.pojo.bridge.binding.BindingContext
beanResolver, getBeanResolver
-
-
-
-
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.
-
setBridge
@Deprecated default void setBridge(TypeBridge bridge)
Deprecated.Usebridge(TypeBridge)instead.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- ABeanHoldercontaining the bridge to use at runtime to convert between the type and the index field value. UseBeanHolder.of(Object)if you don't need any particular closing behavior.
-
setBridge
@Deprecated default void setBridge(BeanHolder<? extends TypeBridge> bridgeHolder)
Deprecated.Usebridge(BeanHolder)instead.Sets the bridge implementing the type/index binding.- Parameters:
bridgeHolder- ABeanHoldercontaining the bridge to use at runtime to convert between the type and the index field value. UseBeanHolder.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.
-
getBridgedElement
@Deprecated default PojoModelType getBridgedElement()
Deprecated.UsebridgedElement()instead.- Returns:
- An entry point allowing to declare expectations and retrieve accessors to the bridged POJO type.
-
dependencies
PojoTypeIndexingDependencyConfigurationContext dependencies()
- Returns:
- An entry point allowing to declare the parts of the entity graph that this bridge will depend on.
-
getDependencies
@Deprecated default PojoTypeIndexingDependencyConfigurationContext getDependencies()
Deprecated.Usedependencies()instead.- Returns:
- An entry point allowing to declare the parts of the entity graph that this bridge will depend on.
-
typeFactory
IndexFieldTypeFactory typeFactory()
- Returns:
- An entry point allowing to define a new field type.
-
getTypeFactory
@Deprecated default IndexFieldTypeFactory getTypeFactory()
Deprecated.UsetypeFactory()instead.- 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.
-
getIndexSchemaElement
@Deprecated default IndexSchemaElement getIndexSchemaElement()
Deprecated.UseindexSchemaElement()instead.- Returns:
- An entry point allowing to declare expectations and retrieve accessors to the index schema.
-
-