Interface MongoConversionContext.OperatorContext

Enclosing class:
MongoConversionContext

public static interface MongoConversionContext.OperatorContext
The MongoConversionContext.OperatorContext provides access to the actual conversion intent like a write operation or a query operator such as $gte.
Since:
4.5
Author:
Christoph Strobl, Ross Lawley
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    The operator the conversion is used in.
    The context path the operator is used in.
  • Method Details

    • operator

      String operator()
      The operator the conversion is used in.
      Returns:
      write for simple write operations during save, or a query operator.
    • path

      String path()
      The context path the operator is used in.
      Returns:
      never null.
    • isWriteOperation

      boolean isWriteOperation()