|
StreamBase C++ API
10.6.3.4
|
A type of entity in a StreamBase catalog. More...
#include <StreamBaseEntityType.hpp>
Public Types | |
| enum | Type { STREAM = 1, SCHEMA = 2, OPERATOR = 3, WINDOW_SPEC = 4, CONTAINER = 5, TABLE = 6, INPUT_STREAMS = 100, OUTPUT_STREAMS = 101 } |
| An enumeration of the types of entities stored in a catalog. More... | |
Static Public Member Functions | |
| static std::string | as_string (Type aType) |
| Return a string naming the entity type. More... | |
| static Type | as_enum (const std::string &aType, bool allow_plural=false) |
| Parse a string as an entity type. More... | |
A type of entity in a StreamBase catalog.
An enumeration of the types of entities stored in a catalog.
|
static |
Parse a string as an entity type.
| aType | the string to parse |
| allow_plural | true if a plural version of the entity types (e.g., "streams" instead of "stream") is allowed |
| StreamBaseException | if the entity type cannot be parsed |
|
static |
Return a string naming the entity type.