Package org.bson

Class BsonUndefined

java.lang.Object
org.bson.BsonValue
org.bson.BsonUndefined

@Deprecated(since="2022-10-31") public final class BsonUndefined extends BsonValue
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
Represents the value associated with the BSON Undefined type. All values of this type are identical. Note that this type has been deprecated in the BSON specification.
Since:
3.0
See Also:
  • Constructor Details

    • BsonUndefined

      public BsonUndefined()
      Deprecated.
  • Method Details

    • getBsonType

      public BsonType getBsonType()
      Deprecated.
      Description copied from class: BsonValue
      Gets the BSON type of this value.
      Specified by:
      getBsonType in class BsonValue
      Returns:
      the BSON type, which may not be null (but may be BSONType.NULL)
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object