io.ebeaninternal.server.dto.DtoQueryPlanConstructor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebean Show documentation
Show all versions of ebean Show documentation
composite of common runtime dependencies for all platforms
package io.ebeaninternal.server.dto;
import io.ebeaninternal.server.type.DataReader;
import java.sql.SQLException;
/**
* Plan based on mapping via single constructor only.
*/
class DtoQueryPlanConstructor extends DtoQueryPlanBase {
private final DtoMetaConstructor constructor;
DtoQueryPlanConstructor(DtoMappingRequest request, DtoMetaConstructor constructor) {
super(request);
this.constructor = constructor;
}
@Override
public Object readRow(DataReader dataReader) throws SQLException {
return constructor.process(dataReader);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy