Package org.gridgain.dr.configuration
Class CacheMappingConfigurationSchema
java.lang.Object
org.gridgain.dr.configuration.CacheMappingConfigurationSchema
Configuration schema for cache to table mapping.
-
Field Summary
FieldsModifier and TypeFieldDescriptionCache fields to table columns mapping.Cache key fields to table columns mapping.Cache name to table name mapping.Specifies the fully qualified factory class to createEntryTransformerto use to convert GridGain 8 entries to GridGain 9.Cache value fields to table columns mapping. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
table
Cache name to table name mapping. -
fields
Cache fields to table columns mapping.Note: this configuration option conflicts with
keyFields + valueFieldsandtransformerFactoryClassName. -
keyFields
Cache key fields to table columns mapping.Note: this configuration option conflicts with
fieldsandtransformerFactoryClassName. -
valueFields
Cache value fields to table columns mapping.Note: this configuration option conflicts with
fieldsandtransformerFactoryClassName. -
transformerFactoryClassName
Specifies the fully qualified factory class to createEntryTransformerto use to convert GridGain 8 entries to GridGain 9.The class provided should be
publicand should contain method with signaturepublic static EntryTransformer create(). Here is an example:// Part of configuration: dr-service-config.cacheMapping.transformerFactoryClassName = "my.company.transformer.MyEntryTransformerFactory" // Factory implementation package my.company.transformer; public class MyEntryTransformerFactory { public static EntryTransformer create() { // Code of transformer creation } }Note: this configuration option conflicts with
fieldsandkeyFields + valueFields.
-
-
Constructor Details
-
CacheMappingConfigurationSchema
public CacheMappingConfigurationSchema()
-