Package org.mongodb.kbson

Types

Link copied to clipboard
class BsonArray(initial: List<BsonValue>) : BsonValue, MutableList<BsonValue>

A type-safe representation of the BSON array type.

Link copied to clipboard
class BsonBinary(type: Byte, data: ByteArray) : BsonValue

A representation of the BSON Binary type.

Link copied to clipboard
enum BsonBinarySubType : Enum<BsonBinarySubType>

The Binary subtype

Link copied to clipboard
class BsonBoolean(value: Boolean) : BsonValue, Comparable<BsonBoolean>

A representation of the BSON Boolean type.

Link copied to clipboard
class BsonDateTime(value: Long) : BsonValue, Comparable<BsonDateTime>

A representation of the BSON DateTime type.

Link copied to clipboard
class BsonDBPointer(namespace: String, id: BsonObjectId) : BsonValue

A representation of the BSON DBPointer type.

Link copied to clipboard
class BsonDecimal128 : BsonValue

A binary integer decimal representation of a 128-bit decimal value, supporting 34 decimal digits of significand and an exponent range of -6143 to +6144.

Link copied to clipboard
class BsonDocument(initial: Map<String, BsonValue>) : BsonValue, MutableMap<String, BsonValue>

A type-safe container for a BSON document.

Link copied to clipboard
class BsonDouble(value: Double) : BsonNumber, Comparable<BsonDouble>

A representation of the BSON Double type.

Link copied to clipboard
data class BsonElement(name: String, value: BsonValue)

A mapping from a name to a BsonValue.

Link copied to clipboard
open class BsonException(message: String?, cause: Throwable?, errorCode: Int?) : RuntimeException

A general runtime exception raised in BSON processing.

Link copied to clipboard
class BsonInt32(value: Int) : BsonNumber, Comparable<BsonInt32>

A representation of the BSON Int32 type.

Link copied to clipboard
class BsonInt64(value: Long) : BsonNumber, Comparable<BsonInt64>

A representation of the BSON Int64 type.

Link copied to clipboard
class BsonInvalidOperationException(message: String?, cause: Throwable?) : BsonException

An exception indicating an invalid BSON operation.

Link copied to clipboard
class BsonJavaScript(code: String) : BsonValue

A representation of the BSON JavaScript type.

Link copied to clipboard
class BsonJavaScriptWithScope(code: String, scope: BsonDocument) : BsonValue

A representation of the BSON JavaScript with scope type.

Link copied to clipboard
object BsonMaxKey : BsonValue

A representation of the BSON the maximum key value regardless of the key's type

Link copied to clipboard
object BsonMinKey : BsonValue

A representation of the BSON the minimum key value regardless of the key's type

Link copied to clipboard
object BsonNull : BsonValue

A representation of the BSON Null type.

Link copied to clipboard
abstract class BsonNumber(number: Number) : BsonValue

Base class for the numeric BSON types.

Link copied to clipboard
class BsonObjectId(timestamp: Int, randomValue1: Int, randomValue2: Short, counter: Int) : BsonValue, Comparable<BsonObjectId>

A representation of the BSON ObjectId type

Link copied to clipboard
class BsonRegularExpression(pattern: String, options: String) : BsonValue

A representation of the BSON regular expression type

Link copied to clipboard
class BsonSerializationException(message: String, cause: Throwable?) : BsonException

An exception indicating a failure to serialize or deserialize a BSON value.

Link copied to clipboard
class BsonString(value: String) : BsonValue, Comparable<BsonString>

A representation of the BSON String type.

Link copied to clipboard
class BsonSymbol(value: String) : BsonValue

A representation of the BSON Symbol type.

Link copied to clipboard
class BsonTimestamp(value: Long) : BsonValue, Comparable<BsonTimestamp>

A representation the BSON timestamp type.

Link copied to clipboard
enum BsonType : Enum<BsonType>

Enumeration of all the BSON types currently supported.

Link copied to clipboard
object BsonUndefined : BsonValue

A representation of the BSON Undefined type.

Link copied to clipboard
sealed class BsonValue

Base class for any BSON type.

Link copied to clipboard
typealias Decimal128 = BsonDecimal128

A type alias for BsonDecimal128

Link copied to clipboard
typealias ObjectId = BsonObjectId

A type alias for BsonObjectId