aboutsummaryrefslogtreecommitdiffstats
path: root/document/src/main/java/com/yahoo/document/serialization
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2019-04-25 15:06:55 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2019-04-25 15:06:55 +0200
commit77f8522cf3a0a8a62fd3971455042815380b7fc7 (patch)
tree0a9dc0c0074949bf96b4cf0b7a1084073e716095 /document/src/main/java/com/yahoo/document/serialization
parenta8949c869c613d671886b87ab684b2dfef9d9ca5 (diff)
Add a binary format too.
Diffstat (limited to 'document/src/main/java/com/yahoo/document/serialization')
-rw-r--r--document/src/main/java/com/yahoo/document/serialization/DocumentDeserializer.java2
-rw-r--r--document/src/main/java/com/yahoo/document/serialization/DocumentUpdateWriter.java22
2 files changed, 12 insertions, 12 deletions
diff --git a/document/src/main/java/com/yahoo/document/serialization/DocumentDeserializer.java b/document/src/main/java/com/yahoo/document/serialization/DocumentDeserializer.java
index 582a6b0bd92..afdce012b0f 100644
--- a/document/src/main/java/com/yahoo/document/serialization/DocumentDeserializer.java
+++ b/document/src/main/java/com/yahoo/document/serialization/DocumentDeserializer.java
@@ -15,7 +15,7 @@ public interface DocumentDeserializer extends DocumentReader, DocumentUpdateRead
/**
* Returns the underlying buffer used for de-serialization.
*/
- public GrowableByteBuffer getBuf();
+ GrowableByteBuffer getBuf();
}
diff --git a/document/src/main/java/com/yahoo/document/serialization/DocumentUpdateWriter.java b/document/src/main/java/com/yahoo/document/serialization/DocumentUpdateWriter.java
index 4b87edeeded..d95a344be77 100644
--- a/document/src/main/java/com/yahoo/document/serialization/DocumentUpdateWriter.java
+++ b/document/src/main/java/com/yahoo/document/serialization/DocumentUpdateWriter.java
@@ -21,15 +21,15 @@ import com.yahoo.document.update.TensorRemoveUpdate;
* @since 5.1.27
*/
public interface DocumentUpdateWriter {
- public void write(DocumentUpdate update);
- public void write(FieldUpdate update);
- public void write(AddValueUpdate update, DataType superType);
- public void write(MapValueUpdate update, DataType superType);
- public void write(ArithmeticValueUpdate update);
- public void write(AssignValueUpdate update, DataType superType);
- public void write(RemoveValueUpdate update, DataType superType);
- public void write(ClearValueUpdate clearValueUpdate, DataType superType);
- public void write(TensorModifyUpdate update);
- public void write(TensorAddUpdate update);
- public void write(TensorRemoveUpdate update);
+ void write(DocumentUpdate update);
+ void write(FieldUpdate update);
+ void write(AddValueUpdate update, DataType superType);
+ void write(MapValueUpdate update, DataType superType);
+ void write(ArithmeticValueUpdate update);
+ void write(AssignValueUpdate update, DataType superType);
+ void write(RemoveValueUpdate update, DataType superType);
+ void write(ClearValueUpdate clearValueUpdate, DataType superType);
+ void write(TensorModifyUpdate update);
+ void write(TensorAddUpdate update);
+ void write(TensorRemoveUpdate update);
}