Class AbstractConfiguredExtraPropertiesJsonAdapterFactory
java.lang.Object
org.hibernate.search.backend.elasticsearch.gson.impl.AbstractConfiguredExtraPropertiesJsonAdapterFactory
- All Implemented Interfaces:
com.google.gson.TypeAdapterFactory
- Direct Known Subclasses:
AnalysisDefinitionJsonAdapterFactory,AnalysisJsonAdapterFactory,DynamicTemplateJsonAdapterFactory,ElasticsearchDenseVectorIndexOptionsJsonAdapterFactory,IndexAliasDefinitionJsonAdapterFactory,IndexSettingsJsonAdapterFactory,OpenSearchVectorTypeMethodJsonAdapterFactory,OpenSearchVectorTypeMethodJsonAdapterFactory.ParametersJsonAdapterFactory,PropertyMappingJsonAdapterFactory,RootTypeMappingJsonAdapterFactory
public abstract class AbstractConfiguredExtraPropertiesJsonAdapterFactory
extends Object
implements com.google.gson.TypeAdapterFactory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract <T> voidfinal <T> com.google.gson.TypeAdapter<T>create(com.google.gson.Gson gson, com.google.gson.reflect.TypeToken<T> type)
-
Constructor Details
-
AbstractConfiguredExtraPropertiesJsonAdapterFactory
public AbstractConfiguredExtraPropertiesJsonAdapterFactory()
-
-
Method Details
-
create
public final <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson, com.google.gson.reflect.TypeToken<T> type) - Specified by:
createin interfacecom.google.gson.TypeAdapterFactory
-
addFields
protected abstract <T> void addFields(AbstractConfiguredExtraPropertiesJsonAdapterFactory.Builder<T> builder)
-