public class StreamOutput extends Output
OutputStream of a data object for writing to objectstore._objectStore| Constructor and Description |
|---|
StreamOutput(BulkInfo dataObject,
ObjectStoreService objectStore) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
method for aborting the stream when not committing it.
|
void |
commit()
Commit the data object to objectstore.
|
long |
getBytesWritten() |
java.util.Map<java.lang.String,java.lang.Number> |
getCounter()
create basic counter map.
|
java.io.OutputStream |
getStream() |
ensureStore, getDataObject, getDurationOpen, getDurationPerform, getObjectName, getObjectStore, getStoreName, startTime, timeOpen, timePerformpublic StreamOutput(BulkInfo dataObject, ObjectStoreService objectStore)
dataObject - The data objectobjectStore - The reference to the object store servicepublic java.io.OutputStream getStream()
throws ObjectStoreException
OutputStream to the objectstore object.ObjectStoreExceptionpublic void commit()
throws java.io.IOException
public long getBytesWritten()
public java.util.Map<java.lang.String,java.lang.Number> getCounter()
IODataObjectgetCounter in class IODataObject