Interface Field.FieldProjectionExpression

Enclosing class:
Field

public static interface Field.FieldProjectionExpression
Intermediate builder part for projecting a MongoExpression to a result field.
Since:
3.2
Author:
Christoph Strobl
  • Method Summary

    Modifier and Type
    Method
    Description
    as(String name)
    Set the name to be used in the result and return a Field.
  • Method Details

    • as

      Field as(String name)
      Set the name to be used in the result and return a Field.
      Parameters:
      name - must not be null.
      Returns:
      the calling instance Field.