@Test public void testPutGetH() { Table<Integer, Integer> table = ezdb.getTable("test-simple", IntegerSerde.get, IntegerSerde.get); table.put(1, 1); assertEquals(new Integer(1), table.get(1)); table.put(1, 2); assertEquals(new Integer(2), table.get(1)); table.close(); }
@Override public <H, V> Table<H, V> getTable(String tableName, Serde<H> hashKeySerde, Serde<V> valueSerde) { return getTable(tableName, hashKeySerde, ByteSerde.get, valueSerde); }
EzObjectTreeMapDb implements Db<Object> { @Override public <H, V> Table<H, V> getTable(String tableName, Serde<H> hashKeySerde, Serde<V> valueSerde) { return getTable(tableName, hashKeySerde, ByteSerde.get, valueSerde); } }
EzObjectTreeMapDb implements Db<Object> { @Override public <H, V> Table<H, V> getTable(String tableName, Serde<H> hashKeySerde, Serde<V> valueSerde) { return getTable(tableName, hashKeySerde, ByteSerde.get, valueSerde); } EzObjectTreeMapDb(); }
EzObjectTreeMapDb implements Db<Object> { @Override public <H, V> Table<H, V> getTable(String tableName, Serde<H> hashKeySerde, Serde<V> valueSerde) { return getTable(tableName, hashKeySerde, ByteSerde.get, valueSerde); } EzObjectTreeMapDb(); @Override void deleteTable(String tableName); @Override Table<H, V> getTable(String tableName, Serde<H> hashKeySerde, Serde<V> valueSerde); @Override RangeTable<H, R, V> getTable(String tableName, Serde<H> hashKeySerde, Serde<R> rangeKeySerde,
			Serde<V> valueSerde); @SuppressWarnings("unchecked") @Override RangeTable<H, R, V> getTable(String tableName, Serde<H> hashKeySerde, Serde<R> rangeKeySerde,
			Serde<V> valueSerde, Comparator<Object> hashKeyComparator, Comparator<Object> rangeKeyComparator); }
EzObjectTreeMapDb implements Db<Object> { @Override public <H, V> Table<H, V> getTable(String tableName, Serde<H> hashKeySerde, Serde<V> valueSerde) { return getTable(tableName, hashKeySerde, ByteSerde.get, valueSerde); } EzObjectTreeMapDb(); @Override void deleteTable(String tableName); @Override Table<H, V> getTable(String tableName, Serde<H> hashKeySerde, Serde<V> valueSerde); @Override RangeTable<H, R, V> getTable(String tableName, Serde<H> hashKeySerde, Serde<R> rangeKeySerde,
			Serde<V> valueSerde); @SuppressWarnings("unchecked") @Override RangeTable<H, R, V> getTable(String tableName, Serde<H> hashKeySerde, Serde<R> rangeKeySerde,
			Serde<V> valueSerde, Comparator<Object> hashKeyComparator, Comparator<Object> rangeKeyComparator);  }