Class VeryBasicAbstractCacheTest<K,V>

java.lang.Object
org.apache.ignite.migrationtools.tests.e2e.impl.VeryBasicAbstractCacheTest<K,V>
All Implemented Interfaces:
org.apache.ignite.migrationtools.tests.e2e.framework.core.ExampleBasedCacheTest<K,V>
Direct Known Subclasses:
IntArrayCachesTest.ListTest, IntArrayCachesTest.PrimitiveTest, MyBinaryKeyValueCacheTest.MyBinaryOrganizationCache, MyBinaryKeyValueCacheTest.MyBinaryPersonPojoCache, MyBinaryKeyValueCacheTest.MyBinaryTestCache, MyOrganizationsCacheTest, MySimpleMapCacheTest, PersonCacheTest

public abstract class VeryBasicAbstractCacheTest<K,V> extends Object implements org.apache.ignite.migrationtools.tests.e2e.framework.core.ExampleBasedCacheTest<K,V>
VeryBasicAbstractCacheTest.
  • Constructor Details

    • VeryBasicAbstractCacheTest

      public VeryBasicAbstractCacheTest(Class<K> keyClass, Class<V> valueClass)
    • VeryBasicAbstractCacheTest

      public VeryBasicAbstractCacheTest(Class<K> keyClass, Class<V> valueClass, String keyColumnName)
      Constructor.
  • Method Details

    • createCacheConfiguration

      public static <K, V> org.apache.ignite.configuration.CacheConfiguration<K,V> createCacheConfiguration(String name, Class<K> keyType, Class<V> valType)
      Creates the cache configuration for this test.
    • getSchemaName

      @Nullable public @Nullable String getSchemaName()
      Specified by:
      getSchemaName in interface org.apache.ignite.migrationtools.tests.e2e.framework.core.ExampleBasedCacheTest<K,V>
    • cacheConfiguration

      public org.apache.ignite.configuration.CacheConfiguration<K,V> cacheConfiguration()
      Specified by:
      cacheConfiguration in interface org.apache.ignite.migrationtools.tests.e2e.framework.core.ExampleBasedCacheTest<K,V>
    • testIgnite2

      public void testIgnite2(org.apache.ignite.IgniteCache<K,V> cache, int numGeneratedExamples)
      Specified by:
      testIgnite2 in interface org.apache.ignite.migrationtools.tests.e2e.framework.core.ExampleBasedCacheTest<K,V>
    • testIgnite3

      public void testIgnite3(org.apache.ignite.table.Table ignite3Table, int numGeneratedExamples)
      Specified by:
      testIgnite3 in interface org.apache.ignite.migrationtools.tests.e2e.framework.core.ExampleBasedCacheTest<K,V>
    • jdbcTests

      public Map<String,org.apache.ignite.migrationtools.tests.e2e.framework.core.SqlTest> jdbcTests()
      Specified by:
      jdbcTests in interface org.apache.ignite.migrationtools.tests.e2e.framework.core.ExampleBasedCacheTest<K,V>
    • assertValueFromIgnite2

      protected void assertValueFromIgnite2(V actualVal, V expected)
    • assertValueFromIgnite3

      protected void assertValueFromIgnite3(V actualVal, V expected)
    • assertResultSet

      protected void assertResultSet(ResultSet rs, V expectedObj) throws SQLException
      Throws:
      SQLException
    • keyMapper

      protected org.apache.ignite.table.mapper.Mapper<K> keyMapper()
    • valMapper

      protected org.apache.ignite.table.mapper.Mapper<V> valMapper()