Package com.onec.query
Class QueryEngine
java.lang.Object
com.onec.query.QueryEngine
Compiles a
QuerySpec to SQL via the JoinWalker (ref-navigation joins)
and the shared SqlRenderer, then runs it through JDBI. This is the unified,
type-safe query entry point over catalogs, documents, and registers; from(java.lang.Class<T>)
starts a fluent QueryBuilder.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRun a spec and return untyped projection rows.<D> List<D> Run a spec and map each row ontodtoType(record or POJO).<T> QueryBuilder<T> Start building a query overentity(catalog, document, or register class).
-
Constructor Details
-
QueryEngine
-
-
Method Details
-
from
Start building a query overentity(catalog, document, or register class). -
fetch
Run a spec and return untyped projection rows. -
fetchInto
Run a spec and map each row ontodtoType(record or POJO).
-