public class ODocumentSimpleFieldHandlingStrategy extends Object implements ODocumentFieldHandlingStrategy
ODocumentFieldHandlingStrategy
that delegates to the default ODocument.field(String)
implementation.Constructor and Description |
---|
ODocumentSimpleFieldHandlingStrategy() |
Modifier and Type | Method and Description |
---|---|
protected OType |
deriveFieldType(ODocument iRecord,
String fieldName,
OType requestedFieldType)
Derives the type of a field in a document.
|
Object |
load(ODocument iRecord,
String fieldName,
OType suggestedFieldType)
Retrieves a field from a document
|
ODocument |
store(ODocument iRecord,
String fieldName,
Object fieldValue,
OType suggestedFieldType)
Stores an object in a document
|
public ODocumentSimpleFieldHandlingStrategy()
public ODocument store(ODocument iRecord, String fieldName, Object fieldValue, OType suggestedFieldType)
ODocumentFieldHandlingStrategy
store
in interface ODocumentFieldHandlingStrategy
suggestedFieldType
- ignored if the type is set in the schemapublic Object load(ODocument iRecord, String fieldName, OType suggestedFieldType)
ODocumentFieldHandlingStrategy
load
in interface ODocumentFieldHandlingStrategy
suggestedFieldType
- ignored if the type is set in the schemaCopyright © 2009–2020 OrientDB. All rights reserved.