Uses of Class
com.streambase.sb.StreamBaseException
Packages that use StreamBaseException
Package
Description
Provides classes and interfaces fundamental to the LiveView Java API.
Provides classes and interfaces to add custom table providers for LiveView.
Provides classes and interfaces fundamental to the Streaming Java API.
Provides classes and interfaces to add custom adapters to Streaming applications.
Provides classes and interfaces used to communicate with a Streaming server.
Provides abstract classes to extend feedsim input sources.
Provides classes and interfaces to monitor the behavior of a running Streaming server.
Provides classes and interfaces to add custom operators to Streaming applications.
Provides classes and interfaces used to author Streaming Unit tests.
Provides classes and interfaces for interacting with the Artifact Management Server.
-
Uses of StreamBaseException in com.streambase.liveview.client
Subclasses of StreamBaseException in com.streambase.liveview.clientModifier and TypeClassDescriptionfinal classException throws when the LiveView connection call is cancelled by the clientclassAn exception thrown by the LiveView Serverfinal classSpecific LiveViewException thrown when query syntax error occurs -
Uses of StreamBaseException in com.streambase.liveview.server.table.plugin
Methods in com.streambase.liveview.server.table.plugin that throw StreamBaseExceptionModifier and TypeMethodDescriptionTableProviderManager.compileLVConfs(List<File> tableFiles, boolean buildYaml) voidTableProviderManager.createTable(String name, com.streambase.liveview.config.model.lvconf.LiveviewConfiguration conf, boolean saveInProject) Does pre-checks, saves lvconf file and registers the table in defined state with the services layervoidTableProviderManager.deleteTable(com.streambase.liveview.server.table.CatalogedTable catalogedTable) voidTableProviderManager.dropTables(List<String> tables) voidTableProviderManager.startTables(List<String> tables) -
Uses of StreamBaseException in com.streambase.sb
Subclasses of StreamBaseException in com.streambase.sbModifier and TypeClassDescriptionclassModule (aka application) validation exceptionclassSignals that some feature has not yet been implemented.classSignals that some feature is not supportedclassAn exception that is thrown when a field value is requested as a primitive (e.g., Tuple.getBoolean(), Tuple.getTimestamp()), but it is null.classParsing exceptionclassA schema mismatch happenedstatic classA SemanticValidationException that also stores the index of the schema that caused it, when we're computing merges of schemas.classException to indicate validation failuresclassSemantic validation exceptionclassAn exception that contains a list of exceptionsclassTuple manipulation errorclassXML interpretation exceptionclassXML parsing errorMethod parameters in com.streambase.sb with type arguments of type StreamBaseExceptionModifier and TypeMethodDescriptionstatic SchemaSchemaUtil.createSchema(Element element, ByteOrder ord, SchemaUtil.SchemaProvider schemaProvider, List<StreamBaseException> errors) Create a schema from XMLMethods in com.streambase.sb that throw StreamBaseExceptionModifier and TypeMethodDescriptionvoidAdvances the service time by a certain number of time units in the future.voidTimeService.advanceTo(long targetTimeMsec) Make the service advance to a specific time in the futureAbstractFunction.apply(Object... args) BasicFunction.apply(Tuple input) Applies the given arguments to this function and returns the output.Applies the given arguments to this function and returns the output.static SchemaSchemaUtil.createSchema(String name, Schema definedHere, List<Schema> parentSchemas, com.streambase.sb.util.Location loc) Create a new schema with the given parent schemas and the given fields defined here.static SchemaSchemaUtil.createSchema(String name, Schema definedHere, List<Schema> parentSchemas, com.streambase.sb.util.Location loc, List<StreamBaseException> storeExceptions) Create a new schema with the given parent schemas and the given fields defined here.static SchemaSchemaUtil.createSchema(String name, Schema definedHere, List<String> parentSchemaNames, SchemaUtil.SchemaProvider provider, com.streambase.sb.util.Location loc, List<StreamBaseException> storeExceptions) Create a new schema with the given parent schema names and the given fields defined here.static Constants.ContainerStateConstants.ContainerState.decode(int value) Decode an int value into the proper ContainerStatusstatic Constants.ContainerStateDecode a String value into the proper Container statusstatic StringTupleJSONUtil.fieldObjectToJsonString(Schema.Field f, Object value, EnumSet<TupleJSONUtil.Options> options) static StringTupleJSONUtil.fieldObjectToJsonString(Schema.Field f, Object value, EnumSet<TupleJSONUtil.Options> options, String timestampFormat) static TimestampTimestamp.fromString(CharSequence dateString) Create a timestamp using the given stringstatic TimestampTimestamp.fromString(String dateString) Create a timestamp using the given stringstatic TimestampTimestamp.fromString(String dateString, com.streambase.sb.util.CSV.FormatInfo format) Create a timestamp using the given string and format.SchemaUtil.SchemaProvider.getSchemaByHash(byte[] hash) request a schema by hashstatic SchemaDeprecated.static SchemaCreate a new schemastatic SchemaDeprecated.please useSBUtils.newSchema(Element, ByteOrder)static SchemaCreate a new schemastatic StreamPropertiesCreate new stream properties from XML stringstatic StreamPropertiesCreate new stream properties from XML elementstatic com.fasterxml.jackson.databind.JsonNodeTupleJSONUtil.parseJSONString(String json) Parse JSON string into a JSON objectHandles the processing of a JSON value into a tuple, replaces the deprecated setTupleFromJSON and setTuple methods in the API.static TupleTupleUtil.randomTuple(Tuple tuple, int maxCount) Create a tuple which contains random valuesstatic TupleTupleUtil.randomTuple(Tuple tuple, int maxCount, int flags) Create a tuple which contains random valuesstatic TupleCreate a tuple which contains random valuesstatic TupleCreate a tuple which contains random valuesstatic voidDeprecated.Use theTupleJSONUtil.SetTupleFromJSONBuilder and its .process() to handle this functionalitystatic voidDeprecated.Use theTupleJSONUtil.SetTupleFromJSONBuilder and its .process() to handle this functionalitystatic voidTupleJSONUtil.setTuple(Tuple tuple, Object jsonObject, boolean strict, String timestampFormat, boolean numericTimestampsAsInterval) Deprecated.Use theTupleJSONUtil.SetTupleFromJSONBuilder and its .process() to handle this functionalitystatic voidTupleUtil.setTuple(Tuple tuple, com.fasterxml.jackson.databind.JsonNode object) Set the fields of a tuple based on the contents of a JSON objectstatic voidTupleJSONUtil.setTupleFromJSON(Tuple tuple, String JSONString) Deprecated.Use theTupleJSONUtil.SetTupleFromJSONBuilder and its .process() to handle this functionalitystatic voidTupleJSONUtil.setTupleFromJSON(Tuple tuple, String JSONString, String timestampFormat) Deprecated.Use theTupleJSONUtil.SetTupleFromJSONBuilder and its .process() to handle this functionalitystatic voidTupleJSONUtil.setTupleFromJSON(Tuple tuple, String JSONString, String timestampFormat, boolean numericTimestampsAsInterval) Deprecated.Use theTupleJSONUtil.SetTupleFromJSONBuilder and its .process() to handle this functionalitystatic voidTupleJSONUtil.setTupleFromJSONLoose(Tuple tuple, String JSONString) Deprecated.Use theTupleJSONUtil.SetTupleFromJSONBuilder and its .process() to handle this functionalitystatic voidTupleJSONUtil.setTupleFromJSONLoose(Tuple tuple, String JSONString, String timestampFormat) Deprecated.Use theTupleJSONUtil.SetTupleFromJSONBuilder and its .process() to handle this functionalitystatic voidTupleJSONUtil.setTupleFromJSONLoose(Tuple tuple, String JSONString, String timestampFormat, boolean numericTimestampsAsInterval) Deprecated.Use theTupleJSONUtil.SetTupleFromJSONBuilder and its .process() to handle this functionalitystatic StringTupleJSONUtil.typeObjectToJsonString(CompleteDataType cdt, Object value, EnumSet<TupleJSONUtil.Options> options) static StringTupleJSONUtil.typeObjectToJsonString(CompleteDataType cdt, Object value, EnumSet<TupleJSONUtil.Options> options, String timestampFormat) Constructors in com.streambase.sb with parameters of type StreamBaseExceptionModifierConstructorDescriptionConstructorConstructors in com.streambase.sb that throw StreamBaseExceptionModifierConstructorDescriptionConstruct a Schema out of XML represented as a StringStreamProperties(String xml) Create a StreamProperties from the given string representation of an XML documentStreamProperties(Element element) Create a StreamProperties from the given XML document -
Uses of StreamBaseException in com.streambase.sb.adapter
Methods in com.streambase.sb.adapter that throw StreamBaseException -
Uses of StreamBaseException in com.streambase.sb.client
Subclasses of StreamBaseException in com.streambase.sb.clientModifier and TypeClassDescriptionclassclassException thrown when a network error/problem occursclassException thrown when a protocol error/problem occursclassException thrown when URI parsing fails.Methods in com.streambase.sb.client that throw StreamBaseExceptionModifier and TypeMethodDescriptionString[]StreamBaseAdminClient.addContainer(String containerName, byte[] application, List<String> options) Add the given application to the given container in the StreamBase serverString[]StreamBaseAdminClient.addContainer(String containerName, File application, List<String> options) Add the given application to the given container in the StreamBase serverString[]StreamBaseAdminClient.addContainer(String containerName, String applicationText, List<String> options) Add the given application to the given container in the StreamBase serverString[]XmlRpcAdmin.addContainer(long timeoutMS, String containerName, byte[] application, List<String> containerStreamMappings) String[]Deprecated.Replaced with application fragments and HOCON configurationString[]Deprecated.Replaced with application fragments and HOCON configurationString[]Deprecated.Replaced with application fragments and HOCON configurationString[]booleanXmlRpcAdmin.checkLicense(long timeoutMS, String entityName) intDequeueResult.checkStatus()Check and return the status of this DequeueResult.protected static voidStreamBaseClient.checkValidStreamname(String streamname) Validate stream nameStreamBaseAdminClient.clearEvalCache(String containerName) Clear evaluation cacheXmlRpcAdmin.clearEvalCache(long timeoutMS, String containerName) voidStreamBaseClient.close()voidFlush all buffers and close the connection to the StreamBase server.DeMUXStreamBaseClient.dequeue()DeMUXStreamBaseClient.dequeue(long timeoutMS) StreamBaseClient.dequeue()Dequeue a batch of tuples from a subscribed stream.StreamBaseClient.dequeue(long timeoutMS) Dequeue a batch of tuples from a subscribed stream.Return an XML description of a StreamBase entityXmlRpcAdmin.describe(long timeoutMS, String entityName) voidStreamBaseAdminClient.drain()Drain a StreamBase Server Has no effect if the server is not runningvoidDrain a container within a StreamBase Server Has no effect if the server is not runningvoidXmlRpcAdmin.drain(long timeoutMS, String containerName) voidStreamBaseClient.enableBuffering(int bufferSize) Turn on buffering with a default WakeAndFlushBuffer thread set to 250msvoidStreamBaseClient.enableBuffering(int bufferSize, long flushIntervalMilliSeconds) Turn on buffering.voidStreamBaseClient.enqueue(StreamProperties props, Tuple tuple) Enqueue a single Tuple onto a stream.voidStreamBaseClient.enqueue(StreamProperties props, Collection<Tuple> tuples) Enqueue a collection of Tuples onto a stream.voidEnqueue a single Tuple onto a stream.voidStreamBaseClient.enqueue(String stream, Collection<Tuple> tuples) Enqueue a collection of Tuples onto a stream.voidXmlRpcAdmin.enqueue(long timeoutMS, StreamProperties props, Collection<String> tuples) voidStreamBaseAdminClient.fastForwardTime(String msecs) Fast forward timevoidXmlRpcAdmin.fastForwardTime(long timeoutMS, Object msecs) voidStreamBaseClient.flushAllBuffers()Flush any pending enqueue buffers.voidStreamBaseClient.flushBuffer(StreamProperties props) Deprecated.useStreamBaseClient.flushAllBuffers()to preserve inter-stream orderingvoidStreamBaseClient.flushBuffer(String stream_name) Deprecated.useStreamBaseClient.flushAllBuffers()to preserve inter-stream orderingStreamBaseClient.getAllStreamProperties(EntityType type) Return all the StreamProperties available.StreamBaseClient.getAllStreamProperties(EntityType type, CaptureTransformStrategy strategy) Return all the StreamProperties availableXmlRpcAdmin.getByteOrder(long timeoutMS) StreamBaseClient.getDynamicVariable(String dynamicVariablePath) Get the given dynamic variableXmlRpcAdmin.getDynamicVariableField(long timeoutMS, com.streambase.sb.util.Path dynvarPath) StreamBaseClient.getDynamicVariables(String modulePath) Get a Tuple of all the dynamic variables on the given moduleXmlRpcAdmin.getDynamicVariables(long timeoutMS, com.streambase.sb.util.Path modulePath) StreamBaseAdminClient.getEvalCacheContent(String containerName) Get evaluation cache contentXmlRpcAdmin.getEvalCacheContent(long timeoutMS, String containerName) StreamBaseAdminClient.getMapperCacheContent(String containerName) Get mapper cache contentsXmlRpcAdmin.getMapperCacheContent(long timeoutMS, String containerName) XmlRpcAdmin.getNamesForContainer(long timeoutMS, int id) String[]StreamBaseAdminClient.getOperatorProperties(String operatorName) For the given Operator, return its set of properties and their values.String[]XmlRpcAdmin.getOperatorProperties(long timeoutMS, String operatorName) StreamBaseAdminClient.getOperatorProperty(String operatorName, String propertyName) Return the value of the given property on the given Operator.StreamBaseClient.getSchemaByHash(byte[] hash) Return the Schema object for the given hash valueXmlRpcAdmin.getSchemaByHash(long timeoutMS, byte[] hash) StreamBaseClient.getSchemaByName(String name) Return the Schema object for the given name.XmlRpcAdmin.getSchemaByName(long timeoutMS, String schemaName) StreamBaseClient.getSchemaForStream(String streamName) Return the schema of a stream.StreamBaseClient.getStreamProperties(String streamName) Return the StreamProperties for the given stream nameStreamBaseClient.getStreamProperties(String streamName, CaptureTransformStrategy strategy) Return the StreamProperties for the given stream nameXmlRpcAdmin.getStreamProperties(long timeoutMS, String streamName) XmlRpcAdmin.getStreamProperties(long timeoutMS, String streamName, CaptureTransformStrategy strategy) StreamBaseClient.getStreamPropertiesByHash(byte[] hash) Return the StreamProperties for the given hash StreamProperties are cached locally in the client.StreamBaseClient.getStreamPropertiesByHash(String hashHexString) Return the StreamProperties for the given hash StreamProperties are cached locally in the client.XmlRpcAdmin.getStreamPropertiesByHash(long timeoutMS, byte[] hash) StreamBaseAdminClient.getTargetTime()Get target timeXmlRpcAdmin.getTargetTime(long timeoutMS) static SSLSocketFactorySSLUtils.initSSL()static SSLSocketFactoryString[]XmlRpcAdmin.internalCommand(long timeoutMS, String... args) String[]StreamBaseAdminClient.killAllConnections()Kill all of the connections on the serverString[]XmlRpcAdmin.killAllConnections(long timeoutMS) String[]StreamBaseAdminClient.killConnection(byte[] connectionId) Kill the connection with the given connectionIdString[]XmlRpcAdmin.killConnection(long timeoutMS, byte[] connectionId) String[]StreamBaseAdminClient.listConnections(StreamBaseAdminClient.ListConnectionArgument... args) Return an array of client connectionsString[]XmlRpcAdmin.listConnections(long timeoutMS, StreamBaseAdminClient.ListConnectionArgument... args) String[]StreamBaseAdminClient.listEntities(String entityType, int flags) Return an array of entity names for the given entity typeString[]StreamBaseClient.listEntities(EntityType entityType) Return an array of entity names for the given entity type.String[]StreamBaseClient.listEntities(EntityType entityType, int flags) Return an array of entity names for the given entity type and flags.String[]StreamBaseClient.listEntities(EntityType entityType, int flags, CaptureTransformStrategy strategy) Return an array of entity names for the given entity type and flags.String[]StreamBaseClient.listEntities(EntityType entityType, CaptureTransformStrategy strategy) Return an array of entity names for the given entity type.String[]StreamBaseClient.listEntities(String entityPath, int flags) Return an array of entity names for the given entity path.String[]StreamBaseClient.listEntities(String entityPath, int flags, CaptureTransformStrategy strategy) Return an array of entity names for the given entity path.String[]XmlRpcAdmin.listEntities(long timeoutMS, String entityType, int flags) Return an array of entity names for the given entity typeString[]XmlRpcAdmin.listEntities(long timeoutMS, String entityType, int flags, CaptureTransformStrategy strategy) static SSLContextSSLUtils.makeClientSSLContext()static SSLContextSSLUtils.makeClientSSLContext(boolean debug) static SSLContextstatic com.streambase.sb.client.TupleIOTupleIOFactory.makeTupleIO(StreamBaseURI uri, ClientSettings settings) String[]StreamBaseAdminClient.manageJdbcConnections(List<String> args) Manage JDBC connections: count [name]Count the open JDBC connections to the named data source (or all data sources if ommitted) close [name]Close any open JDBC connections to the named data source (or all data sources if ommitted)String[]voidXmlRpcAdmin.modifyApplication(long timeoutMS, byte[] application) Modify the StreamBase Server with the given StreamBase application.String[]StreamBaseAdminClient.modifyContainer(String containerName, List<String> options) Modifies the given container.String[]String[]XmlRpcAdmin.operatorStatus(long timeoutMS, String containerName) static String[]XmlRpcAdmin.processListConnections(CharSequence xmlListConnections) process the XML document that is the result of a LIST_CONNECTIONS callReturn rows from a Query Table or Materialized Window.Return rows from a Query Table or Materialized Window, applying an optional predicate to decide which rows are returned.String[]StreamBaseAdminClient.removeContainer(String containerName, String... args) Remove the given container in the StreamBase serverString[]String[]StreamBaseAdminClient.restartContainer(String containerName) Restart a containerString[]XmlRpcAdmin.restartContainer(long timeoutMS, String containerName) voidStreamBaseAdminClient.restartOperators(List<String> operatorNames) Restart the given Operators on the StreamBase server.voidDeMUXStreamBaseClient.resubscribe(StreamProperties props, String logicalstream, String predicate) DeMUXStreamBaseClient.resubscribe(String streamname, String logicalstream, String predicate) StreamBaseClient.resubscribe(StreamProperties props, String logicalStream, String predicate) Resubscribe to a stream with a predicate.StreamBaseClient.resubscribe(String streamname, String logicalstream, String predicate) Resubscribe to a stream with a predicate.voidResume a container in a StreamBase servervoidXmlRpcAdmin.resume(long timeoutMS, String containerName) voidStreamBaseAdminClient.resumeOperators(List<String> operatorNames) Resume the given Operators on the StreamBase servervoidvoidStreamBaseClient.setDynamicVariable(String dynvarPath, Object value) Set the given dynamic variable to a new valuevoidXmlRpcAdmin.setDynamicVariable(long timeoutMS, com.streambase.sb.util.Path dynamicVariablePath, Object value) voidStreamBaseAdminClient.setOperatorProperty(String operatorName, String propertyName, String value) On the given Operator, set the given property to the given value.voidXmlRpcAdmin.setOperatorProperty(long timeoutMS, String operatorName, String propertyName, String value) voidStreamBaseClient.setQuiescentLimit(long timeoutMS) If more then timeoutMS milliseconds elapse without receiving data or a heart beat from the server, the client will close.voidTupleConnection.setQuiescentLimit(long timeoutMS) Set heartbeat timeout valuevoidStreamBaseAdminClient.setRuntimeParam(String paramName, String paramValue, String operator) Set a runtime parameter on one, or all, operators.voidStreamBaseAdminClient.shutdown()Shutdown a StreamBase serverShutdown a container within a StreamBase serverXmlRpcAdmin.shutdown(long timeoutMS, String containerName) voidStreamBaseAdminClient.shutdownOperators(List<String> operatorNames) Shut down the given Operators on the StreamBase server.voidString[]XmlRpcAdmin.status(long timeoutMS, boolean verbose) DeMUXStreamBaseClient.subscribe(StreamProperties props) DeMUXStreamBaseClient.subscribe(StreamProperties props, String logicalstream, String predicate) DeMUXStreamBaseClient.subscribe(String streamName, CaptureTransformStrategy strategy) DeMUXStreamBaseClient.subscribe(String streamName, CaptureTransformStrategy strategy, String logicalstream, String predicate) DeMUXStreamBaseClient.subscribe(String streamName, String logicalStream, String predicate, DeMUXStreamBaseClient.DequeueListener listener) This is the only subscribe operation that is supported by the DeMUXStreamBaseClientStreamBaseClient.subscribe(StreamProperties props) Subscribe to a streamStreamBaseClient.subscribe(StreamProperties props, String logicalStream, String predicate) Subscribe to a stream with a predicate.Subscribe to a streamStreamBaseClient.subscribe(String streamName, CaptureTransformStrategy strategy) Subscribe to a streamStreamBaseClient.subscribe(String streamName, CaptureTransformStrategy strategy, String logicalstream, String predicate) Subscribe to a stream with a predicate.Subscribe to a stream with a predicate.List<?> XmlRpcAdmin.subscribe(long timeoutMS, com.streambase.sb.client.SubscriptionEntry subscription) Subscribecom.streambase.sb.client.SubscriptionEntryXmlRpcAdmin.subscribe(long timeoutMS, com.streambase.sb.client.SubscriptionEntry subscription, List<com.streambase.sb.client.TupleConnections.StreamTupleConnection> connections) com.streambase.sb.client.SubscriptionEntryTupleConnection.subscribeInternalControl(long timeoutMS) Subscribe internal control streamvoidSuspend (pause) a container or operator within a StreamBase ServervoidXmlRpcAdmin.suspend(long timeoutMS, String name) voidStreamBaseAdminClient.suspendOperators(List<String> operatorNames) Suspend (pause) the given Operators on the StreamBase ServervoidTypecheck (validate) the given StreamBase Application.Typecheck (validate) the given StreamBase Application.XmlRpcAdmin.typecheck(long timeoutMS, String application, boolean full) voidDeMUXStreamBaseClient.unsubscribe(StreamProperties logicalProps) voidDeMUXStreamBaseClient.unsubscribe(String logicalStreamName) voidStreamBaseClient.unsubscribe(StreamProperties logicalProps) Unsubscribe from the given stream name.voidStreamBaseClient.unsubscribe(String logicalStreamName) Unsubscribe from the given stream name.voidXmlRpcAdmin.unsubscribe(long timeoutMS, StreamProperties props, String logicalstream, List<com.streambase.sb.client.TupleConnections.StreamTupleConnection> connections) voidUnsubscribe a streamprotected voidStreamBaseClient.unsubscribeInternal(StreamProperties logicalProps) Un-subscribe from streamConstructors in com.streambase.sb.client that throw StreamBaseExceptionModifierConstructorDescriptionDeMUXStreamBaseClient(StreamBaseURI streamBaseURI) ConstructorConstructorDeMUXStreamBaseClient(List<StreamBaseURI> uris, ClientSettings settings) ConstructorSSLSocketWrapper(StreamBaseURI uri, ClientSettings settings) Create a StreamBaseAdminClient.Create a StreamBaseAdminClient, connecting to the server at the provided URI.Create a StreamBaseAdminClient.Create a StreamBaseAdminClient.StreamBaseAdminClient(List<StreamBaseURI> uris, ClientSettings settings) Create a StreamBaseAdminClient.Create a StreamBaseClient.Create a StreamBaseClient, connecting to the server at the provided URIStreamBaseClient(String uriStrings) Create a StreamBaseClient from one or more comma-separated URI stringsStreamBaseClient(List<StreamBaseURI> uris) Create a StreamBaseClient, connecting to the servers at the provided URIs.StreamBaseClient(List<StreamBaseURI> uris, ClientSettings settings) Create a StreamBaseClient, connecting to the servers at the provided URIs. -
Uses of StreamBaseException in com.streambase.sb.expr
Subclasses of StreamBaseException in com.streambase.sb.exprModifier and TypeClassDescriptionclasscom.streambase.sb.expr.ExprExceptionSemantic exception parsing an expression. -
Uses of StreamBaseException in com.streambase.sb.feedsim
Methods in com.streambase.sb.feedsim that throw StreamBaseException -
Uses of StreamBaseException in com.streambase.sb.monitor
Methods in com.streambase.sb.monitor that throw StreamBaseExceptionModifier and TypeMethodDescriptionstatic StringStatsUtil.getName(StatsUtil.IdentityHelper helper, com.streambase.sb.monitor.StatTuplev3 st) Fetch the item name using the clientStatsUtil.IdentityHelper.getName(com.streambase.sb.monitor.StatTuplev3 st) StatsUtil.IdentityHelper.getNameFromId(long id) Stats Stream v3 only.StatsUtil.IdentityHelper.IdentityUpdater.getUpdateByContainerId(int containerId) voidStreamBaseMonitor.run()Read and process monitor snapshots from sbd.static StringStatsUtil.toName(StatsUtil.IdentityHelper helper, long id) Constructors in com.streambase.sb.monitor that throw StreamBaseExceptionModifierConstructorDescriptionStreamBaseMonitor(StreamBaseClient client) Create a monitoring object, which will connect to a server with the given StreamBaseClient object.StreamBaseMonitor(StreamBaseClient sbClient, String streamName) ConstructorCreate a monitoring object, which will connect to a server with the given StreamBase URI.StreamBaseMonitor(String uri) Create a monitoring object The given uri can either be a StreamBaseURI or a filename. -
Uses of StreamBaseException in com.streambase.sb.operator
Subclasses of StreamBaseException in com.streambase.sb.operatorModifier and TypeClassDescriptionclassShared object already registeredfinal classA typecheck exception associated with an Operator property (or parameter) by name.classParameter interpretation exceptionclassThrown byOperator.requireInputPortCount(int)when the required input port count doesn't match the actual input port count.classThrown when an operator tries to get a resource by name, but no such resource exists.classMay be thrown when an error occurs during an Operator's typecheck() method.Methods in com.streambase.sb.operator that throw StreamBaseExceptionModifier and TypeMethodDescriptionvoidvoidOverride this method to consume rows.Delete a row in the table based on primary key.evaluate the given string expression in the context of the running module If an error occurs during the evaluation, the message return value will be a string containing the error messagevoidPreparedQuery.execute(CompiledTuple args, RowConsumer consumer) Run the query against a given set of arguments, and pass the results toconsumervoidPreparedQuery.execute(CompiledTuple args, TableAccessor table, RowConsumer consumer) Execute the queryvoidITupleDataInitializer.fillOutputTuple(Tuple inputTuple, Tuple outputTuple, ITupleDataInitializer.ITupleHandler handler) Fill the output tuple from the input value, process the tuple handler to updated additional fields in the output.Operator.getDataSourceConnection(String datasource) Retrieve a connection to a JDBC Data Source configured in HOCON configuration files.IResourceReader.getResourceContents(String name) Read resource contentsOperator.getResourceContents(String name) Returns an open input stream on the contents of the named resource file.IResourceReader.getResourceFile(String name) Get resource fileOperator.getResourceFile(String name) Returns aFilepointing to the regular file or directory if it exists.Operator.getTableAccessor(String name) Get a TableAccessor for a table in the local module by name of that table.Operator.getTupleCaptureTransformer(Schema s) Get a TupleCaptureTransformer capable of translating tuples with the given schema to the equivalent schema with all the capture fields expanded out, and translating expanded tuples back into tuples with the given schemavoidOperator.init()After the Operator has typechecked successfully, but before the application or any managed threads start, the StreamBase server will call the init method.voidInsert a new row into the table.default TupleITupleDataInitializer.newOutputTuple(Tuple inputTuple) Deprecated.Use a combination ofITupleDataInitializer.newOutputTuple()andITupleDataInitializer.fillOutputTuple(Tuple, Tuple, ITupleHandler)default TupleITupleDataInitializer.newOutputTuple(Tuple inputTuple, ITupleDataInitializer.ITupleHandler handler) Deprecated.Use a combination ofITupleDataInitializer.newOutputTuple()andITupleDataInitializer.fillOutputTuple(Tuple, Tuple, ITupleHandler)Operator.newTupleDataInitializer(int inputPort, int outputPort) Create a newITupleDataInitializerbased on the specified input and output ports.voidITupleDataInitializer.populateOutputTuple(Tuple inputTuple, Tuple outputTuple) Populate the ouptu tuple from the input value (no clearing done on output before filling, and no clearing done on the input tuple at the end)Prepare an index-accessing query.abstract voidOperator.processTuple(int inputPort, Tuple tuple) This method will be called by the StreamBase server for each Tuple given to the Operator to process.TableAccessor.readPrimary(Tuple pkey) Read a row from the table by primary key.final voidOperator.registerRunnable(Runnable operatorRunnable) Deprecated.As of StreamBase version 3.7, replaced byOperator.registerRunnable(Runnable, boolean)final voidOperator.registerRunnable(Runnable operatorRunnable, boolean shouldInterrupt) Register a Runnable object to be managed by this Operator.final voidOperator.registerRunnable(String runnableName, Runnable operatorRunnable, boolean shouldInterrupt) Register a Runnable object to be managed by this Operator.final voidOperator.registerRunnable(String runnableName, Runnable operatorRunnable, boolean shouldInterrupt, boolean synchronizedShutdown) Register a Runnable object to be managed by this Operator.voidOperator.SharedObjectManager.registerSharedObject(Object key, Operator.SharedObject value) Add the given SharedObject to this Container.Replace a row in the table, or insert if there is no existing row with matching primary key.voidOperator.SharedObject.resumeObject()Resume the SharedObject.voidOperator.sendOutput(int port, Tuple tuple) Enqueue a Tuple to be sent synchronously to downstream operators.voidOperator.sendOutput(int port, List<Tuple> tuples) Enqueue a List of Tuples to be sent synchronously to downstream operators.voidOperator.sendOutputAsync(int port, Tuple tuple) Enqueue a Tuple to be sent asynchronously to downstream operators.voidOperator.sendOutputAsync(int port, List<Tuple> tuples) Enqueue a List of Tuples to be sent asynchronously to downstream operators.voidOperator.setDynamicVariable(String name, Object value) Sets the value of this module's dynamic variable.static voidOperator.setLogLevel(org.slf4j.Logger logger, Operator.LogLevel level) Sets the log level of the given logger.static voidOperator.setLogLevel(org.slf4j.Logger logger, String level) Sets the log level of the given logger.voidOperator.SharedObject.shutdownObject()Shutdown the SharedObject.voidOperator.SharedObject.startObject()Start the SharedObject.voidOperator.SharedObject.suspendObject()Suspend the SharedObject.voidTableAccessor.truncate()Truncate the table, by removing all rowsConstructors in com.streambase.sb.operator with parameters of type StreamBaseException -
Uses of StreamBaseException in com.streambase.sb.unittest
Methods in com.streambase.sb.unittest that throw StreamBaseExceptionModifier and TypeMethodDescriptionbooleanbooleanFieldBasedTupleComparator.CompareFunctor.compare(TupleComparator comparator, CompleteDataType cdt, Object expected, Object actual) booleanCompare two tuples.abstract booleanFieldBasedTupleComparator.CompareFunctor.compareImpl(TupleComparator comparator, CompleteDataType cdt, Object expected, Object actual) Compare two values expected and actual, usingcomparatorfor recursion as necessary.booleanFieldBasedTupleComparator.ListCompareFunctor.compareImpl(TupleComparator comparator, CompleteDataType cdt, Object expected, Object actual) booleanFieldBasedTupleComparator.TupleCompareFunctor.compareImpl(TupleComparator comparator, CompleteDataType cdt, Object expected, Object actual) booleanFieldBasedTupleComparator.compareValues(CompleteDataType cdt, Object expected, Object actual) booleanTupleComparator.compareValues(CompleteDataType cdt, Object expected, Object actual) Compare two values withCompleteDataTypecdt.abstract TupleAbstractTupleMaker.createTuple(Schema schema, T t) CSVTupleMaker.createTuple(Schema schema, String str) JSONSingleQuotesTupleMaker.createTuple(Schema schema, String str) JSONTupleMaker.createTuple(Schema schema, String str) ObjectArrayTupleMaker.createTuple(Schema schema, Object[] objs) TupleMaker.createTuple(Schema schema, T t) create aTuples from an input objectAbstractTupleMaker.createTuples(Schema schema, Collection<T> ts) AbstractTupleMaker.createTuples(Schema schema, T... ts) TupleMaker.createTuples(Schema schema, Collection<T> t) create multipleTuples from input objectsTupleMaker.createTuples(Schema schema, T... t) create multipleTuples from input objectsDequeuer.dequeue(int numTuples) Try to dequeue tuples with theDequeuer.DEFAULT_TIMEOUTandDequeuer.DEFAULT_TIMEOUT_UNITif numTuples == 0 will return immediately if numTuples < 0 will wait the maximum timeout before returningTry to dequeue tuples within a provided timeout.voidDequeuer.drain()Drain any tuples that are currently in flight in the server.voidSBServerManager.drain()Wait for processing to complete on all currently enqueued tuples.voidEnqueue Tuple to the streamvoidEnqueue multiple tuples to the stream<T> voidEnqueuer.enqueue(TupleMaker<T> tupleMaker, List<T> t) Create multiple tuples using aTupleMakerand then enqueue them.<T> voidEnqueuer.enqueue(TupleMaker<T> tupleMaker, T t) Create a tuple using aTupleMakerand then enqueue it.<T> voidEnqueuer.enqueue(TupleMaker<T> tupleMaker, T... t) Create multiple tuples using aTupleMakerand then enqueue them.voidEnqueue multiple tuples to the streamvoidExpect a tuple from the dequeuer.voidExpect multiple tuples in a particular order from the dequeuer.voidExpecter.expect(Expecter.DequeueSetting mode, Tuple expected) Expect a given tuple from the dequeuervoidExpecter.expect(Expecter.DequeueSetting mode, Tuple... tuples) Expect multiple tuples in a particular order from the dequeuer<T> voidExpecter.expect(Expecter.DequeueSetting mode, TupleMaker<T> tupleMaker, List<T> t) Expect a tuple from the dequeuer<T> voidExpecter.expect(Expecter.DequeueSetting mode, TupleMaker<T> tupleMaker, T t) Expect a tuple from the dequeuer<T> voidExpecter.expect(Expecter.DequeueSetting mode, TupleMaker<T> tupleMaker, T... t) Expect a tuple from the dequeuervoidExpecter.expect(Expecter.DequeueSetting mode, List<Tuple> expected) Expect multiple tuples in a particular order from the dequeuer<T> voidExpecter.expect(TupleMaker<T> tupleMaker, List<T> t) Expect multiple tuples in a particular order from the dequeuer.<T> voidExpecter.expect(TupleMaker<T> tupleMaker, T t) Expect a tuple from the dequeuer.<T> voidExpecter.expect(TupleMaker<T> tupleMaker, T... t) Expect multiple tuples in a particular order from the dequeuer.voidExpect multiple tuples in a particular order from the dequeuer.voidExpecter.expectNothing()Expect no tuples to be available on the stream, while ensuring that the server has time to process any tuples that are currently in flight.voidExpecter.expectNothing(long time, TimeUnit unit) Expect no tuples to be available on the stream, while ensuring that the server has time to process any tuples that are currently in flight.voidExpecter.expectPredicate(Expecter.DequeueSetting mode, Expecter.Predicate p) Expect a tuple that fulfills the given predicate from the dequeuervoidExpecter.expectPredicate(Expecter.DequeueSetting mode, List<Expecter.Predicate> expected) Expect a number of tuples, each fulfilling one predicate in a list, from the DequeuervoidExpecter.expectUnordered(Tuple... expected) Expect multiple tuples in any order from the dequeuer.voidExpecter.expectUnordered(Expecter.DequeueSetting mode, Tuple... expected) Expect multiple tuples in any order from the dequeuer<T> voidExpecter.expectUnordered(Expecter.DequeueSetting mode, TupleMaker<T> tupleMaker, List<T> t) Expect multiple tuples in any order from the dequeuer<T> voidExpecter.expectUnordered(Expecter.DequeueSetting mode, TupleMaker<T> tupleMaker, T... t) Expect multiple tuples in any order from the dequeuervoidExpecter.expectUnordered(Expecter.DequeueSetting mode, List<Tuple> expected) Expect multiple tuples in any order from the dequeuer<T> voidExpecter.expectUnordered(TupleMaker<T> tupleMaker, List<T> t) Expect multiple tuples in any order from the dequeuer.<T> voidExpecter.expectUnordered(TupleMaker<T> tupleMaker, T... t) Expect multiple tuples in any order from the dequeuer.voidExpecter.expectUnordered(List<Tuple> expected) Expect multiple tuples in any order from the dequeuer.voidExpecter.expectUnorderedPredicate(Expecter.DequeueSetting mode, List<Expecter.Predicate> expected) Expect tuples that fulfill multiple predicates in any order from the dequeuerBaseTestEnvironment.getConf()SBTestEnvironment.getConf()SBServerManager.getDequeuer(String path) Get the Tuple dequeue object for a streamstatic SBServerManagerServerManagerFactory.getEmbeddedServer()static SBServerManagerServerManagerFactory.getEmbeddedServer(SBTestEnvironment testEnv) static SBServerManagerServerManagerFactory.getEmbeddedServer(String confFilePath) SBServerManager.getEnqueuer(String path) Get the Tuple enqueue object for a streamSBServerManager.getTableAccessor(String tablePath) Return a TableAccessor suitable for manipulating this table.SBServerManager.getTableAccessor(String tablePath, CaptureTransformStrategy captureStrategy) Return a TableAccessor suitable for manipulating this table.SBServerManager.getTimeService()Return the current TimeService implementation used by the StreamBase Engineabstract booleanExpecter.AbstractPredicate.isExpected(Tuple t) booleanExpecter.Predicate.isExpected(Tuple t) voidLoad a module into the default container.voidLoad a module into the specified container.voidSBServerManager.loadAppString(String appString, String container) Load an application (from a String) into the specified container.voidSBServerManager.loadDeploy(String deployFile) Load the given StreamBase deployment file.voidBaseTestEnvironment.setNowImpl(NowImplementation nowImpl) voidSBTestEnvironment.setNowImpl(NowImplementation nowImpl) Set the current implementation of now() functionvoidSBServerManager.shutdownServer()Shutdown the StreamBase Engine, blocking until the StreamBase Engine is finished shutting downvoidSBServerManager.startContainers()Start all the containers for this StreamBase Engine.voidSBServerManager.startContainers(Set<String> containersSuspendedOnStartup) Start all but the specified containers for this StreamBase Engine.voidSBServerManager.startContainers(Set<String> containersSuspendedOnStartup, boolean deferSubscriptions) Start all but the specified containers for this StreamBase EnginevoidSBServerManager.startServer()Start the StreamBase Engine, blocking until the StreamBase Engine will accept connectionsvoidSBServerManager.stopContainers()Stop all containers in this StreamBase EnginevoidSubscribes to a stream.voidSBServerManager.subscribeAll()Subscribes to all streamsConstructors in com.streambase.sb.unittest that throw StreamBaseExceptionModifierConstructorDescriptionFieldBasedTupleComparator(com.streambase.sb.DataType.Registry<FieldBasedTupleComparator.CompareFunctor> comparators, String... fields) ConstructorFieldBasedTupleComparator(FieldBasedTupleComparator baseComparator, String... fields) Constructor -
Uses of StreamBaseException in com.tibco.ep.sb.ads
Subclasses of StreamBaseException in com.tibco.ep.sb.ads
SBUtils.newSchema(String, ByteOrder)