Class ActionEnum
- java.lang.Object
-
- com.algolia.search.models.indexing.ActionEnum
-
public class ActionEnum extends Object
Actions that need to be performed.- See Also:
- Algolia.com
-
-
Field Summary
Fields Modifier and Type Field Description static StringADD_OBJECTAdd an object.static StringCLEARRemove the index’s content, but keep settings and index-specific API keys untouched.static StringDELETEDelete the index.static StringDELETE_OBJECTDelete an object.static StringPARTIAL_UPDATE_OBJECTPartially update an object.static StringPARTIAL_UPDATE_OBJECT_NO_CREATESame as partialUpdateObject, except that the object is not created if the object designated byobjectIDdoes not exist.static StringUPDATE_OBJECTAdd or replace an existing object.
-
Constructor Summary
Constructors Constructor Description ActionEnum()
-
-
-
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 theobjectIDattribute 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 theobjectIDattribute 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 byobjectIDdoes not exist.- See Also:
- Constant Field Values
-
DELETE_OBJECT
public static final String DELETE_OBJECT
Delete an object. You must set theobjectIDattribute to indicate the object to delete. Equivalent to Delete an object.- See Also:
- Constant Field Values
-
DELETE
public static final String DELETE
Delete the index. Equivalent to Delete an index.- 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
-
-