Interface ODocumentFieldHandlingStrategy

All Known Implementing Classes:
ODocumentSimpleFieldHandlingStrategy, ODocumentSmartFieldHandlingStrategy

public interface ODocumentFieldHandlingStrategy
Strategy handling how to store and retrieve data in documents.
Author:
diegomtassis Diego Martin Tassis
  • Method Details

    • store

      ODocument store(ODocument iRecord, String fieldName, Object fieldValue, OType suggestedFieldType)
      Stores an object in a document
      Parameters:
      iRecord -
      fieldName -
      fieldValue -
      suggestedFieldType - ignored if the type is set in the schema
    • load

      Object load(ODocument iRecord, String fieldName, OType suggestedFieldType)
      Retrieves a field from a document
      Parameters:
      iRecord -
      fieldName -
      suggestedFieldType - ignored if the type is set in the schema
      Returns:
      field value