Interface ODocumentFieldOTypeHandlingStrategy

All Known Implementing Classes:
ODocumentSingleRecordBytesOTypeHandlingStrategy, ODocumentSplitRecordBytesOTypeHandlingStrategy

public interface ODocumentFieldOTypeHandlingStrategy
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)
      Stores an object in a document
      Parameters:
      iRecord -
      fieldName -
      fieldValue -
    • load

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

      OType getOType()
      Returns:
      OType handled by the strategy.