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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidassertResultSet(ResultSet rs, V expectedObj) protected voidassertValueFromIgnite2(V actualVal, V expected) protected voidassertValueFromIgnite3(V actualVal, V expected) 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.@Nullable Stringprotected org.apache.ignite.table.mapper.Mapper<K>voidtestIgnite2(org.apache.ignite.IgniteCache<K, V> cache, int numGeneratedExamples) voidtestIgnite3(org.apache.ignite.table.Table ignite3Table, int numGeneratedExamples) protected org.apache.ignite.table.mapper.Mapper<V>Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.ignite.migrationtools.tests.e2e.framework.core.ExampleBasedCacheTest
getTableName, supplyExample
-
Constructor Details
-
VeryBasicAbstractCacheTest
-
VeryBasicAbstractCacheTest
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
-
cacheConfiguration
-
testIgnite2
-
testIgnite3
public void testIgnite3(org.apache.ignite.table.Table ignite3Table, int numGeneratedExamples) -
jdbcTests
-
assertValueFromIgnite2
-
assertValueFromIgnite3
-
assertResultSet
- Throws:
SQLException
-
keyMapper
-
valMapper
-