PHP Класс Aerospike\Bytes
This ensures that the string will not get truncated or otherwise lose data.
The main difference is that strings in the Aerospike cluster can have a
secondary index built over them, and queries executed against the index,
while bytes data cannot.
Показать файл
Открыть проект
Открытые свойства
Свойство |
Тип |
Описание |
|
$s |
string |
The container for the binary-string |
|
Открытые методы
Метод |
Описание |
|
__construct ( string $bin_str ) |
Constructor for \Aerospike\Bytes class. |
|
__toString ( ) : string |
Returns the binary-string held in the \Aerospike\Bytes object. |
|
serialize ( ) : string |
Returns a serialized representation of the binary-string. |
|
unserialize ( string $bin_str ) |
Re-wraps the binary-string when called by unserialize(). |
|
unwrap ( Bytes $bytes_wrap ) : string |
Unwraps an \Aerospike\Bytes object, returning the binary-string inside. |
|
Описание методов
__construct()
публичный Метод
Constructor for \Aerospike\Bytes class.
__toString()
публичный Метод
Returns the binary-string held in the \Aerospike\Bytes object.
serialize()
публичный Метод
unserialize()
публичный Метод
Re-wraps the binary-string when called by unserialize().
unwrap()
публичный статический Метод
Unwraps an \Aerospike\Bytes object, returning the binary-string inside.
Описание свойств
The container for the binary-string
public string $s |
Результат |
string |
|