Class Field<TExpression>

  • Type Parameters:
    TExpression - the type of the value for the new field

    @Deprecated(since="2021-05-27")
    public class Field<TExpression>
    extends java.lang.Object
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    Helps define new fields for the $addFields pipeline stage
    Since:
    3.4
    • Constructor Summary

      Constructors 
      Constructor Description
      Field​(java.lang.String name, TExpression value)
      Deprecated.
      Creates a new field definition for use in $addFields pipeline stages
    • Constructor Detail

      • Field

        public Field​(java.lang.String name,
                     TExpression value)
        Deprecated.
        Creates a new field definition for use in $addFields pipeline stages
        Parameters:
        name - the name of the new field
        value - the value of the new field
    • Method Detail

      • getName

        public java.lang.String getName()
        Deprecated.
        Returns:
        the name of the new field
      • getValue

        public TExpression getValue()
        Deprecated.
        Returns:
        the value of the new field
      • equals

        public boolean equals​(java.lang.Object o)
        Deprecated.
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object