Package | Description |
---|---|
com.streambase.liveview.server.table.plugin | |
com.streambase.sb |
Provides classes and interfaces fundamental to the TIBCO StreamBase Java API.
|
com.streambase.sb.client |
Provides classes and interfaces used to communicate with a StreamBase server.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
TableProviderManager.deleteTable(CatalogedTable catalogedTable) |
void |
TableProviderManager.dropTables(List<String> tables) |
void |
TableProviderManager.startTables(List<String> tables) |
Modifier and Type | Class and Description |
---|---|
class |
NullValueException
An exception that is thrown when a field value is requested as a primitive
(e.g., Tuple.getBoolean(), Tuple.getTimestamp()), but it is null.
|
Modifier and Type | Method and Description |
---|---|
void |
Schema.Field.checkType(CompleteDataType dataType)
Check to make sure that the given type is the same as the type of this Field
|
void |
Schema.Field.checkType(DataType dataType)
Deprecated.
|
protected void |
Tuple.checkType(Schema.Field resolvedField,
DataType dataType) |
protected int |
Tuple.checkTypeAndNonNull(Schema.Field resolvedField,
DataType dataType)
check the type and make sure it is non null
|
Tuple |
TupleCaptureTransformer.collapse(Tuple in)
Capture all the extra fields in 'in' into their correct capture fields.
|
void |
Tuple.copyField(Schema.Field sourceField,
Tuple destTuple,
Schema.Field destField)
Copy the field from this tuple to the destination tuple
|
protected void |
Tuple.copyTuple(Tuple sourceTuple)
copy the source tuple to this tuple
|
void |
TupleCopier.copyTuple(Tuple sourceTuple,
Tuple destTuple)
Copy the fields from the sourceTuple to the destTuple.
|
Tuple |
Schema.createTuple(List<String> fieldValues,
int offset,
int length)
Create a Tuple with this schema from the supplied collection of strings
|
Tuple |
Schema.createTuple(List<String> fieldValues,
int offset,
int length,
String nullString)
Create a Tuple with this schema from the supplied collection of strings
|
Tuple |
Schema.createTuple(String... fieldValues)
Create a Tuple with this schema from the supplied collection of strings
|
Tuple |
Schema.createTuple(String[] fieldValues,
int offset,
int length)
Create a Tuple with this schema from the supplied collection of strings
|
Tuple |
Schema.createTuple(String[] fieldValues,
int offset,
int length,
String nullString)
Create a Tuple with this schema from the supplied collection of strings
|
Tuple |
TupleCaptureTransformer.expand(Tuple in)
Expand all the capture fields in 'in'
|
Tuple |
Tuple.getAllocatedTuple(int fieldIndex)
Return a reference (not a copy) to the specified nested tuple field.
|
Tuple |
Tuple.getAllocatedTuple(Schema.Field field)
Return a reference (not a copy) to the specified nested tuple field.
|
Tuple |
Tuple.getAllocatedTuple(String fieldPathName)
Return a reference (not a copy) to the specified nested tuple field.
|
ByteArrayView |
Tuple.getBlobBuffer(int fieldIndex)
Return a ByteArrayView for a given blob field.
|
ByteArrayView |
Tuple.getBlobBuffer(Schema.Field field)
Return a ByteArrayView for a given blob field.
|
ByteArrayView |
Tuple.getBlobBuffer(String fieldPathName)
Return a ByteArrayView for a given blob field.
|
boolean |
Tuple.getBoolean(int fieldIndex)
Return the value of the boolean field at a specified field index.
|
boolean |
Tuple.getBoolean(Schema.Field field)
Return the value of a specified boolean field.
|
boolean |
Tuple.getBoolean(String fieldPathName)
Return the value of a named boolean field.
|
Tuple |
Tuple.getCapture(int fieldIndex)
Return the value of the named capture field.
|
Tuple |
Tuple.getCapture(Schema.Field field)
Return the value of the named capture field.
|
Tuple |
Tuple.getCapture(String fieldPathName)
Return the value of the named capture field.
|
protected abstract Tuple |
Tuple.getCaptureImpl(Schema.Field field) |
double |
Tuple.getDouble(int fieldIndex)
Return the value of the double field at a specified field index.
|
double |
Tuple.getDouble(Schema.Field field)
Return the value of a specified double field.
|
double |
Tuple.getDouble(String fieldPathName)
Return the value of a named double field.
|
Object |
Tuple.getField(int fieldIndex)
Return the value of the field at a specified field index.
|
Schema.Field |
Schema.getField(String fieldPathName)
Return a Field object with the given field pathname in or under this
schema.
|
Object |
Tuple.getField(String fieldPathName)
Return the value of a named field.
|
int |
TupleUtil.RepMethods.getFieldLength(Tuple tuple,
Schema.Field field) |
Function |
Tuple.getFunction(int fieldIndex)
Return the value of the function field at a specified field index.
|
Function |
Tuple.getFunction(Schema.Field field)
Return the value of the given function field.
|
Function |
Tuple.getFunction(String fieldName)
Return the value of the named function field.
|
int |
Tuple.getInt(int fieldIndex)
Return the value of the int field at a specified field index.
|
int |
Tuple.getInt(Schema.Field field)
Return the value of a specified int field.
|
int |
Tuple.getInt(String fieldPathName)
Return the value of a named int field.
|
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.
|
List<?> |
Tuple.getList(String fieldPathName)
Return the value of a named list field.
|
long |
Tuple.getLong(int fieldIndex)
Return the value of the long field at a specified field index.
|
long |
Tuple.getLong(Schema.Field field)
Return the value of a specified long field.
|
long |
Tuple.getLong(String fieldPathName)
Return the value of a named long field.
|
Schema.Field |
Schema.Field.getNestedField(String fieldPathName)
Return a field that identifies a field in a nested tuple field.
|
Schema.Field[] |
Schema.Field.getNestedFields()
Return an array of fields, each of which identifies a field in a nested tuple field.
|
String |
Tuple.getString(int fieldIndex)
Return the value of the named string field.
|
String |
Tuple.getString(Schema.Field field)
Return the value of a specified string field.
|
String |
Tuple.getString(String fieldPathName)
Return the value of the named string field.
|
Timestamp |
Tuple.getTimestamp(int fieldIndex)
Return the value of the timestamp field at a specified field index.
|
Timestamp |
Tuple.getTimestamp(Schema.Field field)
Return the value of a specified timestamp field.
|
Timestamp |
Tuple.getTimestamp(String fieldPathName)
Return the value of a named timestamp field.
|
Tuple |
Tuple.getTuple(int fieldIndex)
Return a reference (not a copy) to the specified nested tuple field.
|
Tuple |
Tuple.getTuple(Schema.Field field)
Return a reference (not a copy) to the specified nested tuple field.
|
Tuple |
Tuple.getTuple(String fieldPathName)
Return a reference (not a copy) to the specified nested tuple field.
|
boolean |
Tuple.isNull(int fieldIndex)
Determines whether a field in the tuple is null.
|
boolean |
Tuple.isNull(String fieldPathName)
Determines whether a field in the tuple is null.
|
void |
Tuple.setBlobBuffer(int fieldIndex,
ByteArrayView value)
Set the blob field at a specified field index to a copy of a specified blob.
|
void |
Tuple.setBlobBuffer(Schema.Field field,
ByteArrayView value)
Set a specified blob field to a copy of a specified blob.
|
void |
Tuple.setBlobBuffer(String fieldPathName,
ByteArrayView value)
Set a named blob field to a copy of a specified blob.
|
void |
Tuple.setBoolean(int fieldIndex,
boolean value)
Set the boolean field at a specified field index to a specified value.
|
void |
Tuple.setBoolean(Schema.Field field,
boolean value)
Set a named boolean field to a specified value.
|
void |
Tuple.setBoolean(String fieldPathName,
boolean value)
Set a named boolean field to a specified value.
|
void |
Tuple.setCapture(int field,
Tuple value)
Set a specified capture field to a copy of a specified tuple.
|
void |
Tuple.setCapture(Schema.Field field,
Tuple value)
Set a specified capture field to a copy of a specified tuple.
|
void |
Tuple.setCapture(String field,
Tuple value)
Set a specified capture field to a copy of a specified tuple.
|
void |
Tuple.setDouble(int fieldIndex,
double value)
Set the double field at a specified field index to a specified value.
|
void |
Tuple.setDouble(Schema.Field field,
double value)
Set a named double field to a specified value.
|
void |
Tuple.setDouble(String fieldPathName,
double value)
Set a named double field to a specified value.
|
void |
Tuple.setField(int fieldIndex,
Object value)
Set the field at a specified field index to a specified boxed value.
|
void |
Tuple.setField(Schema.Field field,
Object value)
Set a specified field to a specified boxed value.
|
void |
Tuple.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.
|
void |
Tuple.setField(String fieldPathName,
Object value)
Set the named field to a specified value.
|
void |
Tuple.setField(String fieldPathName,
Object value,
com.streambase.sb.util.CSV.FormatInfo format)
Set the field at a specified field name to a specified boxed value.
|
void |
Tuple.setFields(Map<String,Object> fields)
Takes a map of field names and values as Objects and sets the corresponding tuple field with the supplied value.
|
void |
Tuple.setFunction(int field,
Function value)
Set a specified function field to the given
Function |
void |
Tuple.setFunction(Schema.Field field,
Function value)
Set a specified function field to the given
Function |
void |
Tuple.setFunction(String field,
Function value)
Set a specified function field to the given
Function |
void |
Tuple.setInt(int fieldIndex,
int value)
Set the int field at a specified field index to a specified value.
|
void |
Tuple.setInt(Schema.Field field,
int value)
Set a specified int field to a specified value.
|
void |
Tuple.setInt(String fieldPathName,
int value)
Set the named int field to a specified value.
|
void |
Tuple.setList(int fieldIndex,
List<?> value)
Set the list field at a specified field index to a copy of the specified value.
|
void |
Tuple.setList(Schema.Field field,
List<?> value)
Set a specified list field to a copy of a specified value.
|
void |
Tuple.setList(String fieldPathName,
List<?> value)
Set a named list field to a copy of a specified value.
|
void |
Tuple.setLong(int fieldIndex,
long value)
Set the long field at a specified field index to a specified value.
|
void |
Tuple.setLong(Schema.Field field,
long value)
Set a specified long field to a specified value.
|
void |
Tuple.setLong(String fieldPathName,
long value)
Set a named long field to a specified value.
|
void |
Tuple.setNull(String fieldPathName)
Set a named field to null.
|
void |
Tuple.setString(int fieldIndex,
CharSequence value)
Set the string field at a specified field index to a specified value.
|
void |
Tuple.setString(Schema.Field field,
CharSequence value)
Set a specified string field to a specified value.
|
void |
Tuple.setString(String fieldPathName,
CharSequence value)
Set a named field to a specified value.
|
void |
Tuple.setTimestamp(int fieldIndex,
Timestamp value)
Set the timestamp field at a specified field index to a specified value.
|
void |
Tuple.setTimestamp(Schema.Field field,
Timestamp value)
Set a named timestamp field to a specified value.
|
void |
Tuple.setTimestamp(String fieldPathName,
Timestamp value)
Set a named timestamp field to a specified value.
|
void |
Tuple.setTuple(int fieldIndex,
Tuple value)
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.
|
void |
Tuple.setTuple(String fieldPathName,
Tuple value)
Set a named nested tuple field to a specified tuple.
|
Constructor and Description |
---|
TupleCopier(Schema sourceSchema,
Schema destSchema,
boolean strict)
Create the TupleCopier.
|
TupleCopier(Schema sourceSchema,
Schema destSchema,
EnumSet<TupleCopier.Options> options)
Create the TupleCopier.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
StreamBaseClient.TupleBuffer.addToBuffer(Tuple tuple,
int id) |
protected void |
StreamBaseClient.SerializedTupleBuffer.addToBuffer(Tuple tuple,
int id)
Possibly add a tuple if there is room
|
Modifier and Type | Method and Description |
---|---|
StatTuplev3 |
StatsUtil.StatEncoder.unmarshal(Tuple t)
Retrieve data from tuple and returns a StatBuffer
|
StatTuplev3 |
StatsUtil.What.unmarshal(Tuple t)
Un-marshal a tuple to a StatTuple
|
Modifier and Type | Method and Description |
---|---|
Tuple |
Operator.getDynamicVariables()
Retrieves a read-only tuple describing the current value of all dynamic variables in the module
this operator is contained in.
|