filterqueryplan.java
来自「hibernate-3.1.3-all-src.zip 面向对象的访问数据库工」· Java 代码 · 共 32 行
JAVA
32 行
package org.hibernate.engine.query;
import org.hibernate.engine.SessionFactoryImplementor;
import java.io.Serializable;
import java.util.Map;
/**
* Extends an HQLQueryPlan to maintain a reference to the collection-role name
* being filtered.
*
* @author <a href="mailto:steve@hibernate.org">Steve Ebersole </a>
*/
public class FilterQueryPlan extends HQLQueryPlan implements Serializable {
private final String collectionRole;
public FilterQueryPlan(
String hql,
String collectionRole,
boolean shallow,
Map enabledFilters,
SessionFactoryImplementor factory) {
super( hql, collectionRole, shallow, enabledFilters, factory );
this.collectionRole = collectionRole;
}
public String getCollectionRole() {
return collectionRole;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?