Module datarush.library
Package com.pervasive.datarush.types
Provides classes and interfaces for the description of token data types.
All data within DataRush is strongly typed. This typing is applied to
tokens and propagates through to
all constructs dealing with tokens, such as
ports. In some cases, type checking
is enforced through Java's own type checking, preventing compilation of
invalid code. However, in other cases, it may not be possible to perform
these checks until composition or execution of the graph, as the data types
of flows may not be known statically (for example, deriving from the schema
of a file whose name is supplied as a runtime parameter).
The token data type descriptors implementing
TokenType
are used in this dynamic type checking.
-
Interface Summary Interface Description Field An element of aRecordTokenType
schema.FieldRemapping A transformation on a record type.GenericTokenType A description of the generic data type, the root of the type hierarchy.ObjectTyped<O> Identifies a class which is associated with Java object data.RecordTokenType A description of a record data type.RecordTyped Identifies a class which is associated with record data.ScalarTokenType A description of a scalar data type.ScalarTyped Identifies a class which is associated with scalar data.TokenType A description of the properties of a token data type.TokenTyped Identifies a class which handles data tokens.TokenTypeDispatcher An object performing (potentially) different processing based on token type. -
Class Summary Class Description EnumeratedValues Deprecated. EnumTokenType Deprecated. Replace with string+domainFieldDomain Contains meta-information about the allowed values, lower, and upper bounds for a given field.FieldRemappings FieldRemappings.Directive A mapping directive to be applied to a source field.ObjectTokenType<O> A description of a scalar data type for a Java class.RecordTokenTypeBuilder An object for dynamically constructing a record type.TokenTypeConstant A collection of constant descriptors and utilities for the supported token types.TokenValueExtractor TypeDispatchedConstructor<T> A base class for type-driven object factories.TypeUtil Various utilities for manipulating token types. -
Exception Summary Exception Description FieldTypeNotSupportedException Unchecked exception thrown to indicate a field in a record schema is of an invalid type for a given context.FieldTypesNotComparableException Unchecked exception thrown when an attempt is made to compare two fields of incompatible types in a record schema.TypeNotSupportedException Unchecked exception thrown to indicate a type is not valid in a given context.TypesNotComparableException Unchecked exception thrown when an attempt is made to compare two typed objects of incompatible types.