Class PojoIdentifierBridgeParseConverter<T>
java.lang.Object
org.hibernate.search.mapper.pojo.bridge.runtime.impl.PojoIdentifierBridgeParseConverter<T>
- All Implemented Interfaces:
ToDocumentValueConverter<String,String>
public final class PojoIdentifierBridgeParseConverter<T>
extends Object
implements ToDocumentValueConverter<String,String>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisCompatibleWith(ToDocumentValueConverter<?, ?> other) toDocumentValue(String value, ToDocumentValueConvertContext context) toString()
-
Constructor Details
-
PojoIdentifierBridgeParseConverter
-
-
Method Details
-
toString
-
toDocumentValue
- Specified by:
toDocumentValuein interfaceToDocumentValueConverter<String,String> - Parameters:
value- The source value to convert to the document model.context- A context that can beextendedto a more useful type, giving access to such things as a Hibernate ORM SessionFactory (if using the Hibernate ORM mapper).- Returns:
- The converted index field value.
-
isCompatibleWith
- Specified by:
isCompatibleWithin interfaceToDocumentValueConverter<String,String> - Parameters:
other- AnotherToDocumentValueConverter, nevernull.- Returns:
trueif the given object behaves exactly the same as this object, i.e. itsToDocumentValueConverter.toDocumentValue(Object, ToDocumentValueConvertContext)method is guaranteed to always return the same value as this object's when given the same input.falseotherwise, or when in doubt.
-