aboutsummaryrefslogtreecommitdiffstats
path: root/document/src/main/java/com/yahoo/document/serialization/VespaDocumentSerializer6.java
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2019-01-29 23:59:16 +0100
committerTor Egge <Tor.Egge@broadpark.no>2019-01-30 12:23:57 +0100
commitcef0a53b74e9ae4fd3eb2462b0ed366a80b7ae11 (patch)
treed3343fa3564c42fcdec6605cc8544c513f669ede /document/src/main/java/com/yahoo/document/serialization/VespaDocumentSerializer6.java
parent18c60a40dedd0eb314db9295d6a46ee29f809ff7 (diff)
Add TensorModifyUpdate to document module (Java).
Diffstat (limited to 'document/src/main/java/com/yahoo/document/serialization/VespaDocumentSerializer6.java')
-rw-r--r--document/src/main/java/com/yahoo/document/serialization/VespaDocumentSerializer6.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/document/src/main/java/com/yahoo/document/serialization/VespaDocumentSerializer6.java b/document/src/main/java/com/yahoo/document/serialization/VespaDocumentSerializer6.java
index 7b7878083a2..b610f3a19e7 100644
--- a/document/src/main/java/com/yahoo/document/serialization/VespaDocumentSerializer6.java
+++ b/document/src/main/java/com/yahoo/document/serialization/VespaDocumentSerializer6.java
@@ -48,6 +48,7 @@ import com.yahoo.document.update.ClearValueUpdate;
import com.yahoo.document.update.FieldUpdate;
import com.yahoo.document.update.MapValueUpdate;
import com.yahoo.document.update.RemoveValueUpdate;
+import com.yahoo.document.update.TensorModifyUpdate;
import com.yahoo.document.update.ValueUpdate;
import com.yahoo.io.GrowableByteBuffer;
import com.yahoo.tensor.serialization.TypedBinaryFormat;
@@ -682,6 +683,11 @@ public class VespaDocumentSerializer6 extends BufferSerializer implements Docume
//TODO: This has never ever been implemented. Has this ever worked?
}
+ @Override
+ public void write(TensorModifyUpdate update) {
+ throw new IllegalArgumentException("Write of TensorModifyUpdate not yet implemeneted");
+ }
+
/**
* Returns the serialized size of the given {@link Document}. Please note that this method performs actual
* serialization of the document, but simply return the size of the final {@link GrowableByteBuffer}. If you need