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.
파일 보기
프로젝트 열기: aerospike/aerospike-client-php
공개 프로퍼티들
프로퍼티 |
타입 |
설명 |
|
$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. |
|
메소드 상세
Constructor for \Aerospike\Bytes class.
Returns the binary-string held in the \Aerospike\Bytes object.
Re-wraps the binary-string when called by unserialize().
Unwraps an \Aerospike\Bytes object, returning the binary-string inside.
프로퍼티 상세
The container for the binary-string