Class ActionEnum


  • public class ActionEnum
    extends Object
    Actions that need to be performed.
    See Also:
    Algolia.com
    • Field Detail

      • ADD_OBJECT

        public static final String ADD_OBJECT
        Add an object. Equivalent to Add an object without ID.
        See Also:
        Constant Field Values
      • UPDATE_OBJECT

        public static final String UPDATE_OBJECT
        Add or replace an existing object. You must set the objectID attribute to indicate the object to update. Equivalent to Add/update an object by ID.
        See Also:
        Constant Field Values
      • PARTIAL_UPDATE_OBJECT

        public static final String PARTIAL_UPDATE_OBJECT
        Partially update an object. You must set the objectID attribute to indicate the object to update. Equivalent to Partially update an object.
        See Also:
        Constant Field Values
      • PARTIAL_UPDATE_OBJECT_NO_CREATE

        public static final String PARTIAL_UPDATE_OBJECT_NO_CREATE
        Same as partialUpdateObject, except that the object is not created if the object designated by objectID does not exist.
        See Also:
        Constant Field Values
      • DELETE_OBJECT

        public static final String DELETE_OBJECT
        Delete an object. You must set the objectID attribute to indicate the object to delete. Equivalent to Delete an object.
        See Also:
        Constant Field Values
      • CLEAR

        public static final String CLEAR
        Remove the index’s content, but keep settings and index-specific API keys untouched. Equivalent to Clear objects.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ActionEnum

        public ActionEnum()