Documentation

KvServiceClient extends BaseStub
in package

Table of Contents

__construct()  : mixed
Append()  : UnaryCall
Decrement()  : UnaryCall
Exists()  : UnaryCall
Get()  : UnaryCall
GetAllReplicas()  : ServerStreamingCall
GetAndLock()  : UnaryCall
GetAndTouch()  : UnaryCall
Increment()  : UnaryCall
Insert()  : UnaryCall
LookupIn()  : UnaryCall
MutateIn()  : UnaryCall
Prepend()  : UnaryCall
Remove()  : UnaryCall
Replace()  : UnaryCall
Touch()  : UnaryCall
Unlock()  : UnaryCall
Upsert()  : UnaryCall

Methods

__construct()

public __construct(string $hostname, array<string|int, mixed> $opts[, Channel $channel = null ]) : mixed
Parameters
$hostname : string

hostname

$opts : array<string|int, mixed>

channel options

$channel : Channel = null

(optional) re-use channel object

Return values
mixed

Append()

public Append(AppendRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : AppendRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

Decrement()

public Decrement(DecrementRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : DecrementRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

Exists()

public Exists(ExistsRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : ExistsRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

Get()

public Get(GetRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : GetRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

GetAllReplicas()

public GetAllReplicas(GetAllReplicasRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : ServerStreamingCall
Parameters
$argument : GetAllReplicasRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
ServerStreamingCall

GetAndLock()

public GetAndLock(GetAndLockRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : GetAndLockRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

GetAndTouch()

public GetAndTouch(GetAndTouchRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : GetAndTouchRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

Increment()

public Increment(IncrementRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : IncrementRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

Insert()

public Insert(InsertRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : InsertRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

LookupIn()

public LookupIn(LookupInRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : LookupInRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

MutateIn()

public MutateIn(MutateInRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : MutateInRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

Prepend()

public Prepend(PrependRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : PrependRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

Remove()

public Remove(RemoveRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : RemoveRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

Replace()

public Replace(ReplaceRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : ReplaceRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

Touch()

public Touch(TouchRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : TouchRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

Unlock()

public Unlock(UnlockRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : UnlockRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

Upsert()

public Upsert(UpsertRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : UpsertRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

        

Search results