Aleri PDF Print E-mail

 

Is represented with the CCL language, originally with Coral8 which was acquired by Aleri. The language is SQL extension and belongs to the stream based language. The following example shows CCL query, this looks like SQL but has some additional clauses such as: STREAM and KEEP.

CREATE STREAM AutoDeliveryBid ;
INSERT INTO AutoDeliveryBid
SELECT CB.*,
  DS.RequestID AS DSRequestID,
  DS.DeliveryLatitude AS DeliveryLatitude,
  DS.DeliveryLongitude AS DeliveryLongitude,
  DS.RequiredPickUpTime AS RequiredPickUpTime,
  DS.RequiredDeliveryTime AS RequiredDeliveryTime,
  DS.Store AS DSStore
FROM DeliverySelection AS DS LEFT OUTER JOIN CurrentBids AS CB
ON DS.RequestID = CB.RequestID
WHERE DS.Automatic
ORDER BY Ts PER CB.RequestID  
LIMIT 1 ROWS PER CB.RequestID;
// If no bids, send an alert
INSERT INTO Alerts
SELECT DSStore, NULL, DSRequestID, "No auto bids for " + TO_STRING(DSRequestID)
FROM AutoDeliveryBid
WHERE RequestID IS NULL;
INSERT INTO Assignment
SELECT
  RequestID,
  Store,
  Driver,
  DeliveryLatitude,
  DeliveryLongitude,
  RequiredPickUpTime ,
  RequiredDeliveryTime
FROM AutoDeliveryBid
WHERE RequestID IS NOT NULL;

This link will allow you to download studio and server. Registration is required. You should also download Coral8 Engine Release and solution for FFD.

 
Next >

Latest News

Deadline Extensions Announced

The Event Processing Technical Society in conjunction with the OMG Event Processing Community of Practice is sponsoring two competitions:An Innovative Event Processing Principles Contest. The contest ...
Read More ...

ACM DEBS 2011 Call for Tutorials

               Extended Deadline March 14, 2011 (23.59 GMT) The ACM DEBS (Distributed Event Based System) is the flagship conference of the event-based systems...
Read More ...

EPTS Presents Innovative Application Contest

  Event Processing Technical Society (EPTS) Presents Innovative Event Processing Application Contest   The Event Processing Technical Society in collaboration with the OMG Event Processing...
Read More ...

EPTS Presents Innovative Principles Contest

  Event Processing Technical Society (EPTS) Presents 2010 Innovative Event Processing Principles Contest   The Event Processing Technical Society is sponsoring an Innovative Event Processi...
Read More ...

New Paper: Integrating Complex Events for Collaborating and Dynamically Changing Business Processes

Integrating Complex Events for Collaborating and Dynamically Changing Business Processes Abstract: Business processes must become agile, respond to changes in the business environment in a timely ma...
Read More ...

Upcoming EPTS Related Events

Links

Link to us

RocketTheme Joomla Templates