Uses of Enum Class
com.streambase.sb.DataType
Packages that use 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
Methods in com.streambase.liveview.client.dynamictables that return DataTypeMethods in com.streambase.liveview.client.dynamictables with parameters of type DataTypeConstructors in com.streambase.liveview.client.dynamictables with parameters of type DataType -
Uses of DataType in com.streambase.sb
Fields in com.streambase.sb declared as DataTypeModifier and TypeFieldDescriptionstatic final DataType[]
DataType.SIMPLE_TYPES
The types that have no parameterization, just values.protected final DataType
CompleteDataType.type
Wrapped data typeMethods in com.streambase.sb that return DataTypeModifier 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.Methods in com.streambase.sb that return types with arguments of type DataTypeModifier and TypeMethodDescriptionstatic final Collection<DataType>
DataType.allTypes()
Deprecated.use DataType.values()DataType.Registry.factories()
return all of the factoriesMethods in com.streambase.sb with parameters of type DataTypeModifier 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 typeMethod parameters in com.streambase.sb with type arguments of type DataTypeModifier 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.Constructors in com.streambase.sb with parameters of type DataTypeModifierConstructorDescriptionprotected
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 typesConstructor parameters in com.streambase.sb with type arguments of type DataType -
Uses of DataType in com.streambase.sb.unittest
Fields in com.streambase.sb.unittest with type parameters of type DataTypeModifier and TypeFieldDescriptionstatic final Map<DataType,
FieldBasedTupleComparator.CompareFunctor> FieldBasedTupleComparator.DEFAULT_FUNCTOR_MAP
Default functor data type to functor map