Package com.streambase.sb
Class CompleteDataType.CaptureType
java.lang.Object
com.streambase.sb.CompleteDataType
com.streambase.sb.CompleteDataType.CaptureType
- All Implemented Interfaces:
Serializable
- Enclosing class:
- CompleteDataType
Capture type
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.streambase.sb.CompleteDataType
CompleteDataType.CaptureType, CompleteDataType.FunctionType, CompleteDataType.ListType, CompleteDataType.TupleType
-
Field Summary
Fields inherited from class com.streambase.sb.CompleteDataType
NULL_TO_TYPE_SCORE, SCORE_FAIL, SCORE_PASS, type, TYPE_TO_TYPE_SCORE, WILDCARD_SCORE
-
Constructor Summary
ModifierConstructorDescriptionprotected
CaptureType
(String typeName) Constructor Capture type name -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
equalTypes
(CompleteDataType completeType) For capture types, return the capture type name.int
hashCode()
toHumanString
(SchemaUtil.SchemaProvider schemaProvider) Return a String describing the type suitable for error messages.Methods inherited from class com.streambase.sb.CompleteDataType
canAssignFrom, canAssignFromImpl, equalBaseTypes, findSuperType, forBlob, forBlobList, forBool, forBoolean, forBoolList, forCapture, forDouble, forDoubleList, forFunction, forInt, forIntList, forList, forLong, forLongList, forString, forStringList, forTimestamp, forTimestampList, forTuple, getArgumentSchema, getDataType, getElementType, getName, getReturnType, getSchema, rateCoercion, rateCoercion, toHumanString, toString
-
Constructor Details
-
CaptureType
Constructor Capture type name- Parameters:
typeName
- capture type
-
-
Method Details
-
toHumanString
Description copied from class:CompleteDataType
Return a String describing the type suitable for error messages.- Specified by:
toHumanString
in classCompleteDataType
- Parameters:
schemaProvider
- A schema provider to identify named schemas- Returns:
- param a suitable string
-
equals
- Overrides:
equals
in classCompleteDataType
-
hashCode
public int hashCode()- Overrides:
hashCode
in classCompleteDataType
-
equalTypes
-
getCaptureName
Description copied from class:CompleteDataType
For capture types, return the capture type name. For other types, null is returned- Overrides:
getCaptureName
in classCompleteDataType
- Returns:
- the capture name
-