Microsoft SQL Server 2008 R2 Dokumentacja Strona 174

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 236
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 173
154 CHAPTER 8 Complex Event Processing with StreamInsight
Another task the adapter must perform is classication of an event. That is, the adapter
must specify the event kind as either INSERT or Current Time Increment (CTI). The adapter
adds events with the INSERT event kind to the stream as it receives data from the source. It
uses the CTI event kind to ignore any additional INSERT events it receives afterward that have
a start time earlier than the timestamp of the CTI event.
Query Templates
Query templates encapsulate the business logic that the CEP server instantiates as a standing
query instance to process, lter, and aggregate event streams. To dene a query template,
you rst create an event stream object. In a standalone server environment, you can create
and register a query template as an object on the CEP server for reuse.
The Event Stream Object
You can create an event stream object from an unbound stream or a user-dened input
adapter factory.
You might want to develop a query template to register on the CEP server without binding
it to an adapter. In this case, you can use the Create() method of the EventStream class to
obtain an event stream that has a dened shape, but without binding information. To do this,
you can adapt the following code:
CepStream<PayloadType> inputStream = CepStream<PayloadType>.Create("inputStream");
If you are using the implicit server development model, you can create an event stream
object from an input adapter factory and an input conguration. With this approach, you
do not need to implement an adapter, but you must specify the event shape. The following
example illustrates the syntax to use:
CEPStream<PayloadType> inputStream =
CepStream<PayloadType>.Create (streamName, typeof(AdapterFactory), myConfig,
EventShape.Point);
The QueryTemplate Object
When you use the explicit server development model for standalone server deployment,
you can create a QueryTemplate object that you can reuse in multiple bindings with differ-
ent input and output adapters. To create a QueryTemplate object, you use code similar to the
following example:
QueryTemplate myQueryTemplate = application.CreateQueryTemplate("myQueryTemplate",
outputStream);
Przeglądanie stron 173
1 2 ... 169 170 171 172 173 174 175 176 177 178 179 ... 235 236

Komentarze do niniejszej Instrukcji

Brak uwag

Yamaha 2014 Stratoliner S manuels

Manuels d'utilisation et guides de l'utilisateur pour Lecteurs de CD Yamaha 2014 Stratoliner S.
Nous fournissons des manuels en pdf Yamaha 2014 Stratoliner S à télécharger gratuitement par type de document :






Plus de produits et de manuels pour Lecteurs de CD Yamaha

Modèles Type de document
CD-S3000 Spécifications   Yamaha CD-S3000, 11 pages
CDX-393 Manuel du propriétaire   Yamaha CDX-393 Owner's manual, 23 pages
CDC-555 Manuel du propriétaire   Yamaha CDC-555 Owner's manual, 24 pages
CDC-665 Manuel du propriétaire   Yamaha CDC-665 Owner's manual, 26 pages
CDC-675 Manuel du propriétaire   Yamaha CDC-675 Owner's manual, 25 pages
501 Manuel de l'utilisateur   A-S701 / A-S501 / A, 7 pages
CD-S300 Manuel du propriétaire       Yamaha CD-S300 Owner`s manual [en] , 108 pages
TSX-112 Manuel du propriétaire       Yamaha TSX-112 Owner`s manual [pl] [ro] [sk] [sk] , 164 pages
CRW4416SX Manuel d'instructions   Yamaha CRW4416SX Programming instructions, 20 pages
CD Recordable/Rewritable Drive CRW-F1-NB Informations techniques   Yamaha CD Recordable/Rewritable Drive CRW-F1-NB Technical information, 35 pages
CDR400t Spécifications   Yamaha CDR400t Specifications, 40 pages
RX-V470 Manuel de l'utilisateur   0.95MB - NRPavs audio video services, 7 pages
CRW2200SX Guide d'installation       Yamaha CRW2200SX Setup guide, 128 pages
CRW4261t-NB Guide de l'utilisateur   Yamaha CRW4261t-NB User guide, 25 pages
CDV-W901 Manuel du propriétaire   Yamaha CDV-W901 Owner's manual, 28 pages
DV-C6860 - DVD Changer Manuel du propriétaire   Yamaha DV-C6860 - DVD Changer Owner`s manual, 42 pages
CDX-470 Manuel du propriétaire   Yamaha CDX-470 Owner's manual, 18 pages
DV-S5550 Manuel du propriétaire   Yamaha DV-S5550 Owner`s manual, 27 pages
CDX-97 Manuel de service    Yamaha CDX-97 Service manual [en] , 30 pages
580 Spécifications   Yamaha 580 Specifications, 38 pages