Schema schema = SchemaCache.globalSchema(ddl().getAIS(session()));
IndexRowType indexRowType = schema.indexRowType(index);
StoreAdapter adapter = newStoreAdapter(schema);
QueryContext queryContext = new SimpleQueryContext(adapter);
QueryBindings queryBindings = queryContext.createBindings();
compareRows(
new Row[] {
testRow(indexRowType, "a", 110, 1, 10, 100),
testRow(indexRowType, "a", 111, 1, 10, 101),
testRow(indexRowType, "a", 122, 1, 11, 111),