
public class ODocumentSplitRecordBytesOTypeHandlingStrategy extends Object implements ODocumentFieldOTypeHandlingStrategy
ODocumentFieldOTypeHandlingStrategy that stores each OType.BINARY object split in
several ORecordBytes.
Binary data optimization: http://orientdb.com/docs/2.2/Binary-Data.html
| Constructor and Description |
|---|
ODocumentSplitRecordBytesOTypeHandlingStrategy()
Constuctor.
|
ODocumentSplitRecordBytesOTypeHandlingStrategy(int chunkSizeInKb)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
OType |
getOType() |
Object |
load(ODocument iRecord,
String fieldName)
Retrieves a field from a document
|
ODocument |
store(ODocument iRecord,
String fieldName,
Object fieldValue)
Stores an object in a document
|
public ODocumentSplitRecordBytesOTypeHandlingStrategy()
public ODocumentSplitRecordBytesOTypeHandlingStrategy(int chunkSizeInKb)
chunkSizeInKb - public ODocument store(ODocument iRecord, String fieldName, Object fieldValue)
ODocumentFieldOTypeHandlingStrategystore in interface ODocumentFieldOTypeHandlingStrategypublic Object load(ODocument iRecord, String fieldName)
ODocumentFieldOTypeHandlingStrategyload in interface ODocumentFieldOTypeHandlingStrategypublic OType getOType()
getOType in interface ODocumentFieldOTypeHandlingStrategyOType handled by the strategy.Copyright © 2009–2025 OrientDB. All rights reserved.