Uses of Class
com.streambase.sb.ByteArrayView
Package
Description
Provides classes and interfaces fundamental to the Streaming Java API.
-
Uses of ByteArrayView in com.streambase.sb
Modifier and TypeClassDescription(package private) final class
Direct byte array view into dataModifier and TypeMethodDescriptionByteArrayView.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 dataabstract 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 dataDirectByteArrayView.copy()
DirectByteArrayView.copy
(int off, int len) final ByteArrayView
Tuple.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 ByteArrayView
Tuple.getBlobBuffer
(String fieldPathName) Return a ByteArrayView for a given blob field.protected ByteArrayView
ReadOnlyCompositeTuple.getBlobBufferImpl
(Schema.Field field) protected ByteArrayView
ReadOnlyTupleByIndexWrapper.getBlobBufferImpl
(Schema.Field field) ReadOnlyTupleRep.getBlobBufferImpl
(Schema.Field field) protected ByteArrayView
ReadWriteTupleWrapper.getBlobBufferImpl
(Schema.Field field) TupleRep.getBlobBufferImpl
(Schema.Field field) static ByteArrayView
ByteArrayView.makeCopiedView
(byte[] bytes) Create a new ByteArrayView which wraps the entire provided byte[] (which is copied) NB: The bytes are copiedstatic 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 copiedstatic ByteArrayView
ByteArrayView.makeView
(byte[] bytes) Create a new ByteArrayView which wraps the entire provided byte[] NB: no data is copied when doing thisstatic 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 thisstatic ByteArrayView
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 thisDirectByteArrayView.slice
(int off, int len) Modifier and TypeMethodDescriptionint
ByteArrayView.compareTo
(ByteArrayView rhs) compare this ByteArrayView to another lexigraphically NB: no data is copied when doing thisTuple.DefaultTupleFormatter.formatBlob
(ByteArrayView blob) Tuple.TupleFormatter.formatBlob
(ByteArrayView blob) Return a string representation of the given StreamBase blob valuefinal 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.final void
Tuple.setBlobBuffer
(String fieldPathName, ByteArrayView value) Set a named blob field to a copy of a specified blob.protected void
ReadOnlyTuple.setBlobBufferImpl
(Schema.Field field, ByteArrayView value) protected void
ReadWriteTupleWrapper.setBlobBufferImpl
(Schema.Field field, ByteArrayView value) void
TupleRep.setBlobBufferImpl
(Schema.Field field, ByteArrayView blob)