Class NullDocument
java.lang.Object
software.amazon.awssdk.core.document.internal.NullDocument
- All Implemented Interfaces:
Serializable
,Document
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awssdk.core.document.Document
Document.ListBuilder, Document.MapBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<R> R
accept
(DocumentVisitor<? extends R> visitor) Accepts a visitor with the Document.void
accept
(VoidDocumentVisitor visitor) Accepts a visitor with the Document.boolean
asList()
asMap()
asNumber()
asString()
boolean
int
hashCode()
boolean
isNull()
Checks if the document is anull
value.toString()
unwrap()
Unwraps NullDocument as null.
-
Constructor Details
-
NullDocument
public NullDocument()
-
-
Method Details
-
unwrap
Unwraps NullDocument as null. -
asBoolean
public boolean asBoolean() -
asString
-
asNumber
-
asMap
-
isNull
public boolean isNull()Description copied from interface:Document
Checks if the document is anull
value. -
asList
-
accept
Accepts a visitor with the Document. -
accept
Accepts a visitor with the Document. Calls visitNull of visitor. -
toString
-
hashCode
public int hashCode() -
equals
-