Uses of Class
com.streambase.sb.Tuple
-
Packages that use Tuple Package Description com.streambase.liveview.client Provides classes and interfaces fundamental to the TIBCO LiveView Java API.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.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. -
-
Uses of Tuple in com.streambase.liveview.client
Fields in com.streambase.liveview.client declared as Tuple Modifier and Type Field Description protected TupleAbstractTupleEvent. keyDataprotected TupleAbstractTupleEvent. tupleprotected TupleHashableTuple. tupleMethods in com.streambase.liveview.client that return Tuple Modifier and Type Method Description TupleTupleUpdatedEvent. getOld()Retrieve the old version of the tuple.TupleAbstractTupleEvent. getTuple()Get the tupleTupleLiveResult. getTuple(KeyValue keyValue)Get a tuple from the KeyValue obtained from an Event.TupleDeleteQueryListener. next()Retrieves the next tuple in the result.TupleSnapshotQueryListener. next()Retrieves the next tuple in the result.TupleSnapshotResult. next()Retrieves the next tuple in the result.TupleLiveViewConnection. sendTupleAction(StreamBaseURI sbUri, String targetInputStreamName, Tuple tuple, String responseOutputStreamName, Schema expectedResponseSchema, long timeout, TimeUnit unit)Sends a tuple to an existing StreamBase application.Methods in com.streambase.liveview.client that return types with arguments of type Tuple Modifier and Type Method Description Collection<Tuple>LiveResult. getTuples()Retrieves the current tuples in the result.Collection<Tuple>LiveResult. getTuples(boolean waitForSnapshot)Retrieves the current tuples in the resultMethods in com.streambase.liveview.client with parameters of type Tuple Modifier and Type Method Description voidTablePublisher. publish(long sequenceNumber, Tuple tuple)Publish a tuple with a sequenceNumber.voidTablePublisher. publish(long sequenceNumber, Boolean CQSDelete, Tuple tuple)Publish a tuple with a sequenceNumber.voidTablePublisher. publish(Tuple tuple)Publish a tuple without regard for recovering since no sequence number is specified.voidTablePublisher. publish(Boolean CQSDelete, Tuple tuple)Publish a tuple without regard for recovering since no sequence number is specified.TupleLiveViewConnection. sendTupleAction(StreamBaseURI sbUri, String targetInputStreamName, Tuple tuple, String responseOutputStreamName, Schema expectedResponseSchema, long timeout, TimeUnit unit)Sends a tuple to an existing StreamBase application.Constructors in com.streambase.liveview.client with parameters of type Tuple Constructor Description AbstractTupleEvent(Object source, Long key, Tuple tuple, Tuple keyData, List<TupleFieldComparator> fieldComparators)HashableTuple(Tuple tuple)TupleAddedEvent(Object source, Long key, Tuple tuple)Deprecated.TupleAddedEvent(Object source, Long oldKey, Tuple tuple, Tuple keyData, List<TupleFieldComparator> fieldComparators)TupleRemovedEvent(Object source, Long key, Tuple tuple)Deprecated.TupleRemovedEvent(Object source, Long oldKey, Tuple tuple, Tuple keyData, List<TupleFieldComparator> fieldComparators)TupleUpdatedEvent(Object source, Long oldKey, Tuple oldTuple, Tuple newTuple, Tuple keyData, List<Schema.Field> changedFields, List<TupleFieldComparator> fieldComparators)TupleUpdatedEvent(Object source, Long key, Tuple oldTuple, Tuple newTuple, List<Schema.Field> changedFields)Deprecated. -
Uses of Tuple in com.streambase.sb
Subclasses of Tuple in com.streambase.sb Modifier and Type Class Description classCompiledTupleSubclass of tuple that indicates a tuple has a compiled representation for better performance.Fields in com.streambase.sb declared as Tuple Modifier and Type Field Description static TupleTuple. EMPTY_TUPLEAn empty tupleMethods in com.streambase.sb that return Tuple Modifier and Type Method Description TupleReadOnlyTupleByIndexWrapper. clone()TupleTuple. clone()Clone this tuple, the new tuple will not share any buffers or data with the originalTupleTupleCaptureTransformer. collapse(Tuple in)Capture all the extra fields in 'in' into their correct capture fields.TupleReadOnlyCompositeTuple. createReadOnlyTuple()TupleReadOnlyTupleByIndexWrapper. createReadOnlyTuple()TupleReadOnlyTupleRep. createReadOnlyTuple()TupleReadWriteTupleWrapper. createReadOnlyTuple()abstract TupleTuple. createReadOnlyTuple()Return a new tuple that is guaranteed to be read onlyTupleTupleRep. createReadOnlyTuple()TupleSchema. createTuple()Create a Tuple with this schema.TupleSchema. createTuple(String... fieldValues)Create a Tuple with this schema from the supplied collection of stringsTupleSchema. createTuple(String[] fieldValues, int offset, int length)Create a Tuple with this schema from the supplied collection of stringsTupleSchema. createTuple(String[] fieldValues, int offset, int length, String nullString)Create a Tuple with this schema from the supplied collection of stringsTupleSchema. createTuple(List<String> fieldValues, int offset, int length)Create a Tuple with this schema from the supplied collection of stringsTupleSchema. createTuple(List<String> fieldValues, int offset, int length, String nullString)Create a Tuple with this schema from the supplied collection of stringsTupleReadOnlyTuple. createWritableTuple()TupleReadWriteTupleWrapper. createWritableTuple()abstract TupleTuple. createWritableTuple()Return a new tuple that is guaranteed to be writableTupleTupleRep. createWritableTuple()TupleTupleCaptureTransformer. expand(Tuple in)Expand all the capture fields in 'in'TupleTuple. getAllocatedTuple(int fieldIndex)Return a reference (not a copy) to the specified nested tuple field.TupleTuple. getAllocatedTuple(Schema.Field field)Return a reference (not a copy) to the specified nested tuple field.TupleTuple. getAllocatedTuple(String fieldPathName)Return a reference (not a copy) to the specified nested tuple field.TupleReadWriteTupleWrapper. getBaseTuple()Returns the tuple wrapped inside this.TupleTuple. getCapture(int fieldIndex)Return the value of the named capture field.TupleTuple. getCapture(Schema.Field field)Return the value of the named capture field.TupleTuple. getCapture(String fieldPathName)Return the value of the named capture field.protected TupleReadOnlyCompositeTuple. getCaptureImpl(Schema.Field field)protected TupleReadOnlyTupleByIndexWrapper. getCaptureImpl(Schema.Field field)TupleReadOnlyTupleRep. getCaptureImpl(Schema.Field field)protected TupleReadWriteTupleWrapper. getCaptureImpl(Schema.Field field)protected abstract TupleTuple. getCaptureImpl(Schema.Field field)Get capture fieldprotected TupleTupleRep. getCaptureImpl(Schema.Field field)abstract TupleAbstractFunction. getEnvironmentBindings()Tuple with the vars in this function's context.TupleBasicFunction. getEnvironmentBindings()protected TupleReadOnlyCompositeTuple. getReadOnlyTuple(Schema.Field field, int flags)protected abstract TupleReadOnlyTuple. getReadOnlyTuple(Schema.Field f, int flags)The method that ReadOnly tuples are supposed to implement to get a nested Tuple so that we can consolidate nested tuple logic here for.protected TupleReadOnlyTupleByIndexWrapper. getReadOnlyTuple(Schema.Field field, int flags)protected TupleReadOnlyTupleRep. getReadOnlyTuple(Schema.Field field, int flags)TupleTuple. getTuple(int fieldIndex)Return a reference (not a copy) to the specified nested tuple field.TupleTuple. getTuple(Schema.Field field)Return a reference (not a copy) to the specified nested tuple field.TupleTuple. getTuple(String fieldPathName)Return a reference (not a copy) to the specified nested tuple field.protected TupleReadOnlyTuple. getTupleImpl(Schema.Field field, int flags)Get the tuple for the given field.protected TupleReadWriteTupleWrapper. getTupleImpl(Schema.Field field, int flags)TupleTupleRep. getTupleImpl(Schema.Field field, int flags)static TupleClusterNotificationTupleFields. newTuple(int clusterEventType, String param0, String param1, String param2)Return a new ClusterNotification tuple.static TupleControlStream. newTuple(ControlStream.Subsystems subsystem, int id, String param0, String param1, String param2)Create a new tuple with the schema of the control stream and set its fields with the supplied values.static TupleHATupleFields. newTuple(Constants.LeadershipStatus leadershipStatus)Return a new HA tuple.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 valuesMethods in com.streambase.sb with parameters of type Tuple Modifier and Type Method Description static booleanTupleUtil. allFieldsNull(Tuple t)are all the fields in this tuple nullObjectBasicFunction. apply(Tuple input)ObjectFunction. apply(Tuple input)Applies the given arguments to this function and returns the output.TupleTupleCaptureTransformer. collapse(Tuple in)Capture all the extra fields in 'in' into their correct capture fields.voidTuple. copyField(Schema.Field sourceField, Tuple destTuple, Schema.Field destField)Copy the field from this tuple to the destination tupleprotected voidTuple. copyTuple(Tuple sourceTuple)copy the source tuple to this tuplevoidTupleCopier. copyTuple(Tuple sourceTuple, Tuple destTuple)Copy the fields from the sourceTuple to the destTuple.TupleTupleCaptureTransformer. expand(Tuple in)Expand all the capture fields in 'in'CharSequenceTuple.DefaultTupleFormatter. formatTuple(Tuple t)CharSequenceTuple.TupleFormatter. formatTuple(Tuple t)Return a string representation of the given StreamBase Tuple valueintTupleUtil.RepMethods. getFieldLength(Tuple tuple, Schema.Field field)Get field lengthstatic 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 valuesReadOnlyCompositeTupleReadOnlyCompositeTuple. reset(Tuple... newTuples)Reset the tuple with a set of newTuples.voidReadWriteTupleWrapper. setBaseTuple(Tuple base)voidTuple. setCapture(int field, Tuple value)Set a specified capture field to a copy of a specified tuple.voidTuple. setCapture(Schema.Field field, Tuple value)Set a specified capture field to a copy of a specified tuple.voidTuple. setCapture(String field, Tuple value)Set a specified capture field to a copy of a specified tuple.protected voidReadOnlyTuple. setCaptureImpl(Schema.Field field, Tuple value, boolean makeCopy)protected voidReadWriteTupleWrapper. setCaptureImpl(Schema.Field field, Tuple value, boolean makeCopy)voidTupleRep. setCaptureImpl(Schema.Field field, Tuple value, boolean makeCopy)static voidTupleUtil. setField(Tuple tuple, Schema.Field field, CharSequence value, CSV.FormatInfo csvFormat)Set a specified field to the values the supplied value string.static voidTupleUtil. setField(Tuple tuple, Schema.Field field, CharSequence value, String nullString)Deprecated.voidTuple. setTuple(int fieldIndex, Tuple value)Set a specified nested tuple field to that of the specified tuple.voidTuple. setTuple(Schema.Field field, Tuple value)Set a specified nested tuple field to that of the specified tuple NOTE: A copy of the the tuple may be made to convert the given tuple to the appropriate internal representation.voidTuple. setTuple(String fieldPathName, Tuple value)Set a named nested tuple field to a specified tuple.static 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.protected voidReadOnlyTuple. setTupleImpl(Schema.Field field, Tuple value)protected voidReadWriteTupleWrapper. setTupleImpl(Schema.Field field, Tuple value)voidTupleRep. setTupleImpl(Schema.Field field, Tuple value)static StringTupleJSONUtil. toJSONListString(Tuple tuple)Return the JSON string representation of the supplied tuple.static StringTupleJSONUtil. toJSONListString(Tuple tuple, String timeStampFormat)Return the JSON string representation of the supplied tuple.static StringTupleJSONUtil. toJSONMapString(Tuple tuple)Return the JSON string representation of the supplied tuple.static StringTupleJSONUtil. toJSONMapString(Tuple tuple, String timeStampFormat)Return the JSON string representation of the supplied tuple.static StringTupleJSONUtil. toJSONMapStringSingleQuote(Tuple tuple)Return the single quote JSON string representation of the supplied tuple.static StringTupleJSONUtil. toJSONString(Tuple t, EnumSet<TupleJSONUtil.Options> options)Convert a tuple to its JSON representation.static StringTupleJSONUtil. toJSONString(Tuple t, EnumSet<TupleJSONUtil.Options> options, String timestampFormat)Convert a tuple to its JSON representation.static StringTupleUtil. tupleEquals(Tuple t1, Tuple t2, EnumSet<TupleCopier.Options> options)Compare 2 tuples with the given optionsvoidTupleCSVCharWriter. write(Tuple tuple)Writes the contents of a tuple in a CSV format.voidTupleCSVCharWriter. write(Tuple tuple, TupleCSVOutputWriter.StringQuoteStyle stringQuoteStyle)Writes the contents of a tuple in a CSV format with user specified field quoting behavior.voidTupleCSVCharWriter. write(Tuple tuple, TupleCSVOutputWriter.StringQuoteStyle stringQuoteStyle, TupleCSVOutputWriter.TimestampStyle timestampStyle)Writes the contents of a tuple in a CSV format with user specified field quoting behavior.voidTupleCSVOutputWriter. write(Tuple tuple)Writes the contents of a tuple in a CSV format.voidTupleCSVOutputWriter. write(Tuple tuple, TupleCSVOutputWriter.StringQuoteStyle stringQuoteStyle)Writes the contents of a tuple in a CSV format with user specified field quoting behavior.voidTupleCSVOutputWriter. write(Tuple tuple, TupleCSVOutputWriter.StringQuoteStyle stringQuoteStyle, TupleCSVOutputWriter.TimestampStyle timestampStyle)Writes the contents of a tuple in a CSV format with user specified field quoting behavior.Method parameters in com.streambase.sb with type arguments of type Tuple Modifier and Type Method Description static StringTupleJSONUtil. toJSONString(Collection<Tuple> tuples)Constructors in com.streambase.sb with parameters of type Tuple Constructor Description BasicFunction(CompleteDataType.FunctionType type, Tuple environment, String stringRep, String bodyRep, String name)ConstructorClusterNotificationTupleFields(Tuple tuple)ControlStreamTupleFields(Tuple tuple)HATupleFields(Tuple tuple)ReadOnlyCompositeTuple(Schema compositeSchema, Tuple... tuples)Create a Tuple with the given compositeSchema.ReadOnlyTupleByIndexWrapper(Schema derived, Tuple baseTuple)Create a Tuple WrapperReadWriteTupleWrapper(Tuple baseTuple)TupleRep(Tuple other) -
Uses of Tuple in com.streambase.sb.adapter
Methods in com.streambase.sb.adapter with parameters of type Tuple Modifier and Type Method Description voidInputAdapter. processTuple(int inputPort, Tuple tuple) -
Uses of Tuple in com.streambase.sb.client
Methods in com.streambase.sb.client that return Tuple Modifier and Type Method Description TupleStreamBaseClient. getDynamicVariables(String modulePath)Get a Tuple of all the dynamic variables on the given moduleTupleXmlRpcAdmin. getDynamicVariables(long timeoutMS, Path modulePath)Methods in com.streambase.sb.client that return types with arguments of type Tuple Modifier and Type Method Description abstract Iterator<Tuple>DequeueResult. iterator()Returns an iterator of all tuples.Iterator<Tuple>InternalDequeueResult. iterator()Returns an iterator of all tuples.Iterator<Tuple>SimpleDequeueResult. iterator()List<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)Methods in com.streambase.sb.client with parameters of type Tuple Modifier and Type Method Description protected voidStreamBaseClient.SerializedTupleBuffer. addToBuffer(Tuple tuple, int id)Possibly add a tuple if there is roomprotected abstract voidStreamBaseClient.TupleBuffer. addToBuffer(Tuple tuple, int id)Add to bufferprotected voidStreamBaseClient.TupleBuffer. checkTuple(Tuple tuple)Check tuple to make sure it is up to snuffvoidStreamBaseClient. enqueue(StreamProperties props, Tuple tuple)Enqueue a single Tuple onto a stream.voidStreamBaseClient. enqueue(String stream, Tuple tuple)Enqueue a single Tuple onto a stream.Method parameters in com.streambase.sb.client with type arguments of type Tuple Modifier and Type Method Description voidStreamBaseClient. enqueue(StreamProperties props, Collection<Tuple> tuples)Enqueue a collection of Tuples onto a stream.voidStreamBaseClient. enqueue(String stream, Collection<Tuple> tuples)Enqueue a collection of Tuples onto a stream.Constructor parameters in com.streambase.sb.client with type arguments of type Tuple Constructor Description SimpleDequeueResult(List<Tuple> tuples, StreamProperties props, StreamBaseURI server, Constants.LeadershipStatus leadershipStatus) -
Uses of Tuple in com.streambase.sb.feedsim
Methods in com.streambase.sb.feedsim that return Tuple Modifier and Type Method Description abstract TupleFeedSimTupleInputStream. readTuple()This method is called by a FeedSim thread to get the next tuple to send. -
Uses of Tuple in com.streambase.sb.monitor
Fields in com.streambase.sb.monitor with type parameters of type Tuple Modifier and Type Field Description protected Iterator<Tuple>Snapshot. resultIteratorMethods in com.streambase.sb.monitor that return Tuple Modifier and Type Method Description TupleStatsUtil.StatEncoder. marshal(Tuple t, StatTuplev3 data)Put data in StatBuffer into the tuple; after marshaling, the stat buffer is recycled.TupleStatsUtil.What. marshal(Tuple t, StatTuplev3 data)Marshal data into tuple, data would be recycledTupleStatTuplev3. marshalTo(Tuple t)Same as calling What#marshal(Tuple, StatTuple)Methods in com.streambase.sb.monitor that return types with arguments of type Tuple Modifier and Type Method Description Iterator<Tuple>Snapshot.Source. nextResult()Methods in com.streambase.sb.monitor with parameters of type Tuple Modifier and Type Method Description protected voidStatTuplev3. fillTuple(Tuple t)protected voidStatTuplev3. fromTuple(Tuple t)TupleStatsUtil.StatEncoder. marshal(Tuple t, StatTuplev3 data)Put data in StatBuffer into the tuple; after marshaling, the stat buffer is recycled.TupleStatsUtil.What. marshal(Tuple t, StatTuplev3 data)Marshal data into tuple, data would be recycledTupleStatTuplev3. marshalTo(Tuple t)Same as calling What#marshal(Tuple, StatTuple)static StatTuplev3StatsUtil. toStatTuple(Tuple t)StatTuplev3StatsUtil.StatEncoder. unmarshal(Tuple t)Retrieve data from tuple and returns a StatBufferStatTuplev3StatsUtil.What. unmarshal(Tuple t)Un-marshal a tuple to a StatTuple -
Uses of Tuple in com.streambase.sb.operator
Methods in com.streambase.sb.operator that return Tuple Modifier and Type Method Description TupleTableAccessor. createRow()TupleTableAccessor. delete(Tuple pkey)Delete a row in the table based on primary key.TupleOperator. getDynamicVariables()Retrieves a read-only tuple describing the current value of all dynamic variables in the module this operator is contained in.TupleTableAccessor. readPrimary(Tuple pkey)Read a row from the table by primary key.TupleTableAccessor. replace(Tuple row)Replace a row in the table, or insert if there is no existing row with matching primary key.Methods in com.streambase.sb.operator with parameters of type Tuple 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 messagevoidTableAccessor. insert(Tuple row)Insert a new row into the table.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.TupleTableAccessor. replace(Tuple row)Replace a row in the table, or insert if there is no existing row with matching primary key.voidOperator. sendErrorOutput(Throwable t, int port, Tuple errorTuple)Send an exception via the error output portvoidOperator. sendOutput(int port, Tuple tuple)Enqueue a Tuple to be sent synchronously to downstream operators.voidOperator. sendOutputAsync(int port, Tuple tuple)Enqueue a Tuple to be sent asynchronously to downstream operators.Method parameters in com.streambase.sb.operator with type arguments of type Tuple Modifier and Type Method Description voidOperator. sendOutput(int port, List<Tuple> tuples)Enqueue a List of Tuples to be sent synchronously to downstream operators.voidOperator. sendOutputAsync(int port, List<Tuple> tuples)Enqueue a List of Tuples to be sent asynchronously to downstream operators. -
Uses of Tuple in com.streambase.sb.unittest
Methods in com.streambase.sb.unittest that return Tuple Modifier and Type Method Description 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 objectMethods in com.streambase.sb.unittest that return types with arguments of type Tuple Modifier and Type Method Description List<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.Methods in com.streambase.sb.unittest with parameters of type Tuple Modifier and Type Method Description booleanFieldBasedTupleComparator. compare(Tuple expected, Tuple actual)booleanTupleComparator. compare(Tuple expected, Tuple actual)Compare two tuples.voidEnqueuer. enqueue(Tuple tuple)Enqueue Tuple to the streamvoidEnqueuer. enqueue(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 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 dequeuerStringFieldBasedTupleComparator. formatForErrorMessage(Tuple t)StringTupleComparator. formatForErrorMessage(Tuple t)Convert the provided Tuple into a string appropriate for error messages.abstract booleanExpecter.AbstractPredicate. isExpected(Tuple t)booleanExpecter.Predicate. isExpected(Tuple t)Method parameters in com.streambase.sb.unittest with type arguments of type Tuple Modifier and Type Method Description voidEnqueuer. enqueue(List<Tuple> tuples)Enqueue multiple tuples to the streamvoidExpecter. expect(Expecter.DequeueSetting mode, List<Tuple> expected)Expect multiple tuples in a particular order from the dequeuervoidExpecter. expect(List<Tuple> expected)Expect multiple tuples in a particular order from the dequeuer.voidExpecter. expectUnordered(Expecter.DequeueSetting mode, List<Tuple> expected)Expect multiple tuples in any order from the dequeuervoidExpecter. expectUnordered(List<Tuple> expected)Expect multiple tuples in any order from the dequeuer.
-