13. An apparatus comprising: a processor; a memory unit that stores instructions associated with an application executable by the processor; and an interconnect coupling the processor and the memory unit, enabling the apparatus to execute the application and perform a method comprising: representing a CQL table as a SQL table; representing a CQL stream as a SQL table; representing a CQL relation as a SQL table; translating a CQL operator into at least one SQL statement, wherein the translating is implemented using only SQL code, wherein input to the CQL operator comprises a CQL table, a CQL stream, or a CQL relation, wherein the CQL operator produces output comprising a CQL table, a CQL stream, or a CQL relation, wherein the at least one SQL statement operates on at least one SQL table representing the input to the CQL operator; and wherein the at least one SQL statement produces at least on SQL table representing the output of the CQL operator; and wherein representing a CQL relation comprises: representing a CQL relation R having a schema K and a time-domain TD as a CQL table T according to the formula T = ⋃ L ≥ t ≥ 0 ⁢ T t , where L is a limit of time, T t is a CQL table having a schema K 2 equal to K×{+, −}×{t} and a defining function f where f ≡ { T 0 = R ⁡ ( 0 ) × { + } × { 0 } T t = ( ( R ⁡ ( t ) - R ⁡ ( t - 1 ) ) × { + } × { t } ) ⋃ ( ( R ⁡ ( t - 1 ) - R ⁡ ( t ) ) × { - } × { t } ) ; and representing the CQL table T having the schema K 2 and defining function f as a SQL table, wherein the SQL table contains f(s) rows of s for any s that is an element of K 2 .
13. An apparatus comprising: a processor; a memory unit that stores instructions associated with an application executable by the processor; and an interconnect coupling the processor and the memory unit, enabling the apparatus to execute the application and perform a method comprising: representing a CQL table as a SQL table; representing a CQL stream as a SQL table; representing a CQL relation as a SQL table; translating a CQL operator into at least one SQL statement, wherein the translating is implemented using only SQL code, wherein input to the CQL operator comprises a CQL table, a CQL stream, or a CQL relation, wherein the CQL operator produces output comprising a CQL table, a CQL stream, or a CQL relation, wherein the at least one SQL statement operates on at least one SQL table representing the input to the CQL operator; and wherein the at least one SQL statement produces at least on SQL table representing the output of the CQL operator; and wherein representing a CQL relation comprises: representing a CQL relation R having a schema K and a time-domain TD as a CQL table T according to the formula T = ⋃ L ≥ t ≥ 0 ⁢ T t , where L is a limit of time, T t is a CQL table having a schema K 2 equal to K×{+, −}×{t} and a defining function f where f ≡ { T 0 = R ⁡ ( 0 ) × { + } × { 0 } T t = ( ( R ⁡ ( t ) - R ⁡ ( t - 1 ) ) × { + } × { t } ) ⋃ ( ( R ⁡ ( t - 1 ) - R ⁡ ( t ) ) × { - } × { t } ) ; and representing the CQL table T having the schema K 2 and defining function f as a SQL table, wherein the SQL table contains f(s) rows of s for any s that is an element of K 2 . 17. The apparatus of claim 13 , wherein representing a CQL table comprises: representing a CQL table as a SQL table, the CQL table having a schema K and a defining function f, the SQL table having schema K and defining function f, and the SQL table containing f(s) rows of s for any s that is an element of K.