org.babyfish.jimmer.sql.cache.chain.SimpleBinder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jimmer-sql Show documentation
Show all versions of jimmer-sql Show documentation
A revolutionary ORM framework for both java and kotlin
The newest version!
package org.babyfish.jimmer.sql.cache.chain;
import java.util.Collection;
import java.util.Collections;
import java.util.Map;
import java.util.SortedMap;
public interface SimpleBinder extends Binder {
Map getAll(Collection keys);
void setAll(Map map);
void deleteAll(Collection keys, Object reason);
interface Parameterized extends SimpleBinder {
default Map getAll(Collection keys) {
return getAll(keys, Collections.emptySortedMap());
}
default void setAll(Map map) {
setAll(map, Collections.emptySortedMap());
}
Map getAll(
Collection keys,
SortedMap parameterMap
);
void setAll(
Map map,
SortedMap parameterMap
);
}
}