Google Cloud Dataplex V1 Client - Class QueryDetail (0.5.1)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class QueryDetail.

Execution details of the query.

Generated from protobuf message google.cloud.dataplex.v1.SessionEvent.QueryDetail

Namespace

Google \ Cloud \ Dataplex \ V1 \ SessionEvent

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ query_id string

The unique Query id identifying the query.

↳ query_text string

The query text executed.

↳ engine int

Query Execution engine.

↳ duration Google\Protobuf\Duration

Time taken for execution of the query.

↳ result_size_bytes int|string

The size of results the query produced.

↳ data_processed_bytes int|string

The data processed by the query.

getQueryId

The unique Query id identifying the query.

Returns
TypeDescription
string

setQueryId

The unique Query id identifying the query.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getQueryText

The query text executed.

Returns
TypeDescription
string

setQueryText

The query text executed.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEngine

Query Execution engine.

Returns
TypeDescription
int

setEngine

Query Execution engine.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDuration

Time taken for execution of the query.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasDuration

clearDuration

setDuration

Time taken for execution of the query.

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this

getResultSizeBytes

The size of results the query produced.

Returns
TypeDescription
int|string

setResultSizeBytes

The size of results the query produced.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getDataProcessedBytes

The data processed by the query.

Returns
TypeDescription
int|string

setDataProcessedBytes

The data processed by the query.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this