Uses of Class
com.streambase.sb.TupleException
Packages that use TupleException
Package
Description
Provides classes and interfaces to add custom table providers for LiveView.
Provides classes and interfaces fundamental to the Streaming Java API.
Provides classes and interfaces used to communicate with a Streaming server.
Provides classes and interfaces to monitor the behavior of a running Streaming server.
Provides classes and interfaces to add custom operators to Streaming applications.
-
Uses of TupleException in com.streambase.liveview.server.table.plugin
Methods in com.streambase.liveview.server.table.plugin that throw TupleExceptionModifier and TypeMethodDescriptionvoidTableProviderManager.deleteTable(com.streambase.liveview.server.table.CatalogedTable catalogedTable) voidTableProviderManager.dropTables(List<String> tables) voidTableProviderManager.startTables(List<String> tables) -
Uses of TupleException in com.streambase.sb
Subclasses of TupleException in com.streambase.sbModifier and TypeClassDescriptionclassAn exception that is thrown when a field value is requested as a primitive (e.g., Tuple.getBoolean(), Tuple.getTimestamp()), but it is null.Methods in com.streambase.sb that throw TupleExceptionModifier and TypeMethodDescriptionstatic booleanTupleUtil.allFieldsNull(Tuple t) are all the fields in this tuple nullvoidSchema.Field.checkType(CompleteDataType dataType) Check to make sure that the given type is the same as the type of this FieldvoidDeprecated.protected voidTuple.checkType(Schema.Field resolvedField, DataType dataType) Check typeprotected intReadOnlyTupleRep.checkTypeAndNonNull(Schema.Field resolvedField, DataType dataType) override checkTypeAndNonNullprotected intTuple.checkTypeAndNonNull(Schema.Field resolvedField, DataType dataType) check the type and make sure it is non nullCapture 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 voidcopy the source tuple to this tuplevoidCopy the fields from the sourceTuple to the destTuple.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 stringsExpand all the capture fields in 'in'static ObjectTupleUtil.generateRandomValue(Random random, CompleteDataType type, int maxCount, int flags) Build a random value appropriate to the complete data typefinal TupleTuple.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 TupleTuple.getAllocatedTuple(String fieldPathName) Return a reference (not a copy) to the specified nested tuple field.final ByteArrayViewTuple.getBlobBuffer(int fieldIndex) Return a ByteArrayView for a given blob field.Tuple.getBlobBuffer(Schema.Field field) Return a ByteArrayView for a given blob field.final ByteArrayViewTuple.getBlobBuffer(String fieldPathName) Return a ByteArrayView for a given blob field.protected ByteArrayViewReadOnlyCompositeTuple.getBlobBufferImpl(Schema.Field field) protected ByteArrayViewReadOnlyTupleByIndexWrapper.getBlobBufferImpl(Schema.Field field) ReadOnlyTupleRep.getBlobBufferImpl(Schema.Field field) protected ByteArrayViewReadWriteTupleWrapper.getBlobBufferImpl(Schema.Field field) TupleRep.getBlobBufferImpl(Schema.Field field) final booleanTuple.getBoolean(int fieldIndex) Return the value of the boolean field at a specified field index.booleanTuple.getBoolean(Schema.Field field) Return the value of a specified boolean field.final booleanTuple.getBoolean(String fieldPathName) Return the value of a named boolean field.protected byteReadOnlyCompositeTuple.getBooleanAsByteImpl(Schema.Field field) protected byteReadOnlyTupleByIndexWrapper.getBooleanAsByteImpl(Schema.Field field) byteReadOnlyTupleRep.getBooleanAsByteImpl(Schema.Field field) protected byteReadWriteTupleWrapper.getBooleanAsByteImpl(Schema.Field field) byteTupleRep.getBooleanAsByteImpl(Schema.Field field) protected booleanReadOnlyCompositeTuple.getBooleanImpl(Schema.Field field) protected booleanReadOnlyTupleByIndexWrapper.getBooleanImpl(Schema.Field field) booleanReadOnlyTupleRep.getBooleanImpl(Schema.Field field) protected booleanReadWriteTupleWrapper.getBooleanImpl(Schema.Field field) booleanTupleRep.getBooleanImpl(Schema.Field field) final TupleTuple.getCapture(int fieldIndex) Return the value of the named capture field.final TupleTuple.getCapture(Schema.Field field) Return the value of the named capture field.final TupleTuple.getCapture(String fieldPathName) Return the value of the named capture field.protected TupleReadOnlyCompositeTuple.getCaptureImpl(Schema.Field field) protected TupleReadOnlyTupleByIndexWrapper.getCaptureImpl(Schema.Field field) ReadOnlyTupleRep.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) final doubleTuple.getDouble(int fieldIndex) Return the value of the double field at a specified field index.doubleTuple.getDouble(Schema.Field field) Return the value of a specified double field.final doubleReturn the value of a named double field.protected doubleReadOnlyCompositeTuple.getDoubleImpl(Schema.Field field) protected doubleReadOnlyTupleByIndexWrapper.getDoubleImpl(Schema.Field field) doubleReadOnlyTupleRep.getDoubleImpl(Schema.Field field) protected doubleReadWriteTupleWrapper.getDoubleImpl(Schema.Field field) doubleTupleRep.getDoubleImpl(Schema.Field field) Return a Field object with the given field pathname in or under this schema.final ObjectTuple.getField(int fieldIndex) Return the value of the field at a specified field index.final ObjectReturn the value of a named field.intTupleUtil.RepMethods.getFieldLength(Tuple tuple, Schema.Field field) Get field lengthfinal FunctionTuple.getFunction(int fieldIndex) Return the value of the function field at a specified field index.final FunctionTuple.getFunction(Schema.Field field) Return the value of the given function field.final FunctionTuple.getFunction(String fieldName) Return the value of the named function field.protected FunctionReadOnlyCompositeTuple.getFunctionImpl(Schema.Field field) protected FunctionReadOnlyTupleByIndexWrapper.getFunctionImpl(Schema.Field field) protected FunctionReadOnlyTupleRep.getFunctionImpl(Schema.Field field) protected FunctionReadWriteTupleWrapper.getFunctionImpl(Schema.Field field) protected FunctionTupleRep.getFunctionImpl(Schema.Field field) final intTuple.getInt(int fieldIndex) Return the value of the int field at a specified field index.intTuple.getInt(Schema.Field field) Return the value of a specified int field.final intReturn the value of a named int field.protected intReadOnlyCompositeTuple.getIntImpl(Schema.Field field) protected intReadOnlyTupleByIndexWrapper.getIntImpl(Schema.Field field) intReadOnlyTupleRep.getIntImpl(Schema.Field field) protected intReadWriteTupleWrapper.getIntImpl(Schema.Field field) intTupleRep.getIntImpl(Schema.Field field) final List<?> Tuple.getList(int fieldIndex) Return the value of the list field at a specified field index.List<?> Tuple.getList(Schema.Field field) Return the value of a specified list field.final List<?> Return the value of a named list field.protected List<?> ReadOnlyCompositeTuple.getListImpl(Schema.Field field) protected List<?> ReadOnlyTupleByIndexWrapper.getListImpl(Schema.Field field) List<?> ReadOnlyTupleRep.getListImpl(Schema.Field field) protected List<?> ReadWriteTupleWrapper.getListImpl(Schema.Field field) List<?> TupleRep.getListImpl(Schema.Field field) final longTuple.getLong(int fieldIndex) Return the value of the long field at a specified field index.longTuple.getLong(Schema.Field field) Return the value of a specified long field.final longReturn the value of a named long field.protected longReadOnlyCompositeTuple.getLongImpl(Schema.Field field) protected longReadOnlyTupleByIndexWrapper.getLongImpl(Schema.Field field) longReadOnlyTupleRep.getLongImpl(Schema.Field field) protected longReadWriteTupleWrapper.getLongImpl(Schema.Field field) longTupleRep.getLongImpl(Schema.Field field) Schema.Field.getNestedField(String fieldPathName) Return a field that identifies a field in a nested tuple field.Schema.Field.getNestedFields()Return an array of fields, each of which identifies a field in a nested tuple field.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) final StringTuple.getString(int fieldIndex) Return the value of the named string field.Tuple.getString(Schema.Field field) Return the value of a specified string field.final StringReturn the value of the named string field.protected StringReadOnlyCompositeTuple.getStringImpl(Schema.Field field) protected StringReadOnlyTupleByIndexWrapper.getStringImpl(Schema.Field field) ReadOnlyTupleRep.getStringImpl(Schema.Field field) protected StringReadWriteTupleWrapper.getStringImpl(Schema.Field field) TupleRep.getStringImpl(Schema.Field field) final TimestampTuple.getTimestamp(int fieldIndex) Return the value of the timestamp field at a specified field index.Tuple.getTimestamp(Schema.Field field) Return the value of a specified timestamp field.final TimestampTuple.getTimestamp(String fieldPathName) Return the value of a named timestamp field.protected longReadOnlyCompositeTuple.getTimestampAsLongImpl(Schema.Field field) protected longReadOnlyTupleByIndexWrapper.getTimestampAsLongImpl(Schema.Field field) longReadOnlyTupleRep.getTimestampAsLongImpl(Schema.Field field) protected longReadWriteTupleWrapper.getTimestampAsLongImpl(Schema.Field field) longTupleRep.getTimestampAsLongImpl(Schema.Field field) protected TimestampReadOnlyCompositeTuple.getTimestampImpl(Schema.Field field) protected TimestampReadOnlyTupleByIndexWrapper.getTimestampImpl(Schema.Field field) ReadOnlyTupleRep.getTimestampImpl(Schema.Field field) protected TimestampReadWriteTupleWrapper.getTimestampImpl(Schema.Field field) TupleRep.getTimestampImpl(Schema.Field field) final TupleTuple.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 TupleReturn a reference (not a copy) to the specified nested tuple field.intReadOnlyCompositeTuple.getTupleId()return the tupleid of the 0th tuple in the listintReadOnlyTupleByIndexWrapper.getTupleId()intReadOnlyTupleRep.getTupleId()intReadWriteTupleWrapper.getTupleId()protected final TupleReadOnlyTuple.getTupleImpl(Schema.Field field, int flags) Get the tuple for the given field.protected TupleReadWriteTupleWrapper.getTupleImpl(Schema.Field field, int flags) TupleRep.getTupleImpl(Schema.Field field, int flags) final booleanTuple.isNull(int fieldIndex) Determines whether a field in the tuple is null.final booleanDetermines whether a field in the tuple is null.static TupleClusterNotificationTupleFields.newTuple(int clusterEventType, String param0, String param1, String param2) Return a new ClusterNotification tuple.static TupleControlStream.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.com.streambase.sb.ReadOnlyCompositeTupleReadOnlyCompositeTuple.reset(Tuple... newTuples) Reset the tuple with a set of newTuples.final voidTuple.setBlobBuffer(int fieldIndex, ByteArrayView value) Set the blob field at a specified field index to a copy of a specified blob.voidTuple.setBlobBuffer(Schema.Field field, ByteArrayView value) Set a specified blob field to a copy of a specified blob.final voidTuple.setBlobBuffer(String fieldPathName, ByteArrayView value) Set a named blob field to a copy of a specified blob.protected voidReadOnlyTuple.setBlobBufferImpl(Schema.Field field, ByteArrayView value) protected voidReadWriteTupleWrapper.setBlobBufferImpl(Schema.Field field, ByteArrayView value) voidTupleRep.setBlobBufferImpl(Schema.Field field, ByteArrayView blob) final voidTuple.setBoolean(int fieldIndex, boolean value) Set the boolean field at a specified field index to a specified value.voidTuple.setBoolean(Schema.Field field, boolean value) Set a named boolean field to a specified value.final voidTuple.setBoolean(String fieldPathName, boolean value) Set a named boolean field to a specified value.protected voidReadOnlyTuple.setBooleanImpl(Schema.Field field, boolean value) protected voidReadWriteTupleWrapper.setBooleanImpl(Schema.Field field, boolean value) voidTupleRep.setBooleanImpl(Schema.Field field, boolean value) final voidTuple.setCapture(int field, Tuple value) Set a specified capture field to a copy of a specified tuple.final voidTuple.setCapture(Schema.Field field, Tuple value) Set a specified capture field to a copy of a specified tuple.final 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) final voidTuple.setDouble(int fieldIndex, double value) Set the double field at a specified field index to a specified value.voidTuple.setDouble(Schema.Field field, double value) Set a named double field to a specified value.final voidSet a named double field to a specified value.protected voidReadOnlyTuple.setDoubleImpl(Schema.Field field, double value) protected voidReadWriteTupleWrapper.setDoubleImpl(Schema.Field field, double value) voidTupleRep.setDoubleImpl(Schema.Field field, double value) final voidSet the field at a specified field index to a specified boxed value.final voidTuple.setField(Schema.Field field, Object value) Set a specified field to a specified boxed value.final voidTuple.setField(Schema.Field field, Object value, com.streambase.sb.util.CSV.FormatInfo format) Set the field at a specified field name to a specified boxed value.final voidSet the named field to a specified value.final voidSet the field at a specified field name to a specified boxed value.static voidTupleUtil.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 voidTupleUtil.setField(Tuple tuple, Schema.Field field, CharSequence value, String nullString) Deprecated.useTupleUtil.setField(Tuple, Field, CharSequence, CSV.FormatInfo)voidTakes a map of field names and values as Objects and sets the corresponding tuple field with the supplied value.final voidTuple.setFunction(int field, Function value) Set a specified function field to the givenFunctionfinal voidTuple.setFunction(Schema.Field field, Function value) Set a specified function field to the givenFunctionfinal voidTuple.setFunction(String field, Function value) Set a specified function field to the givenFunctionprotected voidReadOnlyTuple.setFunctionImpl(Schema.Field pathlessField, Function value) protected voidReadWriteTupleWrapper.setFunctionImpl(Schema.Field pathlessField, Function value) protected voidTupleRep.setFunctionImpl(Schema.Field field, Function value) final voidTuple.setInt(int fieldIndex, int value) Set the int field at a specified field index to a specified value.voidTuple.setInt(Schema.Field field, int value) Set a specified int field to a specified value.final voidSet the named int field to a specified value.protected voidReadOnlyTuple.setIntImpl(Schema.Field field, int value) protected voidReadWriteTupleWrapper.setIntImpl(Schema.Field field, int value) voidTupleRep.setIntImpl(Schema.Field field, int value) final voidSet the list field at a specified field index to a copy of the specified value.voidTuple.setList(Schema.Field field, List<?> value) Set a specified list field to a copy of a specified value.final voidSet a named list field to a copy of a specified value.static List<?> TupleUtil.setListElement(String name, CompleteDataType elementType, List<?> list, int index, Object value) Return a new list that's a copy of the supplied list except with the element at the specified index replaced with the specified value, potentially applying the conversions as specified inTuple.setField(Field, Object, com.streambase.sb.util.CSV.FormatInfo)to the value.protected voidReadOnlyTuple.setListImpl(Schema.Field field, List<?> value) protected voidReadWriteTupleWrapper.setListImpl(Schema.Field field, List<?> value) voidTupleRep.setListImpl(Schema.Field field, List<?> value) final voidTuple.setLong(int fieldIndex, long value) Set the long field at a specified field index to a specified value.voidTuple.setLong(Schema.Field field, long value) Set a specified long field to a specified value.final voidSet a named long field to a specified value.protected voidReadOnlyTuple.setLongImpl(Schema.Field field, long value) protected voidReadWriteTupleWrapper.setLongImpl(Schema.Field field, long value) voidTupleRep.setLongImpl(Schema.Field field, long value) final voidSet a named field to null.final voidTuple.setString(int fieldIndex, CharSequence value) Set the string field at a specified field index to a specified value.final voidTuple.setString(Schema.Field field, CharSequence value) Set a specified string field to a specified value.final voidTuple.setString(String fieldPathName, CharSequence value) Set a named field to a specified value.protected voidReadOnlyTuple.setStringImpl(Schema.Field field, CharSequence value) protected voidReadWriteTupleWrapper.setStringImpl(Schema.Field field, CharSequence value) voidTupleRep.setStringImpl(Schema.Field field, CharSequence value) final voidTuple.setTimestamp(int fieldIndex, Timestamp value) Set the timestamp field at a specified field index to a specified value.voidTuple.setTimestamp(Schema.Field field, Timestamp value) Set a named timestamp field to a specified value.final voidTuple.setTimestamp(String fieldPathName, Timestamp value) Set a named timestamp field to a specified value.protected voidReadOnlyTuple.setTimestampImpl(Schema.Field field, long value) protected voidReadOnlyTuple.setTimestampImpl(Schema.Field field, Timestamp value) protected voidReadWriteTupleWrapper.setTimestampImpl(Schema.Field field, long value) protected voidReadWriteTupleWrapper.setTimestampImpl(Schema.Field field, Timestamp value) voidTupleRep.setTimestampImpl(Schema.Field field, long value) voidTupleRep.setTimestampImpl(Schema.Field field, Timestamp value) final voidSet 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.final voidSet a named nested tuple field to a specified tuple.voidReadOnlyTuple.setTupleId(int id) voidReadWriteTupleWrapper.setTupleId(int id) protected voidReadOnlyTuple.setTupleImpl(Schema.Field field, Tuple value) protected voidReadWriteTupleWrapper.setTupleImpl(Schema.Field field, Tuple value) voidTupleRep.setTupleImpl(Schema.Field field, Tuple value) static String[][]TupleUtil.splitTupleString(String source) Deprecated.there is no replacement for this methodstatic StringTupleUtil.tupleEquals(Tuple t1, Tuple t2, EnumSet<TupleCopier.Options> options) Compare 2 tuples with the given optionsvoidReadOnlyCompositeTuple.verify()voidReadOnlyTupleByIndexWrapper.verify()voidReadOnlyTupleRep.verify()voidReadWriteTupleWrapper.verify()voidTupleRep.verify()static ObjectReadOnlyTupleByIndexWrapper.wrapObject(CompleteDataType cdt, Object o) Wrap objectConstructors in com.streambase.sb that throw TupleExceptionModifierConstructorDescriptionprotectedControlStreamTupleFields(Tuple tuple) ConstructorCreate a Tuple with the given compositeSchema.Create a Tuple with the given compositeSchema.Create a Tuple WrapperTupleCopier(Schema sourceSchema, Schema destSchema, boolean strict) Create the TupleCopier.TupleCopier(Schema sourceSchema, Schema destSchema, EnumSet<TupleCopier.Options> options) Create the TupleCopier. -
Uses of TupleException in com.streambase.sb.client
Methods in com.streambase.sb.client that throw TupleExceptionModifier and TypeMethodDescriptionprotected 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 buffer -
Uses of TupleException in com.streambase.sb.monitor
Methods in com.streambase.sb.monitor that throw TupleExceptionModifier and TypeMethodDescriptionstatic com.streambase.sb.monitor.StatTuplev3StatsUtil.toStatTuple(Tuple t) com.streambase.sb.monitor.StatTuplev3Retrieve data from tuple and returns a StatBuffercom.streambase.sb.monitor.StatTuplev3Un-marshal a tuple to a StatTupleConstructors in com.streambase.sb.monitor that throw TupleException -
Uses of TupleException in com.streambase.sb.operator
Methods in com.streambase.sb.operator that throw TupleExceptionModifier and TypeMethodDescriptionOperator.getDynamicVariables()Retrieves a read-only tuple describing the current value of all dynamic variables in the module this operator is contained in.
Schema.Field.checkType(CompleteDataType)