summaryrefslogtreecommitdiffstats
path: root/document/src/main/java/com/yahoo/document/json/ParsedDocumentOperation.java
blob: eb171983cf125c25f1142a02e262fe351ad561fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.document.json;

import com.yahoo.document.DocumentOperation;

/**
 * The result of JSON parsing a single document operation
 *
 * @param operation
 *         the parsed operation
 * @param fullyApplied
 *         true if all the JSON content could be applied,
 *         false if some (or all) of the fields were not poresent in this document and was ignored
 */
public record ParsedDocumentOperation(DocumentOperation operation, boolean fullyApplied) {
}