# The MongoDB\BSON\MaxKey class

(mongodb >=1.0.0)

## はじめに

Special BSON type which compares higher than all other possible BSON element values.

> 注意: This is an internal MongoDB type used for indexing and sharding.

## クラス概要

final MongoDB\BSON\MaxKey implements MongoDB\BSON\MaxKeyInterface , MongoDB\BSON\Type , Serializable , JsonSerializable {
/* メソッド */
final public __construct ( void )
final public jsonSerialize ( void ) : mixed
final public serialize ( void ) : string
final public unserialize ( string `$serialized` ) : void
}

## 変更履歴

バージョン | 説明
--- | ---
1.2.0 | Implements Serializable and JsonSerializable.

## 目次

- MongoDB\BSON\MaxKey::__construct — Construct a new MaxKey
- MongoDB\BSON\MaxKey::jsonSerialize — Returns a representation that can be converted to JSON
- MongoDB\BSON\MaxKey::serialize — Serialize a MaxKey
- MongoDB\BSON\MaxKey::unserialize — Unserialize a MaxKey