Index
All Classes and Interfaces|All Packages
B
- bestPractices() - Method in class io.queryanalyzer.example.controller.ExamplesController
C
- countUsers() - Method in class io.queryanalyzer.example.service.UserService
D
- detect(List<QueryInfo>) - Method in class io.queryanalyzer.example.custom.DuplicateQueryDetector
- DuplicateQueryDetector - Class in io.queryanalyzer.example.custom
- DuplicateQueryDetector() - Constructor for class io.queryanalyzer.example.custom.DuplicateQueryDetector
E
- everythingWrong() - Method in class io.queryanalyzer.example.controller.ExamplesController
-
Combines multiple anti-patterns to trigger multiple issues: - N+1 query pattern (orders) - Slow query (via SLEEP)
- ExampleApplication - Class in io.queryanalyzer.example
- ExampleApplication() - Constructor for class io.queryanalyzer.example.ExampleApplication
- ExamplesController - Class in io.queryanalyzer.example.controller
- ExamplesController(UserRepository, OrderRepository, JdbcTemplate) - Constructor for class io.queryanalyzer.example.controller.ExamplesController
F
- FileReporter - Class in io.queryanalyzer.example.custom
- FileReporter() - Constructor for class io.queryanalyzer.example.custom.FileReporter
- findAllWithOrders() - Method in interface io.queryanalyzer.example.repository.UserRepository
- findByUserId(Long) - Method in interface io.queryanalyzer.example.repository.OrderRepository
- findByUserIdIn(List<Long>) - Method in interface io.queryanalyzer.example.repository.OrderRepository
G
- getAllUsers() - Method in class io.queryanalyzer.example.controller.UserController
- getAllUsersOptimized() - Method in class io.queryanalyzer.example.controller.UserController
- getAllUsersWithOrdersBad() - Method in class io.queryanalyzer.example.service.UserService
- getAllUsersWithOrdersGood() - Method in class io.queryanalyzer.example.service.UserService
- getFullReportBad() - Method in class io.queryanalyzer.example.service.UserService
- getFullReportGood() - Method in class io.queryanalyzer.example.service.UserService
- getName() - Method in class io.queryanalyzer.example.custom.DuplicateQueryDetector
- getUserById(Long) - Method in class io.queryanalyzer.example.service.UserService
- getUserOrderCountsBad() - Method in class io.queryanalyzer.example.service.UserService
- getUserOrderCountsGood() - Method in class io.queryanalyzer.example.service.UserService
I
- io.queryanalyzer.example - package io.queryanalyzer.example
- io.queryanalyzer.example.controller - package io.queryanalyzer.example.controller
- io.queryanalyzer.example.custom - package io.queryanalyzer.example.custom
- io.queryanalyzer.example.dto - package io.queryanalyzer.example.dto
- io.queryanalyzer.example.model - package io.queryanalyzer.example.model
- io.queryanalyzer.example.repository - package io.queryanalyzer.example.repository
- io.queryanalyzer.example.service - package io.queryanalyzer.example.service
M
- main(String[]) - Static method in class io.queryanalyzer.example.ExampleApplication
- multipleNPlusOne() - Method in class io.queryanalyzer.example.controller.ExamplesController
N
- nPlusOneBad() - Method in class io.queryanalyzer.example.controller.ExamplesController
- nPlusOneGood() - Method in class io.queryanalyzer.example.controller.ExamplesController
O
- Order - Class in io.queryanalyzer.example.model
- Order(String, BigDecimal, User) - Constructor for class io.queryanalyzer.example.model.Order
- OrderRepository - Interface in io.queryanalyzer.example.repository
P
- parameterizedQuery(Long) - Method in class io.queryanalyzer.example.controller.ExamplesController
Q
- queryInLoop() - Method in class io.queryanalyzer.example.controller.ExamplesController
- queryInLoopFixed() - Method in class io.queryanalyzer.example.controller.ExamplesController
R
- report(List<QueryIssue>) - Method in class io.queryanalyzer.example.custom.FileReporter
S
- slowQuery() - Method in class io.queryanalyzer.example.controller.ExamplesController
T
- testRateLimit() - Method in class io.queryanalyzer.example.controller.ExamplesController
U
- User - Class in io.queryanalyzer.example.model
- User(String, String) - Constructor for class io.queryanalyzer.example.model.User
- UserController - Class in io.queryanalyzer.example.controller
- UserController(UserRepository) - Constructor for class io.queryanalyzer.example.controller.UserController
- UserDTO - Class in io.queryanalyzer.example.dto
- UserDTO() - Constructor for class io.queryanalyzer.example.dto.UserDTO
- UserRepository - Interface in io.queryanalyzer.example.repository
- UserService - Class in io.queryanalyzer.example.service
- UserService(UserRepository, OrderRepository) - Constructor for class io.queryanalyzer.example.service.UserService
All Classes and Interfaces|All Packages