-
- All Known Implementing Classes:
AnalyticsTypeResolutionProvider
,AvroTypeResolutionProvider
,CoreTypeResolutionProvider
,HadoopTypeResolutionProvider
,HiveTypeResolutionProvider
,MatchingTypeResolutionProvider
,ScriptTypeResolutionProvider
,SimpleTypeResolutionProvider
public interface TypeResolutionProvider
A provider of registered classes. Registered classes are used for JSON serialization and also for resolving script class aliases. Providers must themselves be registered by creating a file META-INF/services/com.pervasive.datarush.json.TypeResolutionProvider that contains an implementation class. Implementations should extendSimpleTypeResolutionProvider
rather than implementing this interface directly.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Class<?>>
registeredClasses()
Returns a list of classes registered with this providercom.fasterxml.jackson.databind.Module
registeredExtensions()
Returns a module defining custom serializers and deserializers registered with this provided.
-
-
-
Method Detail
-
registeredClasses
List<Class<?>> registeredClasses()
Returns a list of classes registered with this provider- Returns:
- a list of classes registered with this provider
-
registeredExtensions
com.fasterxml.jackson.databind.Module registeredExtensions()
Returns a module defining custom serializers and deserializers registered with this provided.null
may be returned, indicating none are registered.- Returns:
- a custom serialization module for this provider
-
-