コード例 #1
0
 public String toSolutionModifierSQL() throws Exception {
   if (q.isSelectQuery() || q.isConstructQuery()) {
     return processSolutionModifierForSelectConstruct();
   } else if (q.isDescribeQuery()) {
     return processSolutionModifierForDescribe();
   }
   return null;
 }
コード例 #2
0
 public String toTopQuerySQL(Set<Variable> explicitIRIBoundVariables) throws Exception {
   if (q.isSelectQuery()) {
     return processTopQueryForSelectDescribeConstruct(explicitIRIBoundVariables);
   } else if (q.isAskQuery()) {
     return processAskQuery();
   } else if (q.isDescribeQuery()) {
     return processTopQueryForSelectDescribeConstruct(explicitIRIBoundVariables);
   } else if (q.isConstructQuery()) {
     return processTopQueryForSelectDescribeConstruct(explicitIRIBoundVariables);
   }
   return null;
 }