예제 #1
0
 /**
  * For query Select .. from Department d...., This method is called for expression Department d.
  *
  * @param node The node in query tree that corresponds to the experssion.
  * @param schemaName Name of the schema. In above example this is Department. This is return value
  *     of method leaveAbstractSchemaName.
  * @param identVariable Data about identifactionVariable. In above example, this is data about d.
  * @return The data about this variable is added to selectPlan by this method. This method always
  *     return null.
  */
 @Override
 public Object leaveRangeVarDecl(EJBQLAST node, Object schemaName, Object identVariable) {
   selectPlan.addRangeVariable((IdentificationVariableData) identVariable);
   return null;
 }