All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebeaninternal.server.query.SqlTreeRoot Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebeaninternal.server.query;

import io.ebean.Version;
import io.ebean.bean.EntityBean;
import io.ebean.core.type.ScalarDataReader;
import io.ebeaninternal.server.deploy.DbReadContext;

import java.sql.SQLException;

/**
 * The root level node of the SqlTree.
 */
interface SqlTreeRoot {

  /**
   * Load the bean from the DbReadContext.
   * 

* At a high level this actually controls the reading of the data from the * jdbc resultSet and putting it into the bean etc. *

*/ EntityBean load(DbReadContext ctx) throws SQLException; /** * Load a version of a @History bean with effective dates. */ Version loadVersion(DbReadContext ctx) throws SQLException; /** * Return a Scalar single attribute reader based on the first property. */ ScalarDataReader singleAttributeReader(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy