MongoDB\BSON\Binary::getVectorType

Returns the data type for a Binary with the vector subtype

説明

final public MongoDB\BSON\VectorType MongoDB\BSON\Binary::getVectorType()

パラメータ

この関数にはパラメータはありません。

戻り値

Returns the data type of the Binary vector.

エラー / 例外

  • Throws MongoDB\Driver\Exception\LogicException if the subtype is not MongoDB\BSON\Binary::SUBTYPE_VECTOR.
  • Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.

参考