示例#1
0
 private EPOnDemandQueryResult ExecuteInternal(ContextPartitionSelector[] contextPartitionSelectors)
 {
     try
     {
         EPPreparedQueryResult result = _executeMethod.Execute(contextPartitionSelectors);
         return(new EPQueryResultImpl(result));
     }
     catch (EPStatementException ex)
     {
         throw;
     }
     catch (Exception t)
     {
         String message = "Error executing statement: " + t.Message;
         Log.Error("Error executing on-demand statement '" + _epl + "': " + t.Message, t);
         throw new EPStatementException(message, _epl, t);
     }
 }
示例#2
0
 /// <summary>Ctor. </summary>
 /// <param name="queryResult">is the prepared query</param>
 public EPQueryResultImpl(EPPreparedQueryResult queryResult)
 {
     _queryResult = queryResult;
 }