Uses of Class
com.streambase.sb.StreamBaseException
-
Packages that use StreamBaseException Package Description com.streambase.liveview.client Provides classes and interfaces fundamental to the TIBCO LiveView Java API.com.streambase.liveview.server.table.plugin Provides classes and interfaces to add custom table providers to TIBCO LiveView.com.streambase.sb Provides classes and interfaces fundamental to the TIBCO StreamBase Java API.com.streambase.sb.adapter Provides classes and interfaces to add custom adapters to StreamBase applications.com.streambase.sb.client Provides classes and interfaces used to communicate with a StreamBase server.com.streambase.sb.expr com.streambase.sb.feedsim Provides abstract classes to extend feedsim input sources.com.streambase.sb.monitor Provides classes and interfaces to monitor the behavior of a running StreamBase server.com.streambase.sb.operator Provides classes and interfaces to add custom operators to StreamBase applications.com.streambase.sb.unittest Provides classes and interfaces used to author StreamBase Unit tests.com.tibco.ep.sb.ads Provides classes and interfaces for interacting with the TIBCO Artifact Management Server. -
-
Uses of StreamBaseException in com.streambase.liveview.client
Subclasses of StreamBaseException in com.streambase.liveview.client Modifier and Type Class Description classLiveViewConnectionCanceledExceptionException throws when the LiveView connection call is cancelled by the clientclassLiveViewExceptionAn exception thrown by the LiveView ServerclassLiveViewQuerySyntaxExceptionSpecific 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 StreamBaseException Modifier and Type Method Description Map<String,com.streambase.liveview.config.AbstractConfigObject>TableProviderManager. compileLVConfs(List<File> tableFiles, boolean buildYaml)voidTableProviderManager. createTable(String name, LiveviewConfiguration conf, boolean saveInProject)Does pre-checks, saves lvconf file and registers the table in defined state with the services layervoidTableProviderManager. deleteTable(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.sb Modifier and Type Class Description classApplicationValidationExceptionclassNotImplementedExceptionSignals that some feature has not yet been implemented.classNotSupportedExceptionSignals that some feature is not supportedclassNullValueExceptionAn exception that is thrown when a field value is requested as a primitive (e.g., Tuple.getBoolean(), Tuple.getTimestamp()), but it is null.classParsingExceptionclassSchemaMismatchExceptionstatic classSchemaUtil.FieldConflictExceptionA SemanticValidationException that also stores the index of the schema that caused it, when we're computing merges of schemas.classSchemaValidationExceptionException to indicate validation failuresclassSemanticValidationExceptionclassStreamBaseListExceptionAn exception that contains a list of exceptionsclassTupleExceptionTuple manipulation errorclassXmlInterpretationExceptionclassXmlParsingExceptionMethod parameters in com.streambase.sb with type arguments of type StreamBaseException Modifier and Type Method Description static SchemaSchemaUtil. createSchema(Element element, ByteOrder ord, SchemaUtil.SchemaProvider schemaProvider, List<StreamBaseException> errors)Methods in com.streambase.sb that throw StreamBaseException Modifier and Type Method Description voidTimeService. advanceBy(long timeAdvance, TimeUnit timeUnit)Advances 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 futureObjectAbstractFunction. apply(Object... args)ObjectBasicFunction. apply(Tuple input)ObjectFunction. apply(Tuple input)Applies the given arguments to this function and returns the output.ObjectFunction. apply(Object... args)Applies the given arguments to this function and returns the output.static SchemaSchemaUtil. createSchema(String name, Schema definedHere, List<Schema> parentSchemas, 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, 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, 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.ContainerStateConstants.ContainerState. decode(String value)Decode a String value into the proper Container statusstatic Constants.LeadershipStatusConstants.LeadershipStatus. decode(int value)Deprecated.Decode the given integer into a LeadershipStatusstatic Constants.LeadershipStatusConstants.LeadershipStatus. decode(String value)Deprecated.Decode the given String into a LeadershipStatusstatic 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, CSV.FormatInfo format)Create a timestamp using the given string and format.Constants.LeadershipStatusHATupleFields. getLeadershipStatus()SchemaSchemaUtil.SchemaProvider. getSchemaByHash(byte[] hash)request a schema by hashstatic SchemaSBUtils. newSchema(String xmlString, boolean hasHeader, ByteOrder order)Deprecated.use the version without hasHeaderstatic SchemaSBUtils. newSchema(String xmlString, ByteOrder order)static SchemaSBUtils. newSchema(Element element, boolean hasHeader, ByteOrder order)Deprecated.use the version without hasHeaderstatic SchemaSBUtils. newSchema(Element element, ByteOrder order)static StreamPropertiesSBUtils. newStreamProperties(String xmlstring, ByteOrder order)static StreamPropertiesSBUtils. newStreamProperties(Element element, ByteOrder order)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 TupleTupleUtil. randomTuple(Random random, Tuple tuple, int maxCount)Create a tuple which contains random valuesstatic TupleTupleUtil. randomTuple(Random random, Tuple tuple, int maxCount, int flags)Create a tuple which contains random valuesstatic voidTupleJSONUtil. setTuple(Tuple tuple, Object jsonObject, boolean strict)Set the fields of a tuple based on the contents of a JSON objectstatic voidTupleJSONUtil. setTuple(Tuple tuple, Object jsonObject, boolean strict, String timestampFormat)Set the fields of a tuple based on the contents of a JSON objectstatic voidTupleJSONUtil. setTuple(Tuple tuple, Object jsonObject, boolean strict, String timestampFormat, boolean numericTimestampsAsInterval)Set the fields of a tuple based on the contents of a JSON objectstatic voidTupleUtil. setTuple(Tuple tuple, com.alibaba.fastjson.JSONObject object)Set the fields of a tuple based on the contents of a JSON objectstatic voidTupleJSONUtil. setTupleFromJSON(Tuple tuple, String JSONString)Set the fields of a tuple based on the contents of a JSON stringstatic voidTupleJSONUtil. setTupleFromJSON(Tuple tuple, String JSONString, String timestampFormat)Set the fields of a tuple based on the contents of a JSON stringstatic voidTupleJSONUtil. setTupleFromJSON(Tuple tuple, String JSONString, String timestampFormat, boolean numericTimestampsAsInterval)Set the fields of a tuple based on the contents of a JSON stringstatic voidTupleJSONUtil. setTupleFromJSONLoose(Tuple tuple, String JSONString)Set the fields of a tuple based on the contents of a JSON string.static voidTupleJSONUtil. setTupleFromJSONLoose(Tuple tuple, String JSONString, String timestampFormat)Set the fields of a tuple based on the contents of a JSON string.static voidTupleJSONUtil. setTupleFromJSONLoose(Tuple tuple, String JSONString, String timestampFormat, boolean numericTimestampsAsInterval)Set the fields of a tuple based on the contents of a JSON string.Constructors in com.streambase.sb with parameters of type StreamBaseException Constructor Description StreamBaseIllegalArgumentException(StreamBaseException e)Constructors in com.streambase.sb that throw StreamBaseException Constructor Description ClusterNotificationTupleFields(Tuple tuple)HATupleFields(Tuple tuple)Schema(String xmlSchema)Construct a Schema out of XML represented as a StringStreamProperties(String a_xmlString)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 Modifier and Type Method Description voidInputAdapter. processTuple(int inputPort, Tuple tuple) -
Uses of StreamBaseException in com.streambase.sb.client
Subclasses of StreamBaseException in com.streambase.sb.client Modifier and Type Class Description classClientConnectExceptionclassHAServerIOExceptionException thrown when there's an I/O error with a HA serverclassNetworkExceptionException thrown when a network error/problem occursclassProtocolExceptionException thrown when a protocol error/problem occursclassURIExceptionException thrown when URI parsing fails.Methods in com.streambase.sb.client that throw StreamBaseException Modifier and Type Method Description String[]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[]StreamBaseAdminClient. addDeploy(byte[] deployText, String... args)Deprecated.Replaced with application fragments and HOCON configurationString[]StreamBaseAdminClient. addDeploy(File deployFile, String... options)Deprecated.Replaced with application fragments and HOCON configurationString[]StreamBaseAdminClient. addDeploy(String deployText, String... args)Deprecated.Replaced with application fragments and HOCON configurationString[]XmlRpcAdmin. addDeploy(long timeoutMS, byte[] deployFile, List<String> args)booleanXmlRpcAdmin. checkLicense(long timeoutMS, String entityName)intDequeueResult. checkStatus()Check and return the status of this DequeueResult.protected static voidStreamBaseClient. checkValidStreamname(String streamname)Validate stream nameStringStreamBaseAdminClient. clearEvalCache(String containerName)Clear evaluation cacheStringXmlRpcAdmin. clearEvalCache(long timeoutMS, String containerName)voidStreamBaseClient. close()voidStreamBaseClient. close(String msg)Flush all buffers and close the connection to the StreamBase server.DequeueResultDeMUXStreamBaseClient. dequeue()DequeueResultDeMUXStreamBaseClient. dequeue(long timeoutMS)DequeueResultStreamBaseClient. dequeue()Dequeue a batch of tuples from a subscribed stream.DequeueResultStreamBaseClient. dequeue(long timeoutMS)Dequeue a batch of tuples from a subscribed stream.StringStreamBaseClient. describe(String entityName)Return an XML description of a StreamBase entityStringXmlRpcAdmin. describe(long timeoutMS, String entityName)voidStreamBaseAdminClient. drain()Drain a StreamBase Server Has no effect if the server is not runningvoidStreamBaseAdminClient. drain(String containerName)Drain 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.voidStreamBaseClient. enqueue(String stream, Tuple tuple)Enqueue 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 orderingSet<StreamProperties>StreamBaseClient. getAllStreamProperties(EntityType type)Return all the StreamProperties available.Set<StreamProperties>StreamBaseClient. getAllStreamProperties(EntityType type, CaptureTransformStrategy strategy)Return all the StreamProperties availableByteOrderXmlRpcAdmin. getByteOrder(long timeoutMS)ObjectStreamBaseClient. getDynamicVariable(String dynamicVariablePath)Get the given dynamic variableSchema.FieldXmlRpcAdmin. getDynamicVariableField(long timeoutMS, Path dynvarPath)TupleStreamBaseClient. getDynamicVariables(String modulePath)Get a Tuple of all the dynamic variables on the given moduleTupleXmlRpcAdmin. getDynamicVariables(long timeoutMS, Path modulePath)StringStreamBaseAdminClient. getEvalCacheContent(String containerName)Get evaluation cache contentStringXmlRpcAdmin. getEvalCacheContent(long timeoutMS, String containerName)Constants.LeadershipStatusStreamBaseAdminClient. getLeadershipStatus()Deprecated.Legacy high-availability service, migrate to SB 10 high-availability service.Constants.LeadershipStatusXmlRpcAdmin. getLeadershipStatus(long timeoutMS)StringStreamBaseAdminClient. getMapperCacheContent(String containerName)Get mapper cache contentsStringXmlRpcAdmin. getMapperCacheContent(long timeoutMS, String containerName)Map<Integer,String>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)StringStreamBaseAdminClient. getOperatorProperty(String operatorName, String propertyName)Return the value of the given property on the given Operator.StringXmlRpcAdmin. getOperatorProperty(long timeoutMS, String operatorName, String propertyName)SchemaStreamBaseClient. getSchemaByHash(byte[] hash)Return the Schema object for the given hash valueSchemaXmlRpcAdmin. getSchemaByHash(long timeoutMS, byte[] hash)SchemaStreamBaseClient. getSchemaByName(String name)Return the Schema object for the given name.SchemaXmlRpcAdmin. getSchemaByName(long timeoutMS, String schemaName)SchemaStreamBaseClient. getSchemaForStream(String streamName)Return the schema of a stream.StreamPropertiesStreamBaseClient. getStreamProperties(String streamName)Return the StreamProperties for the given stream nameStreamPropertiesStreamBaseClient. getStreamProperties(String streamName, CaptureTransformStrategy strategy)Return the StreamProperties for the given stream nameStreamPropertiesXmlRpcAdmin. getStreamProperties(long timeoutMS, String streamName)StreamPropertiesXmlRpcAdmin. getStreamProperties(long timeoutMS, String streamName, CaptureTransformStrategy strategy)StreamPropertiesStreamBaseClient. getStreamPropertiesByHash(byte[] hash)Return the StreamProperties for the given hash StreamProperties are cached locally in the client.StreamPropertiesStreamBaseClient. getStreamPropertiesByHash(String hashHexString)Return the StreamProperties for the given hash StreamProperties are cached locally in the client.StreamPropertiesXmlRpcAdmin. getStreamPropertiesByHash(long timeoutMS, byte[] hash)StringStreamBaseAdminClient. getTargetTime()Get target timeStringXmlRpcAdmin. getTargetTime(long timeoutMS)static SSLSocketFactorySSLUtils. initSSL()static SSLSocketFactorySSLUtils. initSSL(String keystore, String keystorePass, String keyPass)String[]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 SSLContextSSLUtils. makeSSLContext(String keystore, String keystorePass, String keyPass)static 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[]XmlRpcAdmin. manageJdbcConnections(long timeoutMS, List<String> args)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[]XmlRpcAdmin. modifyContainer(long timeoutMS, String containerName, List<String> args)Modify the given containerString[]XmlRpcAdmin. operatorStatus(long timeoutMS, String containerName)static String[]XmlRpcAdmin. processListConnections(CharSequence xmlListConnections)process the XML document that is the result of a LIST_CONNECTIONS callList<Tuple>StreamBaseClient. readTable(String tablePath, int rowLimit)Return rows from a Query Table or Materialized Window.List<Tuple>StreamBaseClient. readTable(String tablePath, int rowLimit, String predicate)Return rows from a Query Table or Materialized Window, applying an optional predicate to decide which rows are returned.List<Tuple>XmlRpcAdmin. readTable(long timeoutMS, String tablePath, int rowLimit, String predicate)String[]StreamBaseAdminClient. removeContainer(String containerName, String... args)Remove the given container in the StreamBase serverString[]XmlRpcAdmin. removeContainer(long timeoutMS, String containerName, List<String> args)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.voidXmlRpcAdmin. restartOperators(long timeoutMS, List<String> operatorNames)StreamPropertiesDeMUXStreamBaseClient. resubscribe(StreamProperties props, String logicalstream, String predicate)StreamPropertiesDeMUXStreamBaseClient. resubscribe(String streamname, String logicalstream, String predicate)StreamPropertiesStreamBaseClient. resubscribe(StreamProperties props, String logicalstream, String predicate)Resubscribe to a stream with a predicate.StreamPropertiesStreamBaseClient. resubscribe(String streamname, String logicalstream, String predicate)Resubscribe to a stream with a predicate.voidStreamBaseAdminClient. resume(String containerName)Resume a container in a StreamBase servervoidXmlRpcAdmin. resume(long timeoutMS, String containerName)voidStreamBaseAdminClient. resumeOperators(List<String> operatorNames)Resume the given Operators on the StreamBase servervoidXmlRpcAdmin. resumeOperators(long timeoutMS, List<String> operatorNames)voidStreamBaseClient. setDynamicVariable(String dynvarPath, Object value)Set the given dynamic variable to a new valuevoidXmlRpcAdmin. setDynamicVariable(long timeoutMS, Path dynamicVariablePath, Object value)voidStreamBaseAdminClient. setLeadershipStatus(Constants.LeadershipStatus leadershipStatus)Deprecated.Legacy high-availability service, migrate to SB 10 high-availability service.voidXmlRpcAdmin. setLeadershipStatus(long timeoutMS, Constants.LeadershipStatus leadershipStatus)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.voidXmlRpcAdmin. setRuntimeParam(long timeoutMS, String paramName, String paramValue, String operator)StringStreamBaseAdminClient. shutdown()Shutdown a StreamBase serverStringStreamBaseAdminClient. shutdown(String containerName)Shutdown a container within a StreamBase serverStringXmlRpcAdmin. shutdown(long timeoutMS, String containerName)voidStreamBaseAdminClient. shutdownOperators(List<String> operatorNames)Shut down the given Operators on the StreamBase server.voidXmlRpcAdmin. shutdownOperators(long timeoutMS, List<String> operatorNames)String[]XmlRpcAdmin. status(long timeoutMS, boolean verbose)StreamPropertiesDeMUXStreamBaseClient. subscribe(StreamProperties props)StreamPropertiesDeMUXStreamBaseClient. subscribe(StreamProperties props, String logicalstream, String predicate)StreamPropertiesDeMUXStreamBaseClient. subscribe(String streamname)StreamPropertiesDeMUXStreamBaseClient. subscribe(String streamName, CaptureTransformStrategy strategy)StreamPropertiesDeMUXStreamBaseClient. subscribe(String streamName, CaptureTransformStrategy strategy, String logicalstream, String predicate)StreamPropertiesDeMUXStreamBaseClient. subscribe(String streamname, String logicalstream, String predicate)StreamPropertiesDeMUXStreamBaseClient. subscribe(String streamname, String logicalstream, String predicate, DeMUXStreamBaseClient.DequeueListener listener)This is the only subscribe operation that is supported by the DeMUXStreamBaseClientStreamPropertiesStreamBaseClient. subscribe(StreamProperties props)Subscribe to a streamStreamPropertiesStreamBaseClient. subscribe(StreamProperties props, String logicalstream, String predicate)Subscribe to a stream with a predicate.StreamPropertiesStreamBaseClient. subscribe(String streamname)Subscribe to a streamStreamPropertiesStreamBaseClient. subscribe(String streamName, CaptureTransformStrategy strategy)Subscribe to a streamStreamPropertiesStreamBaseClient. subscribe(String streamName, CaptureTransformStrategy strategy, String logicalstream, String predicate)Subscribe to a stream with a predicate.StreamPropertiesStreamBaseClient. subscribe(String streamname, String logicalstream, String 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 streamvoidStreamBaseAdminClient. suspend(String name)Suspend (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 ServervoidXmlRpcAdmin. suspendOperators(long timeoutMS, List<String> operatorNames)StreamProperties[]StreamBaseClient. typecheck(String application)Typecheck (validate) the given StreamBase Application.StreamProperties[]StreamBaseClient. typecheck(String application, boolean full)Typecheck (validate) the given StreamBase Application.StreamProperties[]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)voidXmlRpcAdmin. unsubscribe(long timeoutMS, String streamName, String logicalName)Unsubscribe a streamprotected voidStreamBaseClient. unsubscribeInternal(StreamProperties logicalProps)Un-subscribe from streamConstructors in com.streambase.sb.client that throw StreamBaseException Constructor Description DeMUXStreamBaseClient(StreamBaseURI streamBaseURI)DeMUXStreamBaseClient(String uri)DeMUXStreamBaseClient(List<StreamBaseURI> uris, ClientSettings settings)SSLSocketWrapper(StreamBaseURI uri, ClientSettings settings)StreamBaseAdminClient()Create a StreamBaseAdminClient.StreamBaseAdminClient(StreamBaseURI uri)Create a StreamBaseAdminClient, connecting to the server at the provided URI.StreamBaseAdminClient(String uri)Create a StreamBaseAdminClient.StreamBaseAdminClient(List<StreamBaseURI> uris)Create a StreamBaseAdminClient.StreamBaseAdminClient(List<StreamBaseURI> uris, ClientSettings settings)Create a StreamBaseAdminClient.StreamBaseClient()Create a StreamBaseClient.StreamBaseClient(StreamBaseURI uri)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.expr Modifier and Type Class Description classExprExceptionSemantic exception parsing an expression. -
Uses of StreamBaseException in com.streambase.sb.feedsim
Methods in com.streambase.sb.feedsim that throw StreamBaseException Modifier and Type Method Description abstract SchemaFeedSimTupleInputStream. getSchema()This method must return the Schema of the data to be returned by readTuple()abstract TupleFeedSimTupleInputStream. readTuple()This method is called by a FeedSim thread to get the next tuple to send. -
Uses of StreamBaseException in com.streambase.sb.monitor
Methods in com.streambase.sb.monitor that throw StreamBaseException Modifier and Type Method Description static StringStatsUtil. getName(StatsUtil.IdentityHelper helper, StatTuplev3 st)Fetch the item name using the clientStringStatsUtil.IdentityHelper. getName(StatTuplev3 st)StringStatsUtil.IdentityHelper. getNameFromId(long id)Stats Stream v3 only.protected StringSnapshot. getOperatorType(StreamBaseClient sbClient, String name)Map<Integer,String>StatsUtil.IdentityHelper.IdentityUpdater. getUpdateByContainerId(int containerId)Iterator<Tuple>Snapshot.Source. nextResult()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 StreamBaseException Constructor Description StreamBaseMonitor(StreamBaseClient client)Create a monitoring object, which will connect to a server with the given StreamBaseClient object.StreamBaseMonitor(StreamBaseClient sbClient, String streamName)ConstructorStreamBaseMonitor(StreamBaseURI uri)Create 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.operator Modifier and Type Class Description classAlreadyRegisteredExceptionclassDbConnectTypecheckExceptionclassOperator.PropertyTypecheckExceptionA typecheck exception associated with an Operator property (or parameter) by name.classParameterInterpretationExceptionclassResourceNotFoundExceptionThrown when an operator tries to get a resource by name, but no such resource exists.classSqlTypecheckExceptionclassTypecheckExceptionMay be thrown when an error occurs during an Operator's typecheck() method.Methods in com.streambase.sb.operator that throw StreamBaseException Modifier and Type Method Description voidRowConsumer. consume(Tuple row)Override this method to consume rows.TupleTableAccessor. delete(Tuple pkey)Delete a row in the table based on primary key.StringOperator. evaluate(String st, Tuple input)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 queryInputStreamIResourceReader. getResourceContents(String name)InputStreamOperator. getResourceContents(String name)Returns an open input stream on the contents of the named resource file.FileIResourceReader. getResourceFile(String name)FileOperator. getResourceFile(String name)Returns aFilepointing to the regular file or directory if it exists.TableAccessorOperator. getTableAccessor(String name)Get a TableAccessor for a table in the local module by name of that table.TupleCaptureTransformerOperator. 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 schema This method may only be called at runtime; the exact schemas of any capture fields are not fully determined at typecheck time.voidOperator. init()After the Operator has typechecked successfully, but before the application or any managed threads start, the StreamBase server will call the init method.voidTableAccessor. insert(Tuple row)Insert a new row into the table.PreparedQueryTableAccessor. prepare(String predicate, Schema args)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.TupleTableAccessor. readPrimary(Tuple pkey)Read a row from the table by primary key.voidOperator. registerRunnable(Runnable operatorRunnable)Deprecated.As of StreamBase version 3.7, replaced byOperator.registerRunnable(Runnable, boolean)voidOperator. registerRunnable(Runnable operatorRunnable, boolean shouldInterrupt)Register a Runnable object to be managed by this Operator.voidOperator. registerRunnable(String runnableName, Runnable operatorRunnable, boolean shouldInterrupt)Register a Runnable object to be managed by this Operator.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.TupleTableAccessor. replace(Tuple row)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 Constructor Description TypecheckException(StreamBaseException cause) -
Uses of StreamBaseException in com.streambase.sb.unittest
Methods in com.streambase.sb.unittest that throw StreamBaseException Modifier and Type Method Description booleanFieldBasedTupleComparator. compare(Tuple expected, Tuple actual)booleanFieldBasedTupleComparator.CompareFunctor. compare(TupleComparator comparator, CompleteDataType cdt, Object expected, Object actual)booleanTupleComparator. compare(Tuple expected, Tuple actual)Compare 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)TupleCSVTupleMaker. createTuple(Schema schema, String str)TupleJSONSingleQuotesTupleMaker. createTuple(Schema schema, String str)TupleJSONTupleMaker. createTuple(Schema schema, String str)TupleObjectArrayTupleMaker. createTuple(Schema schema, Object[] objs)TupleTupleMaker. createTuple(Schema schema, T t)create aTuples from an input objectList<Tuple>AbstractTupleMaker. createTuples(Schema schema, Collection<T> ts)List<Tuple>AbstractTupleMaker. createTuples(Schema schema, T... ts)List<Tuple>TupleMaker. createTuples(Schema schema, Collection<T> t)create multipleTuples from input objectsList<Tuple>TupleMaker. createTuples(Schema schema, T... t)create multipleTuples from input objectsList<Tuple>Dequeuer. 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 returningList<Tuple>Dequeuer. dequeue(int numTuples, long timeout, TimeUnit timeUnit)Try 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.voidEnqueuer. enqueue(Tuple tuple)Enqueue Tuple to the streamvoidEnqueuer. enqueue(Tuple... tuples)Enqueue 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.voidEnqueuer. enqueue(List<Tuple> tuples)Enqueue multiple tuples to the streamvoidExpecter. expect(Tuple tuple)Expect a tuple from the dequeuer.voidExpecter. expect(Tuple... tuples)Expect 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.voidExpecter. expect(List<Tuple> expected)Expect 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 dequeuerStringBaseTestEnvironment. getConf()StringSBTestEnvironment. getConf()DequeuerSBServerManager. getDequeuer(String path)Get the Tuple dequeue object for a streamstatic SBServerManagerServerManagerFactory. getEmbeddedServer()static SBServerManagerServerManagerFactory. getEmbeddedServer(SBTestEnvironment testEnv)static SBServerManagerServerManagerFactory. getEmbeddedServer(String confFilePath)EnqueuerSBServerManager. getEnqueuer(String path)Get the Tuple enqueue object for a streamTableAccessorSBServerManager. getTableAccessor(String tablePath)Return a TableAccessor suitable for manipulating this table.TableAccessorSBServerManager. getTableAccessor(String tablePath, CaptureTransformStrategy captureStrategy)Return a TableAccessor suitable for manipulating this table.TimeServiceSBServerManager. getTimeService()Return the current TimeService implementation used by the StreamBase Engineabstract booleanExpecter.AbstractPredicate. isExpected(Tuple t)booleanExpecter.Predicate. isExpected(Tuple t)voidSBServerManager. loadApp(String fullyQualifiedModuleName)Load a module into the default container.voidSBServerManager. loadApp(String fullyQualifiedModuleName, String container)Load 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 EnginevoidSBServerManager. subscribe(String streamPath)Subscribes to a stream.voidSBServerManager. subscribeAll()Subscribes to all streamsConstructors in com.streambase.sb.unittest that throw StreamBaseException Constructor Description FieldBasedTupleComparator(DataType.Registry<FieldBasedTupleComparator.CompareFunctor> comparators, String... fields)FieldBasedTupleComparator(FieldBasedTupleComparator baseComparator, String... fields) -
Uses of StreamBaseException in com.tibco.ep.sb.ads
Subclasses of StreamBaseException in com.tibco.ep.sb.ads Modifier and Type Class Description classArtifactExceptionArtifact exception.
-