org.babyfish.jimmer.sql.loader.graphql.ValueLoader 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
package org.babyfish.jimmer.sql.loader.graphql;
import org.babyfish.jimmer.lang.NewChain;
import org.babyfish.jimmer.sql.ast.Executable;
import java.sql.Connection;
import java.util.Collection;
import java.util.Map;
public interface ValueLoader {
@NewChain
ValueLoader forConnection(Connection con);
default V load(S source) {
return loadCommand(source).execute();
}
Executable loadCommand(S source);
default Map batchLoad(Collection sources) {
return batchLoadCommand(sources).execute();
}
Executable