- Index

< Previous |  | Next >

# Using Schemas

StreamBase uses schemas to define permissible fields and data types for streams and tables. The schema defines the number of fields allowed in a tuple or table, and for each field, the schema defines the field name and its StreamBase data type.

Every tuple processed by a StreamBase application and every Query Table row has a schema, even if that schema has no fields. When tuples flow downstream from one component to the next, the schema of earlier components is automatically passed to the next downstream component. There is no need to explicitly redefine the schema from one component to the next.