Uses of Enum Class
com.streambase.sb.DataType
Package
Description
Provides classes to configure table options.
Provides classes and interfaces fundamental to the Streaming Java API.
Provides classes and interfaces used to author Streaming Unit tests.
-
Uses of DataType in com.streambase.liveview.client.dynamictables
-
Uses of DataType in com.streambase.sb
Modifier and TypeFieldDescriptionstatic final DataType[]
DataType.SIMPLE_TYPES
The types that have no parameterization, just values.protected final DataType
CompleteDataType.type
Wrapped data typeModifier and TypeMethodDescriptionstatic DataType
For the given name return a DataType Object.static final DataType
Return the appropriate DataType for the given clazz.static DataType
Return the appropriate DataType for the given type.CompleteDataType.getDataType()
Return the data type of the complete typeSchema.Field.getDataType()
Return the DataType of the Fieldabstract DataType
Schema.ValidateFieldList.getFieldType
(T field) Get field typeDataType[]
Schema.getFieldTypes()
A utility function to speed up multiple accesses to field types of a schema in contexts where multiple tuples are processed; the function should be called outside of for loops processing tuples and their fieldsTupleRep.TupleLayout.getVarDataType
(int i) Get variable data type at indexstatic DataType
Returns the enum constant of this class with the specified name.static DataType[]
DataType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic final Collection<DataType>
DataType.allTypes()
Deprecated.use DataType.values()DataType.Registry.factories()
return all of the factoriesModifier and TypeMethodDescriptionstatic CompleteDataType
Build a random complete data typevoid
Check typesvoid
Deprecated.protected void
Tuple.checkType
(Schema.Field resolvedField, DataType dataType) Check typeprotected int
ReadOnlyTupleRep.checkTypeAndNonNull
(Schema.Field resolvedField, DataType dataType) override checkTypeAndNonNullprotected int
Tuple.checkTypeAndNonNull
(Schema.Field resolvedField, DataType dataType) check the type and make sure it is non nullstatic Schema.Field
Schema.createField
(DataType type, String name) Creates a new Field of the given DataType, with the given name.T
DataType.Registry.get
(DataType type) Return the factory for the specified DataType.void
DataType.Registry.register
(DataType type, T factory) Register the specified factory associated with the specified DataType.static String
SchemaUtil.toHumanString
(DataType type) Get human string for data typeModifier and TypeMethodDescriptionvoid
DataType.Checklist.check
(Collection<DataType> types) Check typesvoid
DataType.Registry.register
(Collection<DataType> types, T factory) Convenience method to register the same factory with multiple data types.void
Register the specified factories with the specifiedDataType
s.ModifierConstructorDescriptionprotected
CompleteDataType
(DataType type) ConstructorDeprecated.UseSchema.createField(DataType, String)
insteadDeprecated.UseField(String, CompleteDataType)
instead with new Schema(name, CompleteDataType.forTuple(s)), orSchema.createTupleField(String, Schema)
Registry
(T defaultFactory, DataType... defaultTypes) Create a registry initialized with a default factory for the specified set of types -
Uses of DataType in com.streambase.sb.unittest
Modifier and TypeFieldDescriptionstatic final Map<DataType,
FieldBasedTupleComparator.CompareFunctor> FieldBasedTupleComparator.DEFAULT_FUNCTOR_MAP
Default functor data type to functor map