Package org.gridgain.internal.dr.mapping
Class CacheMapping
java.lang.Object
org.gridgain.internal.dr.mapping.CacheMapping
Cache mapping settings.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionCache name.@Nullable StringcolumnName(String fieldName, boolean key) Returns column names that corresponds to the given key/value field, if any.static Map<String,CacheMapping> fromConfig(org.apache.ignite.configuration.NamedListView<? extends org.gridgain.dr.configuration.CacheMappingView> cacheMappingList) CreatesCacheMappingfrom configurations.Returns a set of fields that should ignored during mapping.org.apache.ignite.table.QualifiedNameTable name the cache is mapped to.toString()
-
Method Details
-
cacheName
Cache name. -
tableName
public org.apache.ignite.table.QualifiedName tableName()Table name the cache is mapped to. -
columnName
Returns column names that corresponds to the given key/value field, if any. -
ignoreFields
Returns a set of fields that should ignored during mapping. -
toString
-
fromConfig
public static Map<String,CacheMapping> fromConfig(org.apache.ignite.configuration.NamedListView<? extends org.gridgain.dr.configuration.CacheMappingView> cacheMappingList) CreatesCacheMappingfrom configurations.
-