The following table describes the ODCIQueryInfo.Flags constants.
| Constant | Data type | Default value | Description |
|---|---|---|---|
| QueryFirstRows | INTEGER | 1 | Indicates that the mode of the optimizer is FIRST_ROWS. |
| QueryAllRows | INTEGER | 2 | Indicates that the mode of the optimizer is ALL_ROWS. |
| QuerySortAsc | INTEGER | 4 | Indicates that queries are sorted in ascending order. |
| QuerySortDesc | INTEGER | 8 | Indicates that queries are sorted in descending order. |
| QueryBlocking | INTEGER | 16 | Indicates that the query is blocked. |
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only the MySQL mode.