Class CDODataOutputImpl
java.lang.Object
org.eclipse.net4j.util.io.ExtendedDataOutput.Delegating
org.eclipse.emf.cdo.spi.common.protocol.CDODataOutputImpl
- All Implemented Interfaces:
Closeable
,DataOutput
,AutoCloseable
,CDODataOutput
,org.eclipse.net4j.util.io.ExtendedDataOutput
public class CDODataOutputImpl
extends org.eclipse.net4j.util.io.ExtendedDataOutput.Delegating
implements CDODataOutput
If the meaning of this type isn't clear, there really should be more of a description here...
- Since:
- 4.2
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.io.ExtendedDataOutput
org.eclipse.net4j.util.io.ExtendedDataOutput.Delegating, org.eclipse.net4j.util.io.ExtendedDataOutput.Stream
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.net4j.util.io.StringIO
protected boolean
void
writeCDOBranch
(CDOBranch branch) void
writeCDOBranchPoint
(CDOBranchPoint branchPoint) void
writeCDOBranchVersion
(CDOBranchVersion branchVersion) void
writeCDOChangeSetData
(CDOChangeSetData changeSetData) void
writeCDOClassifierRef
(CDOClassifierRef eClassifierRef) void
writeCDOClassifierRef
(EClassifier eClassifier) void
writeCDOCommitData
(CDOCommitData commitData) void
writeCDOCommitInfo
(CDOCommitInfo commitInfo) void
writeCDOFeatureDelta
(EClass owner, CDOFeatureDelta featureDelta) void
writeCDOFeatureValue
(EStructuralFeature feature, Object value) void
writeCDOID
(CDOID id) void
writeCDOIDAndBranch
(CDOIDAndBranch idAndBranch) void
writeCDOIDAndVersion
(CDOIDAndVersion idAndVersion) void
writeCDOIDReference
(CDOIDReference idReference) void
writeCDOList
(EClass owner, EStructuralFeature feature, CDOList list, int referenceChunk) void
void
writeCDOLockChangeInfo
(CDOLockChangeInfo lockChangeInfo) void
writeCDOLockChangeInfo
(CDOLockChangeInfo lockChangeInfo, Set<CDOID> filter) void
writeCDOLockDelta
(CDOLockDelta lockDelta) void
writeCDOLockOwner
(CDOLockOwner lockOwner) void
writeCDOLockState
(CDOLockState lockState) void
writeCDOLockType
(org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType) void
writeCDOPackageInfo
(CDOPackageInfo packageInfo) void
writeCDOPackageUnit
(CDOPackageUnit packageUnit, boolean withPackages) void
writeCDOPackageUnits
(CDOPackageUnit... packageUnits) void
void
writeCDOPackageURI
(String uri) void
writeCDORevisable
(CDORevisable revisable) void
writeCDORevision
(CDORevision revision, int referenceChunk) void
writeCDORevision
(CDORevision revision, int referenceChunk, CDOBranchPoint securityContext) void
writeCDORevisionDelta
(CDORevisionDelta revisionDelta) void
writeCDORevisionKey
(CDORevisionKey revisionKey) void
Write either a CDORevision or a primitive value.void
Write either a CDORevision, a primitive value or a EClass.void
writeCDOType
(CDOType cdoType) void
writeXInt
(int v) void
writeXLong
(long v) Methods inherited from class org.eclipse.net4j.util.io.ExtendedDataOutput.Delegating
close, getDelegate, write, write, write, writeBoolean, writeByte, writeByteArray, writeBytes, writeChar, writeChars, writeDouble, writeEnum, writeException, writeFloat, writeInt, writeLong, writeObject, writeShort, writeString, writeUTF, writeVarInt, writeVarLong
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.emf.cdo.common.protocol.CDODataOutput
writeCDOLockDeltas, writeCDOLockStates
Methods inherited from interface java.io.DataOutput
write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
Methods inherited from interface org.eclipse.net4j.util.io.ExtendedDataOutput
writeByteArray, writeEnum, writeException, writeObject, writeString, writeVarInt, writeVarLong
-
Constructor Details
-
CDODataOutputImpl
public CDODataOutputImpl(org.eclipse.net4j.util.io.ExtendedDataOutput delegate)
-
-
Method Details
-
writeXInt
- Specified by:
writeXInt
in interfaceCDODataOutput
- Throws:
IOException
- Since:
- 4.6
-
writeXLong
- Specified by:
writeXLong
in interfaceCDODataOutput
- Throws:
IOException
- Since:
- 4.6
-
writeCDOPackageUnit
public void writeCDOPackageUnit(CDOPackageUnit packageUnit, boolean withPackages) throws IOException - Specified by:
writeCDOPackageUnit
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOPackageUnits
- Specified by:
writeCDOPackageUnits
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOPackageUnitType
- Specified by:
writeCDOPackageUnitType
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOPackageInfo
- Specified by:
writeCDOPackageInfo
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOClassifierRef
- Specified by:
writeCDOClassifierRef
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOClassifierRef
- Specified by:
writeCDOClassifierRef
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOPackageURI
- Specified by:
writeCDOPackageURI
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOType
- Specified by:
writeCDOType
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOBranch
- Specified by:
writeCDOBranch
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOBranchPoint
- Specified by:
writeCDOBranchPoint
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOBranchVersion
- Specified by:
writeCDOBranchVersion
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOChangeSetData
- Specified by:
writeCDOChangeSetData
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOCommitData
- Specified by:
writeCDOCommitData
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOCommitInfo
- Specified by:
writeCDOCommitInfo
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOLockChangeInfo
- Specified by:
writeCDOLockChangeInfo
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOLockChangeInfo
public void writeCDOLockChangeInfo(CDOLockChangeInfo lockChangeInfo, Set<CDOID> filter) throws IOException - Specified by:
writeCDOLockChangeInfo
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOLockArea
- Specified by:
writeCDOLockArea
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOLockOwner
- Specified by:
writeCDOLockOwner
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOLockDelta
- Specified by:
writeCDOLockDelta
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOLockState
- Specified by:
writeCDOLockState
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOLockType
public void writeCDOLockType(org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType) throws IOException - Specified by:
writeCDOLockType
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOID
- Specified by:
writeCDOID
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOIDReference
- Specified by:
writeCDOIDReference
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOIDAndVersion
- Specified by:
writeCDOIDAndVersion
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOIDAndBranch
- Specified by:
writeCDOIDAndBranch
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDORevisionKey
- Specified by:
writeCDORevisionKey
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDORevision
- Specified by:
writeCDORevision
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDORevision
public void writeCDORevision(CDORevision revision, int referenceChunk, CDOBranchPoint securityContext) throws IOException - Specified by:
writeCDORevision
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDORevisable
- Specified by:
writeCDORevisable
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOList
public void writeCDOList(EClass owner, EStructuralFeature feature, CDOList list, int referenceChunk) throws IOException - Specified by:
writeCDOList
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOFeatureValue
- Specified by:
writeCDOFeatureValue
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDORevisionDelta
- Specified by:
writeCDORevisionDelta
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDOFeatureDelta
- Specified by:
writeCDOFeatureDelta
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDORevisionOrPrimitive
Description copied from interface:CDODataOutput
Write either a CDORevision or a primitive value.- Specified by:
writeCDORevisionOrPrimitive
in interfaceCDODataOutput
- Throws:
IOException
-
writeCDORevisionOrPrimitiveOrClassifier
Description copied from interface:CDODataOutput
Write either a CDORevision, a primitive value or a EClass.- Specified by:
writeCDORevisionOrPrimitiveOrClassifier
in interfaceCDODataOutput
- Throws:
IOException
-
getSession
- Specified by:
getSession
in interfaceCDODataOutput
-
getPackageRegistry
- Specified by:
getPackageRegistry
in interfaceCDODataOutput
-
getIDProvider
- Specified by:
getIDProvider
in interfaceCDODataOutput
-
getPermissionProvider
- Specified by:
getPermissionProvider
in interfaceCDODataOutput
-
getRevisionUnchunker
- Specified by:
getRevisionUnchunker
in interfaceCDODataOutput
- Since:
- 4.3
-
isXCompression
protected boolean isXCompression()- Since:
- 4.6
-
getPackageURICompressor
protected org.eclipse.net4j.util.io.StringIO getPackageURICompressor()
-