@API.Public public class Documents extends Object
Document
interface.Constructor and Description |
---|
Documents() |
Modifier and Type | Method and Description |
---|---|
static boolean |
equals(Document d1,
Document d2)
Compares two documents for equality.
|
static void |
writeReaderToBuilder(DocumentReader reader,
DocumentBuilder builder)
|
public static boolean equals(@API.Nullable Document d1, @API.Nullable Document d2)
d1
- the first document to compared2
- the second document to comparetrue
if both the documents are equal,
false
otherwise.public static void writeReaderToBuilder(@API.NonNullable DocumentReader reader, @API.NonNullable DocumentBuilder builder)
reader
- instance of DocumentReader to read the fields frombuilder
- instance of DocumentBuilder to write the field toCopyright © 2015–2018 MapR Technologies, Inc.. All rights reserved.