-  Continuous query:
 
 
  -  A continuous query is
      started at the
      inception of
      of input stream (i.e., when the input data is first received)
  
   -  Data flows continuously
     through the processing pipeline in a
     continuous query
 
   -  There is no need to
     store any tuple
     once they are processed.
  
  
   -  View:
 
 
  -  The output of a
     view query is
     materialized
     (i.e., stored)
     temporally.
 
   -  Applications can
      occassionally connect
      to a view query output
      to examine the output.
  
 
  
   -  Ad-hoc Query:
 
 
  -  An 
     Ad-Hoc query can be
     started
     after the inception
     of the input streams
  
    I.e., an ad-hoc query can be started while the
    input data has been coming in for some time.
  
   -  An Ad-Hoc query can
      only be attached to a 
      connection point
      (see below)
  
     A connection point will
     buffer some amount of data
     (e.g., from the last T seconds
     )
  
   -  An Ad-Hoc query  is
      a continuous query,
      but operating on input data starting from time
       tnow - T
 
      (The starting time is a little earlier because
      the connection point 
      buffers
      T seconds of data)
   
    
 |