public static interface Document.ListBuilder
| Modifier and Type | Method and Description |
|---|---|
Document.ListBuilder |
addBoolean(boolean booleanValue)
Adds a Document which is constructed from the given boolean.
|
Document.ListBuilder |
addDocument(Document document)
Adds a Document to the constructed Document List.
|
Document.ListBuilder |
addMap(Consumer<Document.MapBuilder> mapBuilderConsumer)
Inserts a Document Value constructed from Consumer of
Document.MapBuilder. |
Document.ListBuilder |
addNull()
Inserts a Null Document to the constructed Document List.
|
Document.ListBuilder |
addNumber(BigDecimal numberValue)
Adds a Document which is constructed from the given BigDecimal.
|
Document.ListBuilder |
addNumber(BigInteger numberValue)
Adds a Document which is constructed from the given BigInteger.
|
Document.ListBuilder |
addNumber(double numberValue)
Adds a Document which is constructed from the given double.
|
Document.ListBuilder |
addNumber(float numberValue)
Adds a Document which is constructed from the given float.
|
Document.ListBuilder |
addNumber(int numberValue)
Adds a Document which is constructed from the given integer.
|
Document.ListBuilder |
addNumber(long numberValue)
Adds a Document which is constructed from the given long.
|
Document.ListBuilder |
addNumber(SdkNumber numberValue)
Adds a Document which is constructed from the given
SdkNumber. |
Document.ListBuilder |
addNumber(String numberValue)
Adds a Document which is constructed from the given String.
|
Document.ListBuilder |
addString(String stringValue)
Adds a Document which is constructed from the given stringValue..
|
Document |
build()
Creates a new
Document with the List members as added with add method. |
Document.ListBuilder addString(String stringValue)
stringValue - String Value from which the Document to be added is created.Document.ListBuilder addBoolean(boolean booleanValue)
booleanValue - Boolean value from which the Document to be added is created.Document.ListBuilder addNumber(SdkNumber numberValue)
SdkNumber.numberValue - SdkNumber from which the Document to be added is created.Document.ListBuilder addNumber(int numberValue)
numberValue - integer from which the Document to be added is created.Document.ListBuilder addNumber(long numberValue)
numberValue - long from which the Document to be added is created.Document.ListBuilder addNumber(float numberValue)
numberValue - float from which the Document to be added is created.Document.ListBuilder addNumber(double numberValue)
numberValue - double from which the Document to be added is created.Document.ListBuilder addNumber(BigDecimal numberValue)
numberValue - BigDecimal from which the Document to be added is created.Document.ListBuilder addNumber(BigInteger numberValue)
numberValue - BigInteger from which the Document to be added is created.Document.ListBuilder addNumber(String numberValue)
numberValue - String from which the Document to be added is created.Document.ListBuilder addDocument(Document document)
document - Document that will be added to a Document List.Document.ListBuilder addMap(Consumer<Document.MapBuilder> mapBuilderConsumer)
Document.MapBuilder.mapBuilderConsumer - Consumer that accepts Document.ListBuilderDocument.ListBuilder addNull()
Copyright © 2022. All rights reserved.