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