コード例 #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<ServiceRankCB> subQuery) {
   assertObjectNotNull("subQuery<ServiceRankCB>", subQuery);
   ServiceRankCB cb = new ServiceRankCB();
   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<ServiceRankCB> subQuery, String operand) {
   assertObjectNotNull("subQuery<ServiceRankCB>", subQuery);
   ServiceRankCB cb = new ServiceRankCB();
   cb.xsetupForScalarCondition(this);
   subQuery.query(cb);
   String subQueryPropertyName = keepScalarCondition(cb.query()); // for saving query-value.
   registerScalarCondition(function, cb.query(), subQueryPropertyName, operand);
 }