Package | Description |
---|---|
software.amazon.awssdk.core.document | |
software.amazon.awssdk.core.document.internal | |
software.amazon.awssdk.core.protocol |
Modifier and Type | Method and Description |
---|---|
Document |
Document.MapBuilder.build()
Creates a new
Document with the key value pair pair inserted using put method. |
Document |
Document.ListBuilder.build()
Creates a new
Document with the List members as added with add method. |
static Document |
Document.fromBoolean(boolean booleanValue)
Create
Document from a boolean. |
static Document |
Document.fromList(List<Document> documentList)
Create a
Document.ListBuilder for generating a Document by directly allowing user add Documents. |
static Document |
Document.fromMap(Map<String,Document> documentMap)
Creates a Document from a Map of Documents.
|
static Document |
Document.fromNull()
Creates a document is a
null value. |
static Document |
Document.fromNumber(BigDecimal number)
Create
Document from a BigDecimal. |
static Document |
Document.fromNumber(BigInteger number)
Create
Document from a BigInteger. |
static Document |
Document.fromNumber(double number)
Create
Document from a double. |
static Document |
Document.fromNumber(float number)
Create
Document from a float. |
static Document |
Document.fromNumber(int number)
Create
Document from a int. |
static Document |
Document.fromNumber(long number)
Create
Document from a long. |
static Document |
Document.fromNumber(SdkNumber number)
|
static Document |
Document.fromNumber(String number)
Create
Document from a String. |
static Document |
Document.fromString(String string)
Create
Document from a string, using the provided String. |
Modifier and Type | Method and Description |
---|---|
List<Document> |
Document.asList()
Gets the document as a
List if it is a document type array. |
Map<String,Document> |
Document.asMap()
Gets the document as a
Map . |
Modifier and Type | Method and Description |
---|---|
Document.ListBuilder |
Document.ListBuilder.addDocument(Document document)
Adds a Document to the constructed Document List.
|
Document.MapBuilder |
Document.MapBuilder.putDocument(String key,
Document document)
Inserts a Key Value pair to a Document Map with String key and the given Document.
|
Modifier and Type | Method and Description |
---|---|
static Document |
Document.fromList(List<Document> documentList)
Create a
Document.ListBuilder for generating a Document by directly allowing user add Documents. |
static Document |
Document.fromMap(Map<String,Document> documentMap)
Creates a Document from a Map of Documents.
|
Document.MapBuilder |
Document.MapBuilder.putList(String key,
List<Document> documentList)
Inserts a Key Value pair to a Document Map with String key and value as List of Document.
|
Document.MapBuilder |
Document.MapBuilder.putMap(String key,
Map<String,Document> documentMap)
Inserts a Key Value pair to a Document Map with String key and Document constructed from Document Map.
|
default void |
VoidDocumentVisitor.visitList(List<Document> documentList)
Visits a List Document.
|
R |
DocumentVisitor.visitList(List<Document> documentList)
Visits a List Document.
|
default void |
VoidDocumentVisitor.visitMap(Map<String,Document> documentMap)
Visits a Map Document.
|
R |
DocumentVisitor.visitMap(Map<String,Document> documentMap)
Visits a Map Document.
|
Modifier and Type | Class and Description |
---|---|
class |
BooleanDocument
Represents a Boolean Document.
|
class |
ListDocument |
class |
MapDocument |
class |
NullDocument |
class |
NumberDocument |
class |
StringDocument |
Modifier and Type | Method and Description |
---|---|
Document |
MapDocument.MapBuilderInternal.build() |
Document |
ListDocument.ListBuilderInternal.build() |
Modifier and Type | Method and Description |
---|---|
List<Document> |
BooleanDocument.asList() |
List<Document> |
MapDocument.asList() |
List<Document> |
NullDocument.asList() |
List<Document> |
ListDocument.asList() |
List<Document> |
StringDocument.asList() |
List<Document> |
NumberDocument.asList() |
Map<String,Document> |
BooleanDocument.asMap() |
Map<String,Document> |
MapDocument.asMap() |
Map<String,Document> |
NullDocument.asMap() |
Map<String,Document> |
ListDocument.asMap() |
Map<String,Document> |
StringDocument.asMap() |
Map<String,Document> |
NumberDocument.asMap() |
Modifier and Type | Method and Description |
---|---|
Document.ListBuilder |
ListDocument.ListBuilderInternal.addDocument(Document document) |
Document.MapBuilder |
MapDocument.MapBuilderInternal.putDocument(String key,
Document document) |
Modifier and Type | Method and Description |
---|---|
Document.MapBuilder |
MapDocument.MapBuilderInternal.putList(String key,
List<Document> documentList) |
Document.MapBuilder |
MapDocument.MapBuilderInternal.putMap(String key,
Map<String,Document> documentMap) |
Constructor and Description |
---|
ListDocument(List<Document> documentList)
Create a New
ListDocument with List of Document documentList as passed in constructor |
MapDocument(Map<String,Document> documentMap)
Create a New
MapDocument with Map of Document value as passed in constructor |
Modifier and Type | Field and Description |
---|---|
static MarshallingType<Document> |
MarshallingType.DOCUMENT |
Copyright © 2021. All rights reserved.