Package | Description |
---|---|
com.streambase.sb |
Provides classes and interfaces fundamental to the TIBCO StreamBase Java API.
|
Modifier and Type | Method and Description |
---|---|
ByteArrayView |
ByteArrayView.clone()
Implement Object.clone, which just delegates to ByteArrayView.copy().
|
abstract ByteArrayView |
ByteArrayView.copy()
Create a new ByteArrayView which wraps a new byte[] containing a copy of
this view's data
NB: this method copies the underlying data
|
abstract ByteArrayView |
ByteArrayView.copy(int offset,
int length)
Create a new ByteArrayView which wraps a new byte[] containing a copy of
this view's data
NB: this method copies the underlying data
|
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(java.lang.String fieldPathName)
Return a ByteArrayView for a given blob field.
|
static ByteArrayView |
ByteArrayView.makeCopiedView(byte[] bytes)
Create a new ByteArrayView which wraps the entire provided byte[] (which is copied)
NB: The bytes are copied
|
static ByteArrayView |
ByteArrayView.makeCopiedView(byte[] bytes,
int offset,
int length)
Create a new ByteArrayView which wraps the provided byte[] (which is copied)
between offset and length from offset
NB: The bytes are copied
|
static ByteArrayView |
ByteArrayView.makeView(byte[] bytes)
Create a new ByteArrayView which wraps the entire provided byte[]
NB: no data is copied when doing this
|
static ByteArrayView |
ByteArrayView.makeView(byte[] bytes,
int offset,
int length)
Create a new ByteArrayView which wraps the provided byte[] between offset and length from offset
NB: no data is copied when doing this
|
static ByteArrayView |
ByteArrayView.makeView(java.lang.String s)
Create a new ByteArrayView which converts the provided string to bytes and wraps it.
|
abstract ByteArrayView |
ByteArrayView.slice(int offset,
int length)
Create a new ByteArrayView which wraps a portion of this one
NB: no data is copied when doing this
|
Modifier and Type | Method and Description |
---|---|
int |
ByteArrayView.compareTo(ByteArrayView rhs)
compare this ByteArrayView to another lexigraphically
NB: no data is copied when doing this
|
java.lang.CharSequence |
Tuple.TupleFormatter.formatBlob(ByteArrayView blob)
Return a string representation of the given StreamBase blob value
|
java.lang.CharSequence |
Tuple.DefaultTupleFormatter.formatBlob(ByteArrayView blob) |
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(java.lang.String fieldPathName,
ByteArrayView value)
Set a named blob field to a copy of a specified blob.
|