Class ORawBuffer
java.lang.Object
com.orientechnologies.orient.core.type.OBuffer
com.orientechnologies.orient.core.storage.ORawBuffer
- All Implemented Interfaces:
Externalizable,Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor used by serialization.ORawBuffer(byte[] buffer, int version, byte recordType) ORawBuffer(ORecord iRecord) Creates a new object by the record received. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()voidreadExternal(ObjectInput iInput) voidwriteExternal(ObjectOutput iOutput)
-
Field Details
-
version
public int version -
recordType
public byte recordType
-
-
Constructor Details
-
ORawBuffer
public ORawBuffer()Constructor used by serialization. -
ORawBuffer
public ORawBuffer(byte[] buffer, int version, byte recordType) -
ORawBuffer
Creates a new object by the record received.
-
-
Method Details
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classOBuffer- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classOBuffer- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-