Class ODocumentSingleRecordBytesOTypeHandlingStrategy
java.lang.Object
com.orientechnologies.orient.object.enhancement.field.ODocumentSingleRecordBytesOTypeHandlingStrategy
- All Implemented Interfaces:
ODocumentFieldOTypeHandlingStrategy
public class ODocumentSingleRecordBytesOTypeHandlingStrategy
extends Object
implements ODocumentFieldOTypeHandlingStrategy
ODocumentFieldOTypeHandlingStrategy that stores each OType.BINARY object in a
ORecordBytes.
Binary data optimization: http://orientdb.com/docs/2.2/Binary-Data.html
- Author:
- diegomtassis Diego Martin Tassis
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ODocumentSingleRecordBytesOTypeHandlingStrategy
public ODocumentSingleRecordBytesOTypeHandlingStrategy()
-
-
Method Details
-
store
Description copied from interface:ODocumentFieldOTypeHandlingStrategyStores an object in a document- Specified by:
storein interfaceODocumentFieldOTypeHandlingStrategy- Parameters:
iRecord-fieldName-fieldValue-
-
load
Description copied from interface:ODocumentFieldOTypeHandlingStrategyRetrieves a field from a document- Specified by:
loadin interfaceODocumentFieldOTypeHandlingStrategy- Parameters:
iRecord-fieldName-- Returns:
- field value
-
getOType
- Specified by:
getOTypein interfaceODocumentFieldOTypeHandlingStrategy- Returns:
OTypehandled by the strategy.
-