M2M AD301 Podręcznik Użytkownika Strona 129

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 230
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 128
Data Integration with Sybase Avaki Studio 117
Generator
Generator
A Generator operator produces a result set without input. Like an Iterator, a Gener-
ator lets you specify JavaScript expressions for initializing variables, updating vari-
ables, and testing for termination. Unlike an Iterator, a Generator does not accept
inputs. Like a Projection operator, a Generator allows you to specify the names and
types of the output columns, as well as JavaScript expressions for computing the val-
ues in each row.
When a Generator is first called, it executes the Initialize expression you supply to
initialize variables. On each call, Generator
1. Tests the termination condition
2. If the termination condition has not been met, it generates a row with the designated
schema by executing all of the user-specified JavaScript expressions
3. Executes the Increment expression you supply to update variables.
The output of the Generator is the sequence of rows created in these iterations.
Connections
The Generator operator takes zero input result sets. It produces exactly one output
result set whose schema is defined by the operator.
Required Connection
Przeglądanie stron 128
1 2 ... 124 125 126 127 128 129 130 131 132 133 134 ... 229 230

Komentarze do niniejszej Instrukcji

Brak uwag