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)
ODocumentFieldOTypeHandlingStrategy
store
in interface ODocumentFieldOTypeHandlingStrategy
public Object load(ODocument iRecord, String fieldName)
ODocumentFieldOTypeHandlingStrategy
load
in interface ODocumentFieldOTypeHandlingStrategy
public OType getOType()
getOType
in interface ODocumentFieldOTypeHandlingStrategy
OType
handled by the strategy.Copyright © 2009–2020 OrientDB. All rights reserved.