Class CDODataInputImpl
- java.lang.Object
-
- org.eclipse.net4j.util.io.ExtendedDataInput.Delegating
-
- org.eclipse.emf.cdo.spi.common.protocol.CDODataInputImpl
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.DataInput
,java.lang.AutoCloseable
,CDODataInput
,org.eclipse.net4j.util.io.ExtendedDataInput
- Direct Known Subclasses:
CDODataInputImpl.Default
public abstract class CDODataInputImpl extends org.eclipse.net4j.util.io.ExtendedDataInput.Delegating implements CDODataInput
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 Modifier and Type Class Description static class
CDODataInputImpl.Default
A concrete subclass ofCDODataInputImpl
.
-
Constructor Summary
Constructors Constructor Description CDODataInputImpl(org.eclipse.net4j.util.io.ExtendedDataInput delegate)
-
Method Summary
-
Methods inherited from class org.eclipse.net4j.util.io.ExtendedDataInput.Delegating
close, getDelegate, readBoolean, readByte, readByteArray, readChar, readDouble, readEnum, readException, readFloat, readFully, readFully, readInt, readLine, readLong, readObject, readObject, readObject, readShort, readString, readUnsignedByte, readUnsignedShort, readUTF, readVarInt, readVarLong, skipBytes
-
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.CDODataInput
getPackageRegistry
-
-
-
-
Method Detail
-
readXInt
public int readXInt() throws java.io.IOException
- Specified by:
readXInt
in interfaceCDODataInput
- Throws:
java.io.IOException
- Since:
- 4.6
-
readXLong
public long readXLong() throws java.io.IOException
- Specified by:
readXLong
in interfaceCDODataInput
- Throws:
java.io.IOException
- Since:
- 4.6
-
readCDOPackageUnit
public CDOPackageUnit readCDOPackageUnit(ResourceSet resourceSet) throws java.io.IOException
- Specified by:
readCDOPackageUnit
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOPackageUnits
public CDOPackageUnit[] readCDOPackageUnits(ResourceSet resourceSet) throws java.io.IOException
- Specified by:
readCDOPackageUnits
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOPackageUnitType
public CDOPackageUnit.Type readCDOPackageUnitType() throws java.io.IOException
- Specified by:
readCDOPackageUnitType
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOPackageInfo
public CDOPackageInfo readCDOPackageInfo() throws java.io.IOException
- Specified by:
readCDOPackageInfo
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOPackageURI
public java.lang.String readCDOPackageURI() throws java.io.IOException
- Specified by:
readCDOPackageURI
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOClassifierRef
public CDOClassifierRef readCDOClassifierRef() throws java.io.IOException
- Specified by:
readCDOClassifierRef
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOClassifierRefAndResolve
public EClassifier readCDOClassifierRefAndResolve() throws java.io.IOException
- Specified by:
readCDOClassifierRefAndResolve
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOType
public CDOType readCDOType() throws java.io.IOException
- Specified by:
readCDOType
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOBranch
public CDOBranch readCDOBranch() throws java.io.IOException
- Specified by:
readCDOBranch
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOBranchPoint
public CDOBranchPoint readCDOBranchPoint() throws java.io.IOException
- Specified by:
readCDOBranchPoint
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOBranchVersion
public CDOBranchVersion readCDOBranchVersion() throws java.io.IOException
- Specified by:
readCDOBranchVersion
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOChangeSetData
public CDOChangeSetData readCDOChangeSetData() throws java.io.IOException
- Specified by:
readCDOChangeSetData
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOCommitData
public CDOCommitData readCDOCommitData() throws java.io.IOException
- Specified by:
readCDOCommitData
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOCommitInfo
public CDOCommitInfo readCDOCommitInfo() throws java.io.IOException
- Specified by:
readCDOCommitInfo
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOLockChangeInfo
public CDOLockChangeInfo readCDOLockChangeInfo() throws java.io.IOException
- Specified by:
readCDOLockChangeInfo
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOLockArea
public IDurableLockingManager.LockArea readCDOLockArea() throws java.io.IOException
- Specified by:
readCDOLockArea
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOLockOwner
public CDOLockOwner readCDOLockOwner() throws java.io.IOException
- Specified by:
readCDOLockOwner
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOLockState
public CDOLockState readCDOLockState() throws java.io.IOException
- Specified by:
readCDOLockState
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOLockType
public org.eclipse.net4j.util.concurrent.IRWLockManager.LockType readCDOLockType() throws java.io.IOException
- Specified by:
readCDOLockType
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOID
public CDOID readCDOID() throws java.io.IOException
- Specified by:
readCDOID
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOIDReference
public CDOIDReference readCDOIDReference() throws java.io.IOException
- Specified by:
readCDOIDReference
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOIDAndVersion
public CDOIDAndVersion readCDOIDAndVersion() throws java.io.IOException
- Specified by:
readCDOIDAndVersion
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOIDAndBranch
public CDOIDAndBranch readCDOIDAndBranch() throws java.io.IOException
- Specified by:
readCDOIDAndBranch
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDORevisionKey
public CDORevisionKey readCDORevisionKey() throws java.io.IOException
- Specified by:
readCDORevisionKey
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDORevision
public CDORevision readCDORevision() throws java.io.IOException
- Specified by:
readCDORevision
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDORevision
public CDORevision readCDORevision(boolean freeze) throws java.io.IOException
- Specified by:
readCDORevision
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDORevisable
public CDORevisable readCDORevisable() throws java.io.IOException
- Specified by:
readCDORevisable
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOList
public CDOList readCDOList(EClass owner, EStructuralFeature feature) throws java.io.IOException
- Specified by:
readCDOList
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOFeatureValue
public java.lang.Object readCDOFeatureValue(EStructuralFeature feature) throws java.io.IOException
- Specified by:
readCDOFeatureValue
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDORevisionDelta
public CDORevisionDelta readCDORevisionDelta() throws java.io.IOException
- Specified by:
readCDORevisionDelta
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDOFeatureDelta
public CDOFeatureDelta readCDOFeatureDelta(EClass owner) throws java.io.IOException
- Specified by:
readCDOFeatureDelta
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDORevisionOrPrimitive
public java.lang.Object readCDORevisionOrPrimitive() throws java.io.IOException
Description copied from interface:CDODataInput
Read either a CDORevision or a primitive value.- Specified by:
readCDORevisionOrPrimitive
in interfaceCDODataInput
- Throws:
java.io.IOException
-
readCDORevisionOrPrimitiveOrClassifier
public java.lang.Object readCDORevisionOrPrimitiveOrClassifier() throws java.io.IOException
Description copied from interface:CDODataInput
Read either a CDORevision, a primitive value or a EClass.- Specified by:
readCDORevisionOrPrimitiveOrClassifier
in interfaceCDODataInput
- Throws:
java.io.IOException
-
isXCompression
protected boolean isXCompression()
- Since:
- 4.6
-
getPackageURICompressor
protected org.eclipse.net4j.util.io.StringIO getPackageURICompressor()
-
getBranchManager
protected abstract CDOBranchManager getBranchManager()
-
getCommitInfoManager
protected abstract CDOCommitInfoManager getCommitInfoManager()
-
getRevisionFactory
protected abstract CDORevisionFactory getRevisionFactory()
-
getListFactory
protected abstract CDOListFactory getListFactory()
-
getLobStore
protected abstract CDOLobStore getLobStore()
-
-