PHP Class Cassandra\Blob

Inheritance: implements cassandra\Value
Afficher le fichier Open project: datastax/php-driver

Méthodes publiques

Méthode Description
__construct ( string $bytes ) Creates a new bytes array.
__toString ( ) : string Returns bytes as a hex string.
bytes ( ) : string Returns bytes as a hex string.
toBinaryString ( ) : string Returns bytes as a binary string.
type ( ) : cassandra\Type The type of this blob.

Method Details

__construct() public méthode

Creates a new bytes array.
public __construct ( string $bytes )
$bytes string any bytes

__toString() public méthode

Returns bytes as a hex string.
public __toString ( ) : string
Résultat string bytes as hexadecimal string

bytes() public méthode

Returns bytes as a hex string.
public bytes ( ) : string
Résultat string bytes as hexadecimal string

toBinaryString() public méthode

Returns bytes as a binary string.
public toBinaryString ( ) : string
Résultat string bytes as binary string

type() public méthode

The type of this blob.
public type ( ) : cassandra\Type
Résultat cassandra\Type