blob: 10483d8609f3b298190b3d2f16362688205e0ec3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.document.serialization;
import com.yahoo.document.Document;
import com.yahoo.document.DocumentId;
import com.yahoo.document.DocumentRemove;
import com.yahoo.document.DocumentType;
/**
* @author ravishar
*/
public interface DocumentWriter extends FieldWriter {
/** Writes a document. */
void write(Document document);
void write(DocumentId id);
void write(DocumentType type);
void write(DocumentRemove documentRemove);
}
|