diff options
author | Geir Storli <geirst@yahooinc.com> | 2023-08-25 10:07:35 +0000 |
---|---|---|
committer | Geir Storli <geirst@yahooinc.com> | 2023-08-25 10:07:35 +0000 |
commit | 6fd175bcb3e1b61323214380d6f23324a3056043 (patch) | |
tree | 6644e278e75daff81491a265ced5ccdc3cd4413a /document/abi-spec.json | |
parent | 39420e6f2331825568605cfeb2975844de99de3a (diff) |
Add "create non-existing cells" flag to TensorModifyUpdate.
When this is true, non-existing cells in the input tensor is created
before applying the modify update.
The default cell value is 0.0 for REPLACE and ADD operations,
and 1.0 for MULTIPLY operation.
Diffstat (limited to 'document/abi-spec.json')
-rw-r--r-- | document/abi-spec.json | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/document/abi-spec.json b/document/abi-spec.json index 22c38337e90..899c107a242 100644 --- a/document/abi-spec.json +++ b/document/abi-spec.json @@ -3442,11 +3442,13 @@ ], "methods" : [ "public void <init>(com.yahoo.document.update.TensorModifyUpdate$Operation, com.yahoo.document.datatypes.TensorFieldValue)", + "public void <init>(com.yahoo.document.update.TensorModifyUpdate$Operation, com.yahoo.document.datatypes.TensorFieldValue, boolean)", "public static com.yahoo.tensor.TensorType convertDimensionsToMapped(com.yahoo.tensor.TensorType)", "public com.yahoo.document.update.TensorModifyUpdate$Operation getOperation()", "public com.yahoo.document.datatypes.TensorFieldValue getValue()", + "public boolean getCreateNonExistingCells()", + "public double getDefaultCellValue()", "public void setValue(com.yahoo.document.datatypes.TensorFieldValue)", - "public void setDefaultCellValue(double)", "public com.yahoo.document.datatypes.FieldValue applyTo(com.yahoo.document.datatypes.FieldValue)", "protected void checkCompatibility(com.yahoo.document.DataType)", "public void serialize(com.yahoo.document.serialization.DocumentUpdateWriter, com.yahoo.document.DataType)", @@ -3459,7 +3461,7 @@ "fields" : [ "protected com.yahoo.document.update.TensorModifyUpdate$Operation operation", "protected com.yahoo.document.datatypes.TensorFieldValue tensor", - "protected java.util.Optional defaultCellValue" + "protected boolean createNonExistingCells" ] }, "com.yahoo.document.update.TensorRemoveUpdate" : { |