com.holonplatform.datastore.mongo.core.expression

## Interface FieldName

- All Superinterfaces:
    com.holonplatform.core.Expression

      public interface FieldName
      extends com.holonplatform.core.Expression

  Mongo document field name expression, with dot notation support.
  Since:
    5.2.0

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface com.holonplatform.core.Expression

      `com.holonplatform.core.Expression.ExpressionResolverFunction<E extends com.holonplatform.core.Expression,R extends com.holonplatform.core.Expression>, com.holonplatform.core.Expression.InvalidExpressionException`

  - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static FieldName` | `create(String fieldName)` Create a new `FieldName` using given field name.
    `String` | `getFieldName()` Get the document field name.

    - ### Methods inherited from interface com.holonplatform.core.Expression

      `validate`

- - ### Method Detail

    - #### getFieldName

          String getFieldName()

      Get the document field name. The dot notation convention can be used to declare a fields path.
      Returns:
        The field name

    - #### create

          static FieldName create(String fieldName)

      Create a new `FieldName` using given field name.
      Parameters:
        `fieldName` - The field name expression
      Returns:
        A new `FieldName` instance

Copyright © 2019 The Holon Platform. All rights reserved.