Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2010-10-04 07:18:04 +0000
committerEike Stepper2010-10-04 07:18:04 +0000
commitee93a098111a57a701a0baa13c2467e559bd9908 (patch)
treeaae56e9601ba197506dea080b6fd1dc662fb3db2 /plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/mem/MEMStoreAccessor.java
parent4ec0947627e385c5f699cb00617f9dfe5074fc6d (diff)
downloadcdo-ee93a098111a57a701a0baa13c2467e559bd9908.tar.gz
cdo-ee93a098111a57a701a0baa13c2467e559bd9908.tar.xz
cdo-ee93a098111a57a701a0baa13c2467e559bd9908.zip
[284307] Add support for streaming of large byte arrays / BLOB
https://bugs.eclipse.org/bugs/show_bug.cgi?id=284307
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/mem/MEMStoreAccessor.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/mem/MEMStoreAccessor.java18
1 files changed, 6 insertions, 12 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/mem/MEMStoreAccessor.java b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/mem/MEMStoreAccessor.java
index cd9f8d0e46..9d33e7d35f 100644
--- a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/mem/MEMStoreAccessor.java
+++ b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/mem/MEMStoreAccessor.java
@@ -345,41 +345,35 @@ public class MEMStoreAccessor extends LongIDStoreAccessor
public void rawExport(CDODataOutput out, int fromBranchID, int toBranchID, long fromCommitTime, long toCommitTime)
throws IOException
{
- // TODO: implement MEMStoreAccessor.rawExport(out, lastReplicatedBranchID, lastReplicatedCommitTime)
- throw new UnsupportedOperationException();
+ getStore().rawExport(out, fromBranchID, toBranchID, fromCommitTime, toCommitTime);
}
public void rawImport(CDODataInput in, int fromBranchID, int toBranchID, long fromCommitTime, long toCommitTime,
OMMonitor monitor) throws IOException
{
- // TODO: implement MEMStoreAccessor.rawImport(in, fromBranchID, toBranchID, fromCommitTime, toCommitTime)
- throw new UnsupportedOperationException();
+ getStore().rawImport(in, fromBranchID, toBranchID, fromCommitTime, toCommitTime, monitor);
}
public void queryLobs(List<byte[]> ids)
{
- // TODO: implement MEMStoreAccessor.queryLobs(ids)
- throw new UnsupportedOperationException();
+ getStore().queryLobs(ids);
}
public void loadLob(byte[] id, OutputStream out) throws IOException
{
- // TODO: implement MEMStoreAccessor.loadLob(id, out)
- throw new UnsupportedOperationException();
+ getStore().loadLob(id, out);
}
@Override
protected void writeBlob(byte[] id, long size, InputStream inputStream) throws IOException
{
- // TODO: implement MEMStoreAccessor.writeBlob(id, size, in)
- throw new UnsupportedOperationException();
+ getStore().writeBlob(id, size, inputStream);
}
@Override
protected void writeClob(byte[] id, long size, Reader reader) throws IOException
{
- // TODO: implement MEMStoreAccessor.writeClob(id, size, reader)
- throw new UnsupportedOperationException();
+ getStore().writeClob(id, size, reader);
}
@Override

Back to the top