Skip to content

Instantly share code, notes, and snippets.

@moriarty
Created June 2, 2015 12:31
Show Gist options
  • Select an option

  • Save moriarty/dd33dfd57e1a51b020a3 to your computer and use it in GitHub Desktop.

Select an option

Save moriarty/dd33dfd57e1a51b020a3 to your computer and use it in GitHub Desktop.
Colour Sensor Event R increasing
String epStatement = "select * from ColorSensorEvent "
+ " match_recognize ( "
+ " measures A as c1, B as c2 "
+ " pattern (A B) "
+ " define "
+ " A as A.r > 10.0 , "
+ " B as (A.r < B.r) ) ";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment