QueryResultBundle
org.sagebionetworks.repo.model.table.QueryResultBundle
A bundle of information about a query result.
| Field | Type | Description |
|---|---|---|
| concreteType | STRING | |
| queryResult | QueryResult | A page of query result. |
| queryCount | INTEGER | The total number of rows that match the query. Use mask = 0x2 to include in the bundle. |
| selectColumns | ARRAY<SelectColumn> | The list of SelectColumns from the select clause. Use mask = 0x4 to include in the bundle. |
| maxRowsPerPage | INTEGER | The maximum number of rows that can be retrieved in a single call. This is a function of the columns that are selected in the query. Use mask = 0x8 to include in the bundle. |
| columnModels | ARRAY<ColumnModel> | The list of ColumnModels for the table. Use mask = 0x10 to include in the bundle. |
| facets | ARRAY<FacetColumnResult> | The list of facets for the search results |
| sumFileSizes | SumFileSizes | The sum of the file size for all files in the given view query. Use mask = 0x40 to include in the bundle. |
| lastUpdatedOn | STRING | The date-time when this table/view was last updated. Note: Since views are eventually consistent a view might still be out-of-date even if it was recently updated. Use mask = 0x80 to include in the bundle. |
| combinedSql | STRING | The SQL that is combination of a the input SQL, FacetRequests, AdditionalFilters, Sorting, and Pagination. Use mask = 0x100 to include in the bundle. |
| actionsRequired | ARRAY<ActionRequiredCount> | The first 50 actions required to download the files that are part of the query. Use mask = 0x200 to include them in the bundle. |
| facetPostProcessingApplied | BOOLEAN | True when a facet post-processing algorithm (e.g. rounding or noise) was applied to the returned facets, indicating the facet counts are approximate. Absent or false when the facet counts are exact. |
| queryCountPostProcessingApplied | BOOLEAN | True when the facet post-processing algorithm (e.g. rounding or noise) was applied to the queryCount, indicating the count is approximate. With rounding, the queryCount is the inclusive lower bound of its bin. Absent or false when the queryCount is exact. |
| queryResultPostProcessingApplied | BOOLEAN | True when the facet post-processing algorithm (e.g. rounding or noise) was applied to each count cell in the queryResult: every COUNT of the query and every count computed by a VirtualTable's defining SQL, indicating those counts are approximate. With rounding, such a count is the inclusive lower bound of its bin. A masked count of -1 is not post-processed. Absent or false when the counts in the queryResult are exact. |
| suppressionThreshold | INTEGER | The suppression threshold (k) of an aggregate-only read or an aggregate data preview. A facet count, or a count cell in the query results, of -1 is a non-zero count below this threshold that has been masked. Absent when the read is not aggregate-only. |