Uses of Class
io.trino.tempto.assertions.QueryAssert
Packages that use QueryAssert
-
Uses of QueryAssert in io.trino.tempto.assertions
Methods in io.trino.tempto.assertions that return QueryAssertModifier and TypeMethodDescriptionstatic QueryAssertQueryAssert.assertThat(QueryResult queryResult) Deprecated.<T> QueryAssertQueryAssert.column(int columnIndex, JDBCType type, ColumnValuesAssert<T> columnValuesAssert) <T> QueryAssertQueryAssert.column(String columnName, JDBCType type, ColumnValuesAssert<T> columnValuesAssert) QueryAssert.contains(QueryAssert.Row... rows) QueryAssert.contains(List<QueryAssert.Row> rows) Verifies that the actual result set contains all the givenrowsQueryAssert.containsExactly(QueryAssert.Row... rows) Deprecated.QueryAssert.containsExactly(List<QueryAssert.Row> rows) Deprecated.QueryAssert.containsExactlyInOrder(QueryAssert.Row... rows) QueryAssert.containsExactlyInOrder(List<QueryAssert.Row> rows) Verifies that the actual result set equals torows.QueryAssert.containsOnly(QueryAssert.Row... rows) QueryAssert.containsOnly(List<QueryAssert.Row> rows) Verifies that the actual result set consist of onlyrowsin any orderQueryAssert.hasAnyRows()QueryAssert.hasColumns(JDBCType... expectedTypes) QueryAssert.hasColumns(List<JDBCType> expectedTypes) QueryAssert.hasColumnsCount(int columnCount) QueryAssert.hasNoRows()QueryAssert.hasRowsCount(int resultCount) QueryAssert.matches(SqlResultDescriptor sqlResultDescriptor) QueryAssert.updatedRowsCountIsEqualTo(int count) Verifies number of rows updated/inserted by last update query -
Uses of QueryAssert in io.trino.tempto.query
Methods in io.trino.tempto.query that return QueryAssert
containsExactlyInOrder(Row...)