Package com.streambase.sb
Provides classes and interfaces fundamental to the TIBCO StreamBase Java API.
-
Interface Summary Interface Description Cancellable Represents tasks (possibly to run in the future) that can be cancelled.Constants Useful constants describing entities in the system containerFunction Represents a value of type StreamBase Function.SchemaUtil.SchemaProvider TimeService This 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.SetResult An interface containing flags returned from certain setXXXX callsTuple.TupleFormatter This interface is not public API, and should not be implemented by users.TupleCaptureTransformer A 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 ByteArrayView This class represents a StreamBase blob.ClusterNotificationTupleFields A class that captures the fields of tuples on the control stream relating to HA cluster notifications.CompiledTuple Subclass of tuple that indicates a tuple has a compiled representation for better performance.CompleteDataType WrapsDataType
with ancillary information about the type (where appropriate) that's needed to actually use the DataType.CompleteDataType.CaptureType Capture typeCompleteDataType.FunctionType Function typeCompleteDataType.ListType List typeCompleteDataType.TupleType Tuple typeDataType.Checklist EntityType An enumeration that represents the kinds of entities that StreamBase supports.Schema Represents a StreamBase schema as a list ofSchema.Field
s, and should be used to createTuple
objects.Schema.Field Information (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 schemaStreamProperties This class contains meta data about a stream.Timestamp This class represents a Streambase Timestamp.Tuple An class that represents a Tuple of StreamBase data.Tuple.DefaultTupleFormatter A default formatter that converts each type to String using Java default String conversions.TupleCopier A utility class which copies the fields from one tuple to another.TupleJSONUtil Utilities for dealing with tuples represented in JSON format.TupleUtil.RepMethods DataType.Registry machinery for Tuple.serialize(), .getTupleLength() -
Enum Summary Enum Description CaptureTransformStrategy Determines the method StreamBase will use to expose capture fields to client code or dequeuers.Constants.ContainerState status of a container sent on the control stream as container eventsConstants.LeadershipStatus Deprecated. Legacy high-availability service, migrate to SB 10 high-availability service.DataType An enumeration that represents the types that StreamBase supports.NowImplementation Seecom.streambase.sb.expr.op.CNowOp
in the server code for details on using these valuesSchemaUtil.CoercionOptions SchemaUtil.CopyOptions Options used when copying SchemasTupleCopier.Options Options for this TupleCopierTupleJSONUtil.Options Options for serializing JSON. -
Exception Summary Exception Description ApplicationValidationException BufferTooSmallException An exception that is thrown when a string field in a tuple is set with a value that is too large.IllegalFunctionInProjectionException NotImplementedException Signals that some feature has not yet been implemented.NotSupportedException Signals that some feature is not supportedNullValueException An exception that is thrown when a field value is requested as a primitive (e.g., Tuple.getBoolean(), Tuple.getTimestamp()), but it is null.ParsingException SchemaMismatchException SchemaUtil.FieldConflictException A SemanticValidationException that also stores the index of the schema that caused it, when we're computing merges of schemas.SchemaValidationException Exception to indicate validation failuresSemanticValidationException StreamBaseException The base class of all StreamBase non-runtime exceptions.StreamBaseIllegalArgumentException A StreamBase wrapper for IllegalArgumentException for use by methods that want to throw IAE in a kind of cleaner fashion.StreamBaseListException An exception that contains a list of exceptionsStreamBaseRuntimeException The base class of all StreamBase runtime exceptions.TupleException Tuple manipulation errorXmlInterpretationException XmlParsingException -
Annotation Types Summary Annotation Type Description PureFunction Use this annotation to mark static methods as "purely functional" methods for use in StreamBase expressions.