Uses of Class
com.streambase.sb.Tuple
Package
Description
Provides classes and interfaces fundamental to the LiveView Java API.
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.
-
Uses of Tuple in com.streambase.liveview.client
Modifier and TypeFieldDescriptionprotected final Tuple
AbstractTupleEvent.keyData
protected final Tuple
AbstractTupleEvent.tuple
protected final Tuple
HashableTuple.tuple
Modifier and TypeMethodDescriptionTupleUpdatedEvent.getOld()
Retrieve the old version of the tuple.final Tuple
AbstractTupleEvent.getTuple()
Get the tupleGet a tuple from the KeyValue obtained from an Event.DeleteQueryListener.next()
Retrieves the next tuple in the result.SnapshotQueryListener.next()
Retrieves the next tuple in the result.SnapshotResult.next()
Retrieves the next tuple in the result.LiveViewConnection.sendTupleAction
(StreamBaseURI sbUri, String targetInputStreamName, Tuple tuple, String responseOutputStreamName, Schema expectedResponseSchema, long timeout, TimeUnit unit) Sends a tuple to an existing StreamBase application.Modifier and TypeMethodDescriptionfinal Collection<Tuple>
LiveResult.getTuples()
Retrieves the current tuples in the result.final Collection<Tuple>
LiveResult.getTuples
(boolean waitForSnapshot) Retrieves the current tuples in the resultModifier and TypeMethodDescriptionvoid
Publish a tuple with a sequenceNumber.void
Publish a tuple with a sequenceNumber.void
Publish a tuple without regard for recovering since no sequence number is specified.void
Publish a tuple without regard for recovering since no sequence number is specified.LiveViewConnection.sendTupleAction
(StreamBaseURI sbUri, String targetInputStreamName, Tuple tuple, String responseOutputStreamName, Schema expectedResponseSchema, long timeout, TimeUnit unit) Sends a tuple to an existing StreamBase application.ModifierConstructorDescriptionAbstractTupleEvent
(Object source, Long key, Tuple tuple, Tuple keyData, List<com.streambase.liveview.client.internal.TupleFieldComparator> fieldComparators) HashableTuple
(Tuple tuple) TupleAddedEvent
(Object source, Long key, Tuple tuple) Deprecated.TupleAddedEvent
(Object source, Long oldKey, Tuple tuple, Tuple keyData, List<com.streambase.liveview.client.internal.TupleFieldComparator> fieldComparators) TupleRemovedEvent
(Object source, Long key, Tuple tuple) Deprecated.TupleRemovedEvent
(Object source, Long oldKey, Tuple tuple, Tuple keyData, List<com.streambase.liveview.client.internal.TupleFieldComparator> fieldComparators) TupleUpdatedEvent
(Object source, Long oldKey, Tuple oldTuple, Tuple newTuple, Tuple keyData, List<Schema.Field> changedFields, List<com.streambase.liveview.client.internal.TupleFieldComparator> fieldComparators) TupleUpdatedEvent
(Object source, Long key, Tuple oldTuple, Tuple newTuple, List<Schema.Field> changedFields) Deprecated. -
Uses of Tuple in com.streambase.sb
Modifier and TypeClassDescriptionclass
Subclass of tuple that indicates a tuple has a compiled representation for better performance.Modifier and TypeMethodDescriptionReadOnlyTupleByIndexWrapper.clone()
Tuple.clone()
Clone this tuple, the new tuple will not share any buffers or data with the originalCapture all the extra fields in 'in' into their correct capture fields.ReadOnlyCompositeTuple.createReadOnlyTuple()
ReadOnlyTupleByIndexWrapper.createReadOnlyTuple()
ReadOnlyTupleRep.createReadOnlyTuple()
ReadWriteTupleWrapper.createReadOnlyTuple()
abstract Tuple
Tuple.createReadOnlyTuple()
Return a new tuple that is guaranteed to be read onlyTupleRep.createReadOnlyTuple()
Schema.createTuple()
Create a Tuple with this schema.Schema.createTuple
(String... fieldValues) Create a Tuple with this schema from the supplied collection of stringsSchema.createTuple
(String[] fieldValues, int offset, int length) Create a Tuple with this schema from the supplied collection of stringsSchema.createTuple
(String[] fieldValues, int offset, int length, String nullString) Create a Tuple with this schema from the supplied collection of stringsSchema.createTuple
(List<String> fieldValues, int offset, int length) Create a Tuple with this schema from the supplied collection of stringsSchema.createTuple
(List<String> fieldValues, int offset, int length, String nullString) Create a Tuple with this schema from the supplied collection of stringsReadOnlyTuple.createWritableTuple()
ReadWriteTupleWrapper.createWritableTuple()
abstract Tuple
Tuple.createWritableTuple()
Return a new tuple that is guaranteed to be writableTupleRep.createWritableTuple()
Expand all the capture fields in 'in'final Tuple
Tuple.getAllocatedTuple
(int fieldIndex) Return a reference (not a copy) to the specified nested tuple field.Tuple.getAllocatedTuple
(Schema.Field field) Return a reference (not a copy) to the specified nested tuple field.final Tuple
Tuple.getAllocatedTuple
(String fieldPathName) Return a reference (not a copy) to the specified nested tuple field.ReadWriteTupleWrapper.getBaseTuple()
Returns the tuple wrapped inside this.final Tuple
Tuple.getCapture
(int fieldIndex) Return the value of the named capture field.final Tuple
Tuple.getCapture
(Schema.Field field) Return the value of the named capture field.final Tuple
Tuple.getCapture
(String fieldPathName) Return the value of the named capture field.protected Tuple
ReadOnlyCompositeTuple.getCaptureImpl
(Schema.Field field) protected Tuple
ReadOnlyTupleByIndexWrapper.getCaptureImpl
(Schema.Field field) ReadOnlyTupleRep.getCaptureImpl
(Schema.Field field) protected Tuple
ReadWriteTupleWrapper.getCaptureImpl
(Schema.Field field) protected abstract Tuple
Tuple.getCaptureImpl
(Schema.Field field) Get capture fieldprotected Tuple
TupleRep.getCaptureImpl
(Schema.Field field) abstract Tuple
AbstractFunction.getEnvironmentBindings()
Tuple with the vars in this function's context.BasicFunction.getEnvironmentBindings()
protected Tuple
ReadOnlyCompositeTuple.getReadOnlyTuple
(Schema.Field field, int flags) protected abstract Tuple
ReadOnlyTuple.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 Tuple
ReadOnlyTupleByIndexWrapper.getReadOnlyTuple
(Schema.Field field, int flags) protected Tuple
ReadOnlyTupleRep.getReadOnlyTuple
(Schema.Field field, int flags) final Tuple
Tuple.getTuple
(int fieldIndex) Return a reference (not a copy) to the specified nested tuple field.Tuple.getTuple
(Schema.Field field) Return a reference (not a copy) to the specified nested tuple field.final Tuple
Return a reference (not a copy) to the specified nested tuple field.protected final Tuple
ReadOnlyTuple.getTupleImpl
(Schema.Field field, int flags) Get the tuple for the given field.protected Tuple
ReadWriteTupleWrapper.getTupleImpl
(Schema.Field field, int flags) TupleRep.getTupleImpl
(Schema.Field field, int flags) static Tuple
ClusterNotificationTupleFields.newTuple
(int clusterEventType, String param0, String param1, String param2) Return a new ClusterNotification tuple.static Tuple
ControlStream.newTuple
(com.streambase.sb.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 Tuple
TupleUtil.randomTuple
(Tuple tuple, int maxCount) Create a tuple which contains random valuesstatic Tuple
TupleUtil.randomTuple
(Tuple tuple, int maxCount, int flags) Create a tuple which contains random valuesstatic Tuple
Create a tuple which contains random valuesstatic Tuple
Create a tuple which contains random valuesModifier and TypeMethodDescriptionstatic boolean
TupleUtil.allFieldsNull
(Tuple t) are all the fields in this tuple nullBasicFunction.apply
(Tuple input) Applies the given arguments to this function and returns the output.Capture all the extra fields in 'in' into their correct capture fields.(package private) static void
DataTypeCopier.copyField
(Tuple sourceTuple, Schema.Field sourceField, Tuple destTuple, Schema.Field destField, com.streambase.sb.DataTypeCopier fieldCopier) Copy the field from the source tuple to the destination tuplevoid
Tuple.copyField
(Schema.Field sourceField, Tuple destTuple, Schema.Field destField) Copy the field from this tuple to the destination tuple(package private) void
ListCopier.copyList
(Tuple sourceTuple, Schema.Field sourceField, Tuple destTuple, Schema.Field destField) Copy listprotected void
copy the source tuple to this tuplevoid
Copy the fields from the sourceTuple to the destTuple.Expand all the capture fields in 'in'Tuple.DefaultTupleFormatter.formatTuple
(Tuple t) Tuple.TupleFormatter.formatTuple
(Tuple t) Return a string representation of the given StreamBase Tuple valueint
TupleUtil.RepMethods.getFieldLength
(Tuple tuple, Schema.Field field) Get field lengthHandles the processing of a JSON value into a tuple, replaces the deprecated setTupleFromJSON and setTuple methods in the API.static Tuple
TupleUtil.randomTuple
(Tuple tuple, int maxCount) Create a tuple which contains random valuesstatic Tuple
TupleUtil.randomTuple
(Tuple tuple, int maxCount, int flags) Create a tuple which contains random valuesstatic Tuple
Create a tuple which contains random valuesstatic Tuple
Create a tuple which contains random valuescom.streambase.sb.ReadOnlyCompositeTuple
ReadOnlyCompositeTuple.reset
(Tuple... newTuples) Reset the tuple with a set of newTuples.void
ReadWriteTupleWrapper.setBaseTuple
(Tuple base) Set base tuplefinal void
Tuple.setCapture
(int field, Tuple value) Set a specified capture field to a copy of a specified tuple.final void
Tuple.setCapture
(Schema.Field field, Tuple value) Set a specified capture field to a copy of a specified tuple.final void
Tuple.setCapture
(String field, Tuple value) Set a specified capture field to a copy of a specified tuple.protected void
ReadOnlyTuple.setCaptureImpl
(Schema.Field field, Tuple value, boolean makeCopy) protected void
ReadWriteTupleWrapper.setCaptureImpl
(Schema.Field field, Tuple value, boolean makeCopy) void
TupleRep.setCaptureImpl
(Schema.Field field, Tuple value, boolean makeCopy) static void
TupleUtil.setField
(Tuple tuple, Schema.Field field, CharSequence value, com.streambase.sb.util.CSV.FormatInfo csvFormat) Set a specified field to the values the supplied value string.static void
TupleUtil.setField
(Tuple tuple, Schema.Field field, CharSequence value, String nullString) Deprecated.final void
Set a specified nested tuple field to that of the specified tuple.void
Tuple.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.final void
Set a named nested tuple field to a specified tuple.static void
Deprecated.Use theTupleJSONUtil.SetTupleFromJSON
Builder and its .process() to handle this functionalitystatic void
Deprecated.Use theTupleJSONUtil.SetTupleFromJSON
Builder and its .process() to handle this functionalitystatic void
TupleJSONUtil.setTuple
(Tuple tuple, Object jsonObject, boolean strict, String timestampFormat, boolean numericTimestampsAsInterval) Deprecated.Use theTupleJSONUtil.SetTupleFromJSON
Builder and its .process() to handle this functionalitystatic void
TupleUtil.setTuple
(Tuple tuple, com.fasterxml.jackson.databind.JsonNode object) Set the fields of a tuple based on the contents of a JSON objectstatic void
TupleJSONUtil.setTupleFromJSON
(Tuple tuple, String JSONString) Deprecated.Use theTupleJSONUtil.SetTupleFromJSON
Builder and its .process() to handle this functionalitystatic void
TupleJSONUtil.setTupleFromJSON
(Tuple tuple, String JSONString, String timestampFormat) Deprecated.Use theTupleJSONUtil.SetTupleFromJSON
Builder and its .process() to handle this functionalitystatic void
TupleJSONUtil.setTupleFromJSON
(Tuple tuple, String JSONString, String timestampFormat, boolean numericTimestampsAsInterval) Deprecated.Use theTupleJSONUtil.SetTupleFromJSON
Builder and its .process() to handle this functionalitystatic void
TupleJSONUtil.setTupleFromJSONLoose
(Tuple tuple, String JSONString) Deprecated.Use theTupleJSONUtil.SetTupleFromJSON
Builder and its .process() to handle this functionalitystatic void
TupleJSONUtil.setTupleFromJSONLoose
(Tuple tuple, String JSONString, String timestampFormat) Deprecated.Use theTupleJSONUtil.SetTupleFromJSON
Builder and its .process() to handle this functionalitystatic void
TupleJSONUtil.setTupleFromJSONLoose
(Tuple tuple, String JSONString, String timestampFormat, boolean numericTimestampsAsInterval) Deprecated.Use theTupleJSONUtil.SetTupleFromJSON
Builder and its .process() to handle this functionalityprotected void
ReadOnlyTuple.setTupleImpl
(Schema.Field field, Tuple value) protected void
ReadWriteTupleWrapper.setTupleImpl
(Schema.Field field, Tuple value) void
TupleRep.setTupleImpl
(Schema.Field field, Tuple value) static String
TupleJSONUtil.toJSONListString
(Tuple tuple) Return the JSON string representation of the supplied tuple.static String
TupleJSONUtil.toJSONListString
(Tuple tuple, String timeStampFormat) Return the JSON string representation of the supplied tuple.static String
TupleJSONUtil.toJSONMapString
(Tuple tuple) Return the JSON string representation of the supplied tuple.static String
TupleJSONUtil.toJSONMapString
(Tuple tuple, String timeStampFormat) Return the JSON string representation of the supplied tuple.static String
TupleJSONUtil.toJSONMapStringSingleQuote
(Tuple tuple) Return the single quote JSON string representation of the supplied tuple.static String
TupleJSONUtil.toJSONString
(Tuple t, EnumSet<TupleJSONUtil.Options> options) Convert a tuple to its JSON representation.static String
TupleJSONUtil.toJSONString
(Tuple t, EnumSet<TupleJSONUtil.Options> options, String timestampFormat) Convert a tuple to its JSON representation.static String
TupleUtil.tupleEquals
(Tuple t1, Tuple t2, EnumSet<TupleCopier.Options> options) Compare 2 tuples with the given optionsvoid
TupleCSVCharWriter.write
(Tuple tuple) Writes the contents of a tuple in a CSV format.void
TupleCSVCharWriter.write
(Tuple tuple, com.streambase.sb.TupleCSVOutputWriter.StringQuoteStyle stringQuoteStyle) Writes the contents of a tuple in a CSV format with user specified field quoting behavior.void
TupleCSVCharWriter.write
(Tuple tuple, com.streambase.sb.TupleCSVOutputWriter.StringQuoteStyle stringQuoteStyle, com.streambase.sb.TupleCSVOutputWriter.TimestampStyle timestampStyle) Writes the contents of a tuple in a CSV format with user specified field quoting behavior.void
TupleCSVOutputWriter.write
(Tuple tuple) Writes the contents of a tuple in a CSV format.void
TupleCSVOutputWriter.write
(Tuple tuple, com.streambase.sb.TupleCSVOutputWriter.StringQuoteStyle stringQuoteStyle) Writes the contents of a tuple in a CSV format with user specified field quoting behavior.void
TupleCSVOutputWriter.write
(Tuple tuple, com.streambase.sb.TupleCSVOutputWriter.StringQuoteStyle stringQuoteStyle, com.streambase.sb.TupleCSVOutputWriter.TimestampStyle timestampStyle) Writes the contents of a tuple in a CSV format with user specified field quoting behavior.Modifier and TypeMethodDescription(package private) void
Schema.setTupleClassInfo
(Class<? extends Tuple> tupleClass, Schema.TupleClassInfo info) Set class-specific info about this schema.static String
TupleJSONUtil.toJSONString
(Collection<Tuple> tuples) ModifierConstructorDescriptionBasicFunction
(CompleteDataType.FunctionType type, Tuple environment, String stringRep, String bodyRep, String name) Constructorprotected
ControlStreamTupleFields
(Tuple tuple) ConstructorCreate a Tuple with the given compositeSchema.Create a Tuple WrapperReadWriteTupleWrapper
(Tuple baseTuple) Constructor(package private)
TupleMapView
(Tuple tuple) ConstructorTupleRep
(Tuple other) Copy constructor -
Uses of Tuple in com.streambase.sb.adapter
-
Uses of Tuple in com.streambase.sb.client
Modifier and TypeMethodDescriptionAdmin.getDynamicVariables
(long timeoutMS, com.streambase.sb.util.Path modulePath) Return the current value of the dynamic variables in the given module, as a Tuple of field name to Java value.HAAdmin.getDynamicVariables
(long timeoutMS, com.streambase.sb.util.Path modulePath) 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) Modifier and TypeMethodDescriptionDequeueResult.iterator()
Returns an iterator of all tuples.InternalDequeueResult.iterator()
Returns an iterator of all tuples.SimpleDequeueResult.iterator()
Return rows from the table.Return 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.Modifier and TypeMethodDescriptionprotected void
StreamBaseClient.SerializedTupleBuffer.addToBuffer
(Tuple tuple, int id) Possibly add a tuple if there is roomprotected abstract void
StreamBaseClient.TupleBuffer.addToBuffer
(Tuple tuple, int id) Add to buffer(package private) boolean
Add a tupleprotected void
StreamBaseClient.TupleBuffer.checkTuple
(Tuple tuple) Check tuple to make sure it is up to snuffvoid
StreamBaseClient.enqueue
(StreamProperties props, Tuple tuple) Enqueue a single Tuple onto a stream.void
Enqueue a single Tuple onto a stream.Modifier and TypeMethodDescription(package private) boolean
StreamBaseClient.TupleBuffer.addTuples
(Collection<Tuple> tuples) Add tuplesvoid
StreamBaseClient.enqueue
(StreamProperties props, Collection<Tuple> tuples) Enqueue a collection of Tuples onto a stream.void
StreamBaseClient.enqueue
(String stream, Collection<Tuple> tuples) Enqueue a collection of Tuples onto a stream.ModifierConstructorDescriptionSimpleDequeueResult
(List<Tuple> tuples, StreamProperties props, StreamBaseURI server) Constructor -
Uses of Tuple in com.streambase.sb.feedsim
-
Uses of Tuple in com.streambase.sb.monitor
Modifier and TypeMethodDescriptionPut data in StatBuffer into the tuple; after marshaling, the stat buffer is recycled.Marshal data into tuple, data would be recycledStatTuplev3.marshalTo
(Tuple t) Same as calling What#marshal(Tuple, StatTuple)Modifier and TypeMethodDescriptionSnapshot.getResults()
Get resultsSnapshot.Source.nextResult()
Get next resultModifier and TypeMethodDescription(package private) void
StatTuplev3.fillTuple
(Tuple t) Fill tuple(package private) void
StatTuplev3.fromTuple
(Tuple t) Populate from tuplePut data in StatBuffer into the tuple; after marshaling, the stat buffer is recycled.Marshal data into tuple, data would be recycledStatTuplev3.marshalTo
(Tuple t) Same as calling What#marshal(Tuple, StatTuple)static com.streambase.sb.monitor.StatTuplev3
StatsUtil.toStatTuple
(Tuple t) com.streambase.sb.monitor.StatTuplev3
Retrieve data from tuple and returns a StatBuffercom.streambase.sb.monitor.StatTuplev3
Un-marshal a tuple to a StatTuple -
Uses of Tuple in com.streambase.sb.operator
Modifier and TypeMethodDescriptionTableAccessor.createRow()
Delete a row in the table based on primary key.Operator.getDynamicVariables()
Retrieves a read-only tuple describing the current value of all dynamic variables in the module this operator is contained in.ITupleDataInitializer.newOutputTuple()
Create a new output tuple.default Tuple
ITupleDataInitializer.newOutputTuple
(Tuple inputTuple) Deprecated.Use a combination ofITupleDataInitializer.newOutputTuple()
andITupleDataInitializer.fillOutputTuple(Tuple, Tuple, ITupleHandler)
default Tuple
ITupleDataInitializer.newOutputTuple
(Tuple inputTuple, ITupleDataInitializer.ITupleHandler handler) Deprecated.Use a combination ofITupleDataInitializer.newOutputTuple()
andITupleDataInitializer.fillOutputTuple(Tuple, Tuple, ITupleHandler)
TableAccessor.readPrimary
(Tuple pkey) Read a row from the table by primary key.Replace a row in the table, or insert if there is no existing row with matching primary key.Modifier and TypeMethodDescriptionvoid
void
Override 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 messagevoid
ITupleDataInitializer.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.void
Insert a new row into the table.default Tuple
ITupleDataInitializer.newOutputTuple
(Tuple inputTuple) Deprecated.Use a combination ofITupleDataInitializer.newOutputTuple()
andITupleDataInitializer.fillOutputTuple(Tuple, Tuple, ITupleHandler)
default Tuple
ITupleDataInitializer.newOutputTuple
(Tuple inputTuple, ITupleDataInitializer.ITupleHandler handler) Deprecated.Use a combination ofITupleDataInitializer.newOutputTuple()
andITupleDataInitializer.fillOutputTuple(Tuple, Tuple, ITupleHandler)
void
ITupleDataInitializer.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)abstract void
Operator.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.Replace a row in the table, or insert if there is no existing row with matching primary key.void
Operator.sendErrorOutput
(Throwable t, int port, Tuple errorTuple) Send an exception via the error output portvoid
Operator.sendOutput
(int port, Tuple tuple) Enqueue a Tuple to be sent synchronously to downstream operators.void
Operator.sendOutputAsync
(int port, Tuple tuple) Enqueue a Tuple to be sent asynchronously to downstream operators.Modifier and TypeMethodDescriptionvoid
Operator.sendOutput
(int port, List<Tuple> tuples) Enqueue a List of Tuples to be sent synchronously to downstream operators.void
Operator.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
Modifier and TypeMethodDescriptionabstract Tuple
AbstractTupleMaker.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 aTuple
s from an input objectModifier and TypeMethodDescriptionAbstractTupleMaker.createTuples
(Schema schema, Collection<T> ts) AbstractTupleMaker.createTuples
(Schema schema, T... ts) TupleMaker.createTuples
(Schema schema, Collection<T> t) create multipleTuple
s from input objectsTupleMaker.createTuples
(Schema schema, T... t) create multipleTuple
s from input objectsDequeuer.dequeue
(int numTuples) Try to dequeue tuples with theDequeuer.DEFAULT_TIMEOUT
andDequeuer.DEFAULT_TIMEOUT_UNIT
if numTuples == 0 will return immediately if numTuples < 0 will wait the maximum timeout before returningTry to dequeue tuples within a provided timeout.Modifier and TypeMethodDescriptionboolean
boolean
Compare two tuples.void
Enqueue Tuple to the streamvoid
Enqueue multiple tuples to the streamvoid
Expect a tuple from the dequeuer.void
Expect multiple tuples in a particular order from the dequeuer.void
Expecter.expect
(Expecter.DequeueSetting mode, Tuple expected) Expect a given tuple from the dequeuervoid
Expecter.expect
(Expecter.DequeueSetting mode, Tuple... tuples) Expect multiple tuples in a particular order from the dequeuervoid
Expecter.expectUnordered
(Tuple... expected) Expect multiple tuples in any order from the dequeuer.void
Expecter.expectUnordered
(Expecter.DequeueSetting mode, Tuple... expected) Expect multiple tuples in any order from the dequeuerFieldBasedTupleComparator.formatForErrorMessage
(Tuple t) TupleComparator.formatForErrorMessage
(Tuple t) Convert the provided Tuple into a string appropriate for error messages.abstract boolean
Expecter.AbstractPredicate.isExpected
(Tuple t) boolean
Expecter.Predicate.isExpected
(Tuple t) Modifier and TypeMethodDescriptionvoid
Enqueue multiple tuples to the streamvoid
Expecter.expect
(Expecter.DequeueSetting mode, List<Tuple> expected) Expect multiple tuples in a particular order from the dequeuervoid
Expect multiple tuples in a particular order from the dequeuer.void
Expecter.expectUnordered
(Expecter.DequeueSetting mode, List<Tuple> expected) Expect multiple tuples in any order from the dequeuervoid
Expecter.expectUnordered
(List<Tuple> expected) Expect multiple tuples in any order from the dequeuer.
TupleUtil.setField(Tuple, Field, CharSequence, CSV.FormatInfo)