Command is an enum in the OpenSearch Industry Algorithm Edition Java SDK that specifies the data operation to perform when pushing documents to an index. Each document in a push request carries one of three commands: ADD, UPDATE, or DELETE.
Enumeration values
| Value | Declaration | Description |
|---|---|---|
ADD | public static final Command ADD | The operation of adding data. |
UPDATE | public static final Command UPDATE | The operation of updating data. |
DELETE | public static final Command DELETE | The operation of deleting data. |
该文章对您有帮助吗?