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_TYPESThe types that have no parameterization, just values.protected final DataTypeCompleteDataType.typeWrapped data typeMethods in com.streambase.sb that return DataTypeModifier and TypeMethodDescriptionstatic DataTypeFor the given name return a DataType Object.static final DataTypeReturn the appropriate DataType for the given clazz.static DataTypeReturn 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 DataTypeSchema.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 DataTypeReturns 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 CompleteDataTypeBuild a random complete data typevoidCheck typesvoidDeprecated.protected voidTuple.checkType(Schema.Field resolvedField, DataType dataType) Check typeprotected intReadOnlyTupleRep.checkTypeAndNonNull(Schema.Field resolvedField, DataType dataType) override checkTypeAndNonNullprotected intTuple.checkTypeAndNonNull(Schema.Field resolvedField, DataType dataType) check the type and make sure it is non nullstatic Schema.FieldSchema.createField(DataType type, String name) Creates a new Field of the given DataType, with the given name.TDataType.Registry.get(DataType type) Return the factory for the specified DataType.voidDataType.Registry.register(DataType type, T factory) Register the specified factory associated with the specified DataType.static StringSchemaUtil.toHumanString(DataType type) Get human string for data typeMethod parameters in com.streambase.sb with type arguments of type DataTypeModifier and TypeMethodDescriptionvoidDataType.Checklist.check(Collection<DataType> types) Check typesvoidDataType.Registry.register(Collection<DataType> types, T factory) Convenience method to register the same factory with multiple data types.voidRegister the specified factories with the specifiedDataTypes.Constructors in com.streambase.sb with parameters of type DataTypeModifierConstructorDescriptionprotectedCompleteDataType(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_MAPDefault functor data type to functor map