io.ebeaninternal.server.query.SqlTreePlan Maven / Gradle / Ivy
package io.ebeaninternal.server.query;
import java.util.Set;
final class SqlTreePlan {
private final SqlTreeLoad rootNode;
private final STreePropertyAssocMany manyProperty;
private final STreeProperty[] encryptedProps;
private final Set dependentTables;
SqlTreePlan(SqlTreeLoad rootNode, STreePropertyAssocMany manyProperty, STreeProperty[] encryptedProps, Set dependentTables) {
this.rootNode = rootNode;
this.manyProperty = manyProperty;
this.encryptedProps = encryptedProps;
this.dependentTables = dependentTables;
}
SqlTreeRoot rootNode() {
return (SqlTreeRoot)rootNode;
}
/**
* Return the property that is associated with the many. There can only be one
* per SqlSelect. This can be null.
*/
STreePropertyAssocMany manyProperty() {
return manyProperty;
}
STreeProperty[] encryptedProps() {
return encryptedProps;
}
/**
* Return the tables that are joined in this query.
*/
Set dependentTables() {
return dependentTables;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy