Пример #1
0
 /**
  * Myself InScope (SubQuery). {mainly to avoid CLOB and Union problem or no master table}
  *
  * @param subQuery The implementation of sub query. (NotNull)
  */
 public void myselfInScope(SubQuery<RegionCB> subQuery) {
   assertObjectNotNull("subQuery<RegionCB>", subQuery);
   RegionCB cb = new RegionCB();
   cb.xsetupForMyselfInScope(this);
   subQuery.query(cb);
   String subQueryPropertyName = keepMyselfInScope(cb.query()); // for saving query-value.
   registerMyselfInScope(cb.query(), subQueryPropertyName);
 }
Пример #2
0
 protected void xscalarCondition(String function, SubQuery<RegionCB> subQuery, String operand) {
   assertObjectNotNull("subQuery<RegionCB>", subQuery);
   RegionCB cb = new RegionCB();
   cb.xsetupForScalarCondition(this);
   subQuery.query(cb);
   String subQueryPropertyName = keepScalarCondition(cb.query()); // for saving query-value.
   registerScalarCondition(function, cb.query(), subQueryPropertyName, operand);
 }