Package | Description |
---|---|
com.streambase.liveview.client |
Provides classes and interfaces fundamental to the TIBCO Live Datamart Java API.
|
com.streambase.sb |
Provides classes and interfaces fundamental to the TIBCO StreamBase Java API.
|
com.streambase.sb.operator |
Provides classes and interfaces to add custom operators to StreamBase applications.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Schema.Field> |
TupleUpdatedEvent.getChangedFields()
Retrieve a list of the fields that changed in this update
|
java.util.List<Schema.Field> |
AbstractTable.getFields() |
java.util.List<Schema.Field> |
BeginDeleteEvent.getFields()
Get the list of fields that the query tuples will have
|
java.util.List<Schema.Field> |
BeginSnapshotEvent.getFields()
Get the list of fields that the query tuples will have
|
java.util.List<Schema.Field> |
DeleteQueryListener.getFields()
Retrieves the fields describing the tuples that will be returned.
|
java.util.List<Schema.Field> |
Query.getFields()
Returns a list describing the fields of the tuples that will be returned by this Query.
|
java.util.List<Schema.Field> |
QueryConfig.getFields()
Get the fields or null if not specified
|
java.util.List<Schema.Field> |
QueryListenerWrapper.getFields() |
java.util.List<Schema.Field> |
SnapshotQueryListener.getFields()
Retrieves the fields describing the tuples that will be returned.
|
java.util.List<Schema.Field> |
SnapshotResult.getFields()
Retrieves the fields describing the tuples that will be returned.
|
java.util.List<Schema.Field> |
Table.getFields()
Returns the fields describing the table columns.
|
java.util.List<Schema.Field> |
AbstractTable.getFields(boolean includeInternal) |
java.util.List<Schema.Field> |
Table.getFields(boolean includeInternal)
Returns the fields describing the table columns.
|
java.util.List<Schema.Field> |
AbstractTable.getKeyFields() |
java.util.List<Schema.Field> |
Query.getKeyFields()
Returns a list of fields describing the primary key for this table.
|
java.util.List<Schema.Field> |
QueryListenerWrapper.getKeyFields() |
java.util.List<Schema.Field> |
Table.getKeyFields()
Returns the schema which describes the key for the records in this table.
|
Modifier and Type | Method and Description |
---|---|
QueryConfig |
QueryConfig.setSelectFields(Schema.Field... fields)
Configure the result fields
|
Modifier and Type | Method and Description |
---|---|
QueryConfig |
QueryConfig.setQuery(java.util.List<Schema.Field> fields,
java.lang.String table,
java.lang.String predicate)
Configure the table to query, the predicate and the result fields
|
QueryConfig |
QueryConfig.setQuery(java.util.List<Schema.Field> fields,
java.lang.String table,
java.lang.String predicate,
int limit)
Configure the table to query, the predicate and the result fields using a specified row limit
|
QueryConfig |
QueryConfig.setQuery(java.util.List<Schema.Field> fields,
java.lang.String table,
java.lang.String predicate,
int limit,
long timePredicateInMillis)
Configure the table to query, the predicate and the result fields using a specified row limit and row delay
|
QueryConfig |
QueryConfig.setSelectFields(java.util.List<Schema.Field> fields)
Configure the result fields
|
Constructor and Description |
---|
BeginDeleteEvent(java.lang.Object source,
java.util.List<Schema.Field> fields) |
BeginSnapshotEvent(java.lang.Object source,
java.util.List<Schema.Field> fields) |
TupleUpdatedEvent(java.lang.Object source,
java.lang.Long key,
Tuple oldTuple,
Tuple newTuple,
java.util.List<Schema.Field> changedFields)
Deprecated.
|
TupleUpdatedEvent(java.lang.Object source,
java.lang.Long oldKey,
Tuple oldTuple,
Tuple newTuple,
Tuple keyData,
java.util.List<Schema.Field> changedFields,
java.util.List<com.streambase.liveview.client.internal.TupleFieldComparator> fieldComparators) |
Modifier and Type | Method and Description |
---|---|
static Schema.Field |
Schema.createField(DataType type,
java.lang.String name)
Creates a new Field of the given DataType, with the given name.
|
static Schema.Field |
Schema.createFunctionField(java.lang.String fieldName,
Schema argumentSchema,
CompleteDataType returnType)
Creates a new Field of type FUNCTION, with the given name, argument list and return type.
|
static Schema.Field |
Schema.createListField(java.lang.String name,
CompleteDataType elementType)
Creates a new Field of type LIST, with the given name and given element type
|
static Schema.Field |
Schema.createTupleField(java.lang.String name,
Schema schema)
Creates a new Field of type TUPLE, with the given name and given schema
|
Schema.Field |
Schema.getField(int fieldIndex)
Return a Field object at the given index within the schema
|
Schema.Field |
Schema.getField(java.lang.String fieldPathName)
Return a Field object with the given field pathname in or under this
schema.
|
Schema.Field[] |
Schema.getFields()
Return an array of Field objects corresponding to the fields in the schema.
|
Schema.Field |
Schema.Field.getNestedField(java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Schema.Field> |
Schema.fields()
Return a List of the Fields in this Schema
|
java.util.Iterator<Schema.Field> |
Schema.iterator() |
Modifier and Type | Method and Description |
---|---|
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
|
void |
Tuple.copyField(Schema.Field sourceField,
Tuple destTuple,
Schema.Field destField)
Copy the field from this tuple to the destination tuple
|
boolean |
Schema.Field.equalsNoCapture(Schema.Field other) |
Tuple |
Tuple.getAllocatedTuple(Schema.Field field)
Return a reference (not a copy) to the specified nested tuple field.
|
ByteArrayView |
Tuple.getBlobBuffer(Schema.Field field)
Return a ByteArrayView for a given blob field.
|
boolean |
Tuple.getBoolean(Schema.Field field)
Return the value of a specified boolean field.
|
Tuple |
Tuple.getCapture(Schema.Field field)
Return the value of the named capture field.
|
protected abstract Tuple |
Tuple.getCaptureImpl(Schema.Field field) |
double |
Tuple.getDouble(Schema.Field field)
Return the value of a specified double field.
|
java.lang.Object |
Tuple.getField(Schema.Field field)
Return the value of a specified field.
|
java.lang.String |
Tuple.getFieldAsString(Schema.Field field,
Tuple.TupleFormatter formatter)
Get the current field as a human readable string, using the
Tuple.TupleFormatter provided. |
int |
TupleUtil.RepMethods.getFieldLength(Tuple tuple,
Schema.Field field) |
Function |
Tuple.getFunction(Schema.Field field)
Return the value of the given function field.
|
int |
Tuple.getInt(Schema.Field field)
Return the value of a specified int field.
|
java.util.List<?> |
Tuple.getList(Schema.Field field)
Return the value of a specified list field.
|
long |
Tuple.getLong(Schema.Field field)
Return the value of a specified long field.
|
java.lang.String |
Tuple.getString(Schema.Field field)
Return the value of a specified string field.
|
Timestamp |
Tuple.getTimestamp(Schema.Field field)
Return the value of a specified timestamp field.
|
Tuple |
Tuple.getTuple(Schema.Field field)
Return a reference (not a copy) to the specified nested tuple field.
|
boolean |
Tuple.isNull(Schema.Field field)
Determines whether the given field's value in this Tuple is null.
|
void |
Tuple.setBlobBuffer(Schema.Field field,
ByteArrayView value)
Set a specified blob field to a copy of a specified blob.
|
void |
Tuple.setBoolean(Schema.Field field,
boolean value)
Set a named boolean field to a specified value.
|
void |
Tuple.setCapture(Schema.Field field,
Tuple value)
Set a specified capture field to a copy of a specified tuple.
|
void |
Tuple.setDouble(Schema.Field field,
double value)
Set a named double field to a specified value.
|
void |
Tuple.setField(Schema.Field field,
java.lang.Object value)
Set a specified field to a specified boxed value.
|
void |
Tuple.setField(Schema.Field field,
java.lang.Object value,
com.streambase.sb.util.CSV.FormatInfo format)
Set the field at a specified field name to a specified boxed value.
|
void |
Tuple.setFunction(Schema.Field field,
Function value)
Set a specified function field to the given
Function |
void |
Tuple.setInt(Schema.Field field,
int value)
Set a specified int field to a specified value.
|
void |
Tuple.setList(Schema.Field field,
java.util.List<?> value)
Set a specified list field to a copy of a specified value.
|
void |
Tuple.setLong(Schema.Field field,
long value)
Set a specified long field to a specified value.
|
void |
Tuple.setNull(Schema.Field field)
Set the specified field to null
|
void |
Tuple.setString(Schema.Field field,
java.lang.CharSequence value)
Set a specified string field to a specified value.
|
void |
Tuple.setTimestamp(Schema.Field field,
Timestamp value)
Set a named timestamp field to a specified value.
|
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 |
SchemaUtil.SchemaTraversal.visitField(Schema.Field field,
java.lang.String fieldPath)
This method will be called for each and every field in the schema, including
nested fields and fields in lists of tuples
|
Constructor and Description |
---|
Field(Schema.Field field)
Construct a Field from an existing Field.
|
Field(java.lang.String name,
Schema.Field field)
Construct a Field from an existing Field, giving the new field a specified name
|
Schema(java.lang.String name,
Schema.Field... fields)
Construct a Schema out of a list of
Schema.Field |
Schema(java.lang.String name,
java.lang.String description,
Schema.Field... fields)
Construct a Schema out of a list of
Schema.Field |
Constructor and Description |
---|
Schema(java.lang.String name,
java.util.List<Schema.Field> fields)
Create a new schema from a list of
Schema.Field |
Modifier and Type | Method and Description |
---|---|
java.util.List<Schema.Field> |
TableAccessor.getPrimaryKeyFields()
The fields from the schema which make up the primary key.
|