CollectionInterface
Table of Contents
-
binary()
: BinaryCollectionInterface
-
bucketName()
: string
-
exists()
: ExistsResult
-
get()
: GetResult
-
getAllReplicas()
: array<string|int, mixed>
-
getAndLock()
: GetResult
-
getAndTouch()
: GetResult
-
getAnyReplica()
: GetReplicaResult
-
insert()
: MutationResult
-
lookupIn()
: LookupInResult
-
mutateIn()
: MutateInResult
-
name()
: string
-
remove()
: MutationResult
-
replace()
: MutationResult
-
scopeName()
: string
-
touch()
: MutationResult
-
unlock()
: Result
-
upsert()
: MutationResult
binary()
public
binary() : BinaryCollectionInterface
Return values
BinaryCollectionInterface
—
bucketName()
public
bucketName() : string
Return values
string
—
exists()
public
exists(string $id[, ExistsOptions|null $options = null ]) : ExistsResult
Parameters
-
$id
: string
-
-
$options
: ExistsOptions|null
= null
-
Return values
ExistsResult
—
get()
public
get(string $id[, GetOptions|null $options = null ]) : GetResult
Parameters
-
$id
: string
-
-
$options
: GetOptions|null
= null
-
Return values
GetResult
—
getAllReplicas()
public
getAllReplicas(string $id[, GetAllReplicasOptions|null $options = null ]) : array<string|int, mixed>
Parameters
-
$id
: string
-
-
$options
: GetAllReplicasOptions|null
= null
-
Return values
array<string|int, mixed>
—
getAndLock()
public
getAndLock(string $id, int $lockTimeSeconds[, GetAndLockOptions|null $options = null ]) : GetResult
Parameters
-
$id
: string
-
-
$lockTimeSeconds
: int
-
-
$options
: GetAndLockOptions|null
= null
-
Return values
GetResult
—
getAndTouch()
public
getAndTouch(string $id, mixed $expiry[, GetAndTouchOptions|null $options = null ]) : GetResult
Parameters
-
$id
: string
-
-
$expiry
: mixed
-
-
$options
: GetAndTouchOptions|null
= null
-
Return values
GetResult
—
getAnyReplica()
public
getAnyReplica(string $id[, GetAnyReplicaOptions|null $options = null ]) : GetReplicaResult
Parameters
-
$id
: string
-
-
$options
: GetAnyReplicaOptions|null
= null
-
Return values
GetReplicaResult
—
insert()
public
insert(string $id, mixed $value[, InsertOptions|null $options = null ]) : MutationResult
Parameters
-
$id
: string
-
-
$value
: mixed
-
-
$options
: InsertOptions|null
= null
-
Return values
MutationResult
—
lookupIn()
public
lookupIn(string $id, array<string|int, mixed> $specs[, LookupInOptions|null $options = null ]) : LookupInResult
Parameters
-
$id
: string
-
-
$specs
: array<string|int, mixed>
-
-
$options
: LookupInOptions|null
= null
-
Return values
LookupInResult
—
mutateIn()
public
mutateIn(string $id, array<string|int, mixed> $specs[, MutateInOptions|null $options = null ]) : MutateInResult
Parameters
-
$id
: string
-
-
$specs
: array<string|int, mixed>
-
-
$options
: MutateInOptions|null
= null
-
Return values
MutateInResult
—
name()
public
name() : string
Return values
string
—
remove()
public
remove(string $id[, RemoveOptions|null $options = null ]) : MutationResult
Parameters
-
$id
: string
-
-
$options
: RemoveOptions|null
= null
-
Return values
MutationResult
—
replace()
public
replace(string $id, mixed $value[, ReplaceOptions|null $options = null ]) : MutationResult
Parameters
-
$id
: string
-
-
$value
: mixed
-
-
$options
: ReplaceOptions|null
= null
-
Return values
MutationResult
—
scopeName()
public
scopeName() : string
Return values
string
—
touch()
public
touch(string $id, mixed $expiry[, TouchOptions|null $options = null ]) : MutationResult
Parameters
-
$id
: string
-
-
$expiry
: mixed
-
-
$options
: TouchOptions|null
= null
-
Return values
MutationResult
—
unlock()
public
unlock(string $id, string $cas[, UnlockOptions|null $options = null ]) : Result
Parameters
-
$id
: string
-
-
$cas
: string
-
-
$options
: UnlockOptions|null
= null
-
Return values
Result
—
upsert()
public
upsert(string $id, mixed $value[, UpsertOptions|null $options = null ]) : MutationResult
Parameters
-
$id
: string
-
-
$value
: mixed
-
-
$options
: UpsertOptions|null
= null
-
Return values
MutationResult
—