Provides classes and interfaces fundamental to the TIBCO StreamBase Java API.
Interface Summary Interface Description CancellableRepresents tasks (possibly to run in the future) that can be cancelled. ConstantsUseful constants describing entities in the system container FunctionRepresents a value of type StreamBase Function. JsonUtilsJson string key constants SchemaUtil.SchemaProviderA schema provider TimeServiceThis interface defines a contract that enables users to provide custom implementations of time used by StreamBase server It must be implemented by all Time Service classes. Tuple.SetResultAn interface containing flags returned from certain setXXXX calls Tuple.TupleFormatterThis interface is not public API, and should not be implemented by users. TupleCaptureTransformerA TupleCaptureTransformer represents a way of converting tuples with capture fields from inside the application to tuples without capture fields, with all of the fields stored in the capture expanded out to the same level as the capture field itself.
Class Summary Class Description ByteArrayViewThis class represents a StreamBase blob. ClusterNotificationTupleFieldsA class that captures the fields of tuples on the control stream relating to HA cluster notifications. CompiledTupleSubclass of tuple that indicates a tuple has a compiled representation for better performance. CompleteDataTypeWraps
DataTypewith ancillary information about the type (where appropriate) that's needed to actually use the DataType.
CompleteDataType.CaptureTypeCapture type CompleteDataType.FunctionTypeFunction type CompleteDataType.ListTypeList type CompleteDataType.TupleTypeTuple type DataType.ChecklistValidate types against registered types EntityTypeAn enumeration that represents the kinds of entities that StreamBase supports. Schema Schema.FieldInformation (name, type, and optionally size) about a field in a Schema. SchemaUtil.SchemaTraversal<T extends Exception>a class that can be used to traverse all nested schemas in a schema StreamPropertiesThis class contains meta data about a stream. TimestampThis class represents a Streambase Timestamp. TupleAn class that represents a Tuple of StreamBase data. Tuple.DefaultTupleFormatterA default formatter that converts each type to String using Java default String conversions. TupleCopierA utility class which copies the fields from one tuple to another. TupleJSONUtilUtilities for dealing with tuples represented in JSON format. TupleUtil.RepMethodsDataType.Registry machinery for Tuple.serialize(), .getTupleLength()
Enum Summary Enum Description CaptureTransformStrategyDetermines the method StreamBase will use to expose capture fields to client code or dequeuers. Constants.ContainerStatestatus of a container sent on the control stream as container events DataTypeAn enumeration that represents the types that StreamBase supports. NowImplementationSee
com.streambase.sb.expr.op.CNowOpin the server code for details on using these values
SchemaUtil.CoercionOptionsCoercion options SchemaUtil.CopyOptionsOptions used when copying Schemas TupleCopier.OptionsOptions for this TupleCopier TupleJSONUtil.OptionsOptions for serializing JSON.
Exception Summary Exception Description ApplicationValidationException IllegalFunctionInProjectionExceptionIllegal function in projection exception NotImplementedExceptionSignals that some feature has not yet been implemented. NotSupportedExceptionSignals that some feature is not supported NullValueExceptionAn exception that is thrown when a field value is requested as a primitive (e.g., Tuple.getBoolean(), Tuple.getTimestamp()), but it is null. ParsingExceptionParsing exception SchemaMismatchExceptionA schema mismatch happened SchemaUtil.FieldConflictExceptionA SemanticValidationException that also stores the index of the schema that caused it, when we're computing merges of schemas. SchemaValidationExceptionException to indicate validation failures SemanticValidationException StreamBaseExceptionThe base class of all StreamBase non-runtime exceptions. StreamBaseIllegalArgumentExceptionA StreamBase wrapper for IllegalArgumentException for use by methods that want to throw IAE in a kind of cleaner fashion. StreamBaseListExceptionAn exception that contains a list of exceptions StreamBaseRuntimeExceptionThe base class of all StreamBase runtime exceptions. TupleExceptionTuple manipulation error XmlInterpretationException XmlParsingException
Annotation Types Summary Annotation Type Description PureFunctionUse this annotation to mark static methods as "purely functional" methods for use in StreamBase expressions.