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
Constructor and Description |
---|
ODocumentSingleRecordBytesOTypeHandlingStrategy() |
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 ODocumentSingleRecordBytesOTypeHandlingStrategy()
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.