Command class

更新时间:
复制 MD 格式

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

ValueDeclarationDescription
ADDpublic static final Command ADDThe operation of adding data.
UPDATEpublic static final Command UPDATEThe operation of updating data.
DELETEpublic static final Command DELETEThe operation of deleting data.