Class ORecordOperation
java.lang.Object
com.orientechnologies.orient.core.db.record.ORecordOperation
- All Implemented Interfaces:
OStorageRecordOperation,Comparable
Contains the information about a database operation.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic bytestatic StringgetName(int type) byte[]getRID()bytegetType()inthashCode()setRecord(OIdentifiable record) voidsetResultData(Integer resultData) voidsetSerializer(ORecordSerializer serializer) voidsetType(byte type) toString()
-
Field Details
-
LOADED
public static final byte LOADED- See Also:
-
UPDATED
public static final byte UPDATED- See Also:
-
DELETED
public static final byte DELETED- See Also:
-
CREATED
public static final byte CREATED- See Also:
-
type
public byte type -
record
-
-
Constructor Details
-
ORecordOperation
public ORecordOperation() -
ORecordOperation
-
-
Method Details
-
setSerializer
-
hashCode
public int hashCode() -
equals
-
toString
-
setRecord
-
getRecord
- Specified by:
getRecordin interfaceOStorageRecordOperation
-
getRecordContainer
-
getRID
- Specified by:
getRIDin interfaceOStorageRecordOperation
-
getName
-
getId
-
getType
public byte getType()- Specified by:
getTypein interfaceOStorageRecordOperation
-
compareTo
- Specified by:
compareToin interfaceComparable
-
getResultData
-
setResultData
- Specified by:
setResultDatain interfaceOStorageRecordOperation
-
getRecordBytes
public byte[] getRecordBytes()- Specified by:
getRecordBytesin interfaceOStorageRecordOperation
-
setType
public void setType(byte type) - Specified by:
setTypein interfaceOStorageRecordOperation
-