## Uses of Class
com.streambase.sb.CompleteDataType

- Packages that use CompleteDataType
  Package | Description
  --- | ---
  com.streambase.sb | Provides classes and interfaces fundamental to the TIBCO StreamBase Java API.
  com.streambase.sb.unittest | Provides classes and interfaces used to author StreamBase Unit tests.

- - ### Uses of CompleteDataType in com.streambase.sb

    Subclasses of CompleteDataType in com.streambase.sb
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `CompleteDataType.CaptureType`
    `static class` | `CompleteDataType.FunctionType`
    `static class` | `CompleteDataType.ListType`
    `static class` | `CompleteDataType.TupleType`

    Methods in com.streambase.sb that return CompleteDataType
    Modifier and Type | Method and Description
    --- | ---
    `static CompleteDataType` | CompleteDataType.`findSuperType(CompleteDataType t1, CompleteDataType t2)` Find a type that t1 and t2 can both promote to safely
    `static CompleteDataType` | CompleteDataType.`forBlob()` Return the complete type for a blob.
    `static CompleteDataType` | CompleteDataType.`forBlobList()`
    `static CompleteDataType` | CompleteDataType.`forBool()` Deprecated.
    `static CompleteDataType` | CompleteDataType.`forBoolean()` Return the complete type for a bool.
    `static CompleteDataType` | CompleteDataType.`forBoolList()`
    `static CompleteDataType` | CompleteDataType.`forCapture(String typeName)` Return a capture complete data type with the specified type parameter name.
    `static CompleteDataType` | CompleteDataType.`forDouble()` Return the complete type for a double.
    `static CompleteDataType` | CompleteDataType.`forDoubleList()`
    `static CompleteDataType` | CompleteDataType.`forInt()` Return the complete type for an int.
    `static CompleteDataType` | CompleteDataType.`forIntList()`
    `static CompleteDataType` | CompleteDataType.`forList(CompleteDataType elementType)` Return a list complete data type with the specified element type
    `static CompleteDataType` | CompleteDataType.`forLong()` Return the complete type for a long.
    `static CompleteDataType` | CompleteDataType.`forLongList()`
    `static CompleteDataType` | CompleteDataType.`forString()` Return the complete type for a string.
    `static CompleteDataType` | CompleteDataType.`forStringList()`
    `static CompleteDataType` | CompleteDataType.`forTimestamp()` Return the complete type for a timestamp.
    `static CompleteDataType` | CompleteDataType.`forTimestampList()`
    `static CompleteDataType` | CompleteDataType.`forTuple(Schema schema)` Return a tuple complete data type with the specified schema.
    `CompleteDataType` | Schema.Field.`getCompleteDataType()` Return the CompleteDataType of the Field
    `CompleteDataType` | CompleteDataType.`getElementType()` For list collection types, return the complete type of the list's elements.
    `CompleteDataType` | CompleteDataType.ListType.`getElementType()`
    `CompleteDataType` | Schema.Field.`getElementType()` Return the element type for this field.
    `CompleteDataType` | CompleteDataType.`getReturnType()` For function types, return the return type of the function.
    `CompleteDataType` | CompleteDataType.FunctionType.`getReturnType()`
    `CompleteDataType` | Function.`getReturnType()` Returns the CompleteDataType for the function's return type.

    Methods in com.streambase.sb with parameters of type CompleteDataType
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | CompleteDataType.`canAssignFrom(CompleteDataType other)` Check if a value of this type can be assigned a value of the other type.
    `protected boolean` | CompleteDataType.`canAssignFromImpl(CompleteDataType other)` Method for subclasses to override if they have a broader concept of type.
    `protected boolean` | CompleteDataType.FunctionType.`canAssignFromImpl(CompleteDataType other)` Method for subclasses to override if they have a broader concept of type.
    `void` | Schema.Field.`checkType(CompleteDataType dataType)` Check to make sure that the given type is the same as the type of this Field
    `static Schema.Field` | Schema.`createFunctionField(String fieldName, Schema argumentSchema, CompleteDataType returnType)` Creates a new Field of type FUNCTION, with the given name, argument list and return type.
    `static Schema.Field` | Schema.`createListField(String name, CompleteDataType elementType)` Creates a new Field of type LIST, with the given name and given element type
    `protected boolean` | CompleteDataType.`equalBaseTypes(CompleteDataType other)`
    `boolean` | CompleteDataType.CaptureType.`equalTypes(CompleteDataType completeType)`
    `boolean` | CompleteDataType.ListType.`equalTypes(CompleteDataType completeType)`
    `boolean` | CompleteDataType.TupleType.`equalTypes(CompleteDataType completeType)`
    `boolean` | CompleteDataType.FunctionType.`equalTypes(CompleteDataType completeType)`
    `static CompleteDataType` | CompleteDataType.`findSuperType(CompleteDataType t1, CompleteDataType t2)` Find a type that t1 and t2 can both promote to safely
    `static CompleteDataType.FunctionType` | CompleteDataType.`forFunction(Schema argumentSchema, CompleteDataType returnType)` Return a function's `CompleteDataType` with the given argument schema and return type
    `static CompleteDataType` | CompleteDataType.`forList(CompleteDataType elementType)` Return a list complete data type with the specified element type
    `CharSequence` | Tuple.TupleFormatter.`formatList(CompleteDataType elementType, List<?> l)` Return a string representation of the given StreamBase list
    `CharSequence` | Tuple.DefaultTupleFormatter.`formatList(CompleteDataType elementType, List<?> l)`
    `(package private) int` | TupleUtil.RepMethods.`getValueLength(CompleteDataType completeType, Object value)`
    `long` | CompleteDataType.`rateCoercion(CompleteDataType type)` calculate the coercion score to get coerce this → type - by default returns SCORE_PASS or SCORE_FAIL based on equals
    `long` | CompleteDataType.ListType.`rateCoercion(CompleteDataType to)`
    `long` | CompleteDataType.TupleType.`rateCoercion(CompleteDataType to)`
    `long` | CompleteDataType.FunctionType.`rateCoercion(CompleteDataType to)`
    `long` | CompleteDataType.TupleType.`rateCoercion(CompleteDataType to, boolean capture)`
    `static long` | CompleteDataType.`rateCoercion(CompleteDataType from, CompleteDataType to)`
    `void` | SchemaUtil.SchemaTraversal.`run(CompleteDataType cdt, String path)`
    `(package private) abstract void` | TupleUtil.RepMethods.`serializeValue(CompleteDataType valueType, Object value, ByteOrderedDataOutput out)`

    Constructors in com.streambase.sb with parameters of type CompleteDataType
    Constructor and Description
    `Field(String name, CompleteDataType completeType, Location loc)`
    `FunctionType(Schema arguments, CompleteDataType returnType)`
    `ListType(CompleteDataType elementType)`

  - ### Uses of CompleteDataType in com.streambase.sb.unittest

    Methods in com.streambase.sb.unittest with parameters of type CompleteDataType
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | FieldBasedTupleComparator.CompareFunctor.`compare(TupleComparator comparator, CompleteDataType cdt, Object expected, Object actual)` Handle null checks before delegating to `FieldBasedTupleComparator.CompareFunctor.compareImpl(com.streambase.sb.unittest.TupleComparator, com.streambase.sb.CompleteDataType, java.lang.Object, java.lang.Object)`
    `abstract boolean` | FieldBasedTupleComparator.CompareFunctor.`compareImpl(TupleComparator comparator, CompleteDataType cdt, Object expected, Object actual)` Compare two values expected and actual, using `comparator` for recursion as necessary.
    `boolean` | FieldBasedTupleComparator.NaiveObjectCompareFunctor.`compareImpl(TupleComparator comparator, CompleteDataType cdt, Object expected, Object actual)`
    `boolean` | FieldBasedTupleComparator.IgnoreTimestampCompareFunctor.`compareImpl(TupleComparator comparator, CompleteDataType cdt, Object expected, Object actual)`
    `boolean` | FieldBasedTupleComparator.DoubleCompareFunctor.`compareImpl(TupleComparator comparator, CompleteDataType cdt, Object expected, Object actual)`
    `boolean` | FieldBasedTupleComparator.RegexCompareFunctor.`compareImpl(TupleComparator comparator, CompleteDataType cdt, Object expected, Object actual)`
    `boolean` | FieldBasedTupleComparator.ListCompareFunctor.`compareImpl(TupleComparator comparator, CompleteDataType cdt, Object expected, Object actual)`
    `boolean` | FieldBasedTupleComparator.TupleCompareFunctor.`compareImpl(TupleComparator comparator, CompleteDataType cdt, Object expected, Object actual)`
    `boolean` | FieldBasedTupleComparator.`compareValues(CompleteDataType cdt, Object expected, Object actual)`
    `boolean` | TupleComparator.`compareValues(CompleteDataType cdt, Object expected, Object actual)` Compare two values with `CompleteDataType` cdt.

Copyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.