QueryRequestConverter
Table of Contents
-
getQueryRequest()
: QueryRequest
-
convertConsistentWith()
: array<string|int, mixed>
-
convertQueryProfile()
: int
-
convertScanConsistency()
: int
-
getTuningOptions()
: array<string|int, mixed>
getQueryRequest()
public
static getQueryRequest(string $statement, array<string|int, mixed> $exportedOptions) : QueryRequest
Parameters
-
$statement
: string
-
-
$exportedOptions
: array<string|int, mixed>
-
-
throws
-
InvalidArgumentException
Return values
QueryRequest
—
convertConsistentWith()
private
static convertConsistentWith(array<string|int, mixed> $state) : array<string|int, mixed>
Parameters
-
$state
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
—
convertQueryProfile()
private
static convertQueryProfile(string $profile) : int
Parameters
-
$profile
: string
-
-
throws
-
InvalidArgumentException
Return values
int
—
convertScanConsistency()
private
static convertScanConsistency(string $consistencyLevel) : int
Parameters
-
$consistencyLevel
: string
-
-
throws
-
InvalidArgumentException
Return values
int
—
getTuningOptions()
private
static getTuningOptions(array<string|int, mixed> $exportedOptions) : array<string|int, mixed>
Parameters
-
$exportedOptions
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
—