Class CacheMapping

java.lang.Object
org.gridgain.internal.dr.mapping.CacheMapping

public final class CacheMapping extends Object
Cache mapping settings.
  • Method Details

    • cacheName

      public String cacheName()
      Cache name.
    • tableName

      public org.apache.ignite.table.QualifiedName tableName()
      Table name the cache is mapped to.
    • columnName

      @Nullable public @Nullable String columnName(String fieldName, boolean key)
      Returns column names that corresponds to the given key/value field, if any.
    • ignoreFields

      public Set<String> ignoreFields()
      Returns a set of fields that should ignored during mapping.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • fromConfig

      public static Map<String,CacheMapping> fromConfig(org.apache.ignite.configuration.NamedListView<? extends org.gridgain.dr.configuration.CacheMappingView> cacheMappingList)
      Creates CacheMapping from configurations.