Skip to content

/AWS1/CL_IOM=>EXECUTEQUERY()

About ExecuteQuery

Run queries to access information from your knowledge graph of entities within individual workspaces.

The ExecuteQuery action only works with Amazon Web Services Java SDK2. ExecuteQuery will not work with any Amazon Web Services Java SDK version < 2.x.

Method Signature

IMPORTING

Required arguments:

IV_WORKSPACEID TYPE /AWS1/IOMID /AWS1/IOMID

The ID of the workspace.

IV_QUERYSTATEMENT TYPE /AWS1/IOMQUERYSTATEMENT /AWS1/IOMQUERYSTATEMENT

The query statement.

Optional arguments:

IV_MAXRESULTS TYPE /AWS1/IOMQUERYSVCMAXRESULTS /AWS1/IOMQUERYSVCMAXRESULTS

The maximum number of results to return at one time. The default is 50.

IV_NEXTTOKEN TYPE /AWS1/IOMNEXTTOKEN /AWS1/IOMNEXTTOKEN

The string that specifies the next page of results.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IOMEXECUTEQUERYRSP /AWS1/CL_IOMEXECUTEQUERYRSP