public class OPhysicalPosition extends Object implements OSerializableStream, Externalizable
Modifier and Type | Field and Description |
---|---|
long |
clusterPosition |
int |
recordSize |
byte |
recordType |
int |
recordVersion |
Constructor and Description |
---|
OPhysicalPosition() |
OPhysicalPosition(byte iRecordType) |
OPhysicalPosition(long iClusterPosition) |
OPhysicalPosition(long iClusterPosition,
int iVersion) |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(OPhysicalPosition iSource) |
boolean |
equals(Object obj) |
OSerializableStream |
fromStream(byte[] iStream)
Unmarshalls the object.
|
int |
hashCode() |
void |
readExternal(ObjectInput in) |
byte[] |
toStream()
Marshalls the object.
|
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public long clusterPosition
public byte recordType
public int recordVersion
public int recordSize
public OPhysicalPosition()
public OPhysicalPosition(long iClusterPosition)
public OPhysicalPosition(byte iRecordType)
public OPhysicalPosition(long iClusterPosition, int iVersion)
public void copyFrom(OPhysicalPosition iSource)
public OSerializableStream fromStream(byte[] iStream) throws OSerializationException
OSerializableStream
fromStream
in interface OSerializableStream
iStream
- byte array representation of the objectOSerializationException
- if the unmarshalling does not succeedpublic byte[] toStream() throws OSerializationException
OSerializableStream
toStream
in interface OSerializableStream
OSerializationException
- if the marshalling does not succeedOSerializableStream.fromStream(byte[])
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © 2009–2020 OrientDB. All rights reserved.