com.github.jayield.rapper.mapper.externals.PopulateWithExternalTable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rapper Show documentation
Show all versions of rapper Show documentation
Async DataMapper for JDBC
package com.github.jayield.rapper.mapper.externals;
import com.github.jayield.rapper.DomainObject;
import com.github.jayield.rapper.exceptions.DataMapperException;
import com.github.jayield.rapper.mapper.MapperSettings;
import com.github.jayield.rapper.sql.SqlFieldExternal;
import com.github.jayield.rapper.utils.SqlUtils;
import com.github.jayield.rapper.unitofwork.UnitOfWork;
import com.github.jayield.rapper.utils.*;
import com.github.jayield.rapper.mapper.MapperRegistry.Container;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.List;
import java.util.concurrent.CompletableFuture;
import java.util.function.Function;
import java.util.function.Supplier;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import static com.github.jayield.rapper.mapper.MapperRegistry.getMapper;
public class PopulateWithExternalTable, K> extends AbstractPopulate {
private final Logger logger = LoggerFactory.getLogger(PopulateWithExternalTable.class);
public PopulateWithExternalTable(ExternalsHandler externalsHandler, MapperSettings mapperSettings) {
super(externalsHandler, mapperSettings);
}
@Override
public Stream