Skip to content

/AWS1/CL_LKFQUERYPLANNINGCTX

A structure containing information about the query plan.

CONSTRUCTOR

IMPORTING

Required arguments:

IV_DATABASENAME TYPE /AWS1/LKFQUERYPLANNINGCTXDAT00 /AWS1/LKFQUERYPLANNINGCTXDAT00

The database containing the table.

Optional arguments:

IV_CATALOGID TYPE /AWS1/LKFCATALOGIDSTRING /AWS1/LKFCATALOGIDSTRING

The ID of the Data Catalog where the partition in question resides. If none is provided, the Amazon Web Services account ID is used by default.

IV_QUERYASOFTIME TYPE /AWS1/LKFTIMESTAMP /AWS1/LKFTIMESTAMP

The time as of when to read the table contents. If not set, the most recent transaction commit time will be used. Cannot be specified along with TransactionId.

IT_QUERYPARAMETERS TYPE /AWS1/CL_LKFQUERYPARAMMAP_W=>TT_QUERYPARAMETERMAP TT_QUERYPARAMETERMAP

A map consisting of key-value pairs.

IV_TRANSACTIONID TYPE /AWS1/LKFTRANSACTIONIDSTRING /AWS1/LKFTRANSACTIONIDSTRING

The transaction ID at which to read the table contents. If this transaction is not committed, the read will be treated as part of that transaction and will see its writes. If this transaction has aborted, an error will be returned. If not set, defaults to the most recent committed transaction. Cannot be specified along with QueryAsOfTime.


Queryable Attributes

CatalogId

The ID of the Data Catalog where the partition in question resides. If none is provided, the Amazon Web Services account ID is used by default.

Accessible with the following methods

Method Description
GET_CATALOGID() Getter for CATALOGID, with configurable default
ASK_CATALOGID() Getter for CATALOGID w/ exceptions if field has no value
HAS_CATALOGID() Determine if CATALOGID has a value

DatabaseName

The database containing the table.

Accessible with the following methods

Method Description
GET_DATABASENAME() Getter for DATABASENAME, with configurable default
ASK_DATABASENAME() Getter for DATABASENAME w/ exceptions if field has no value
HAS_DATABASENAME() Determine if DATABASENAME has a value

QueryAsOfTime

The time as of when to read the table contents. If not set, the most recent transaction commit time will be used. Cannot be specified along with TransactionId.

Accessible with the following methods

Method Description
GET_QUERYASOFTIME() Getter for QUERYASOFTIME, with configurable default
ASK_QUERYASOFTIME() Getter for QUERYASOFTIME w/ exceptions if field has no value
HAS_QUERYASOFTIME() Determine if QUERYASOFTIME has a value

QueryParameters

A map consisting of key-value pairs.

Accessible with the following methods

Method Description
GET_QUERYPARAMETERS() Getter for QUERYPARAMETERS, with configurable default
ASK_QUERYPARAMETERS() Getter for QUERYPARAMETERS w/ exceptions if field has no val
HAS_QUERYPARAMETERS() Determine if QUERYPARAMETERS has a value

TransactionId

The transaction ID at which to read the table contents. If this transaction is not committed, the read will be treated as part of that transaction and will see its writes. If this transaction has aborted, an error will be returned. If not set, defaults to the most recent committed transaction. Cannot be specified along with QueryAsOfTime.

Accessible with the following methods

Method Description
GET_TRANSACTIONID() Getter for TRANSACTIONID, with configurable default
ASK_TRANSACTIONID() Getter for TRANSACTIONID w/ exceptions if field has no value
HAS_TRANSACTIONID() Determine if TRANSACTIONID has a value