Class QueryContainer


  • public class QueryContainer
    extends Object
    Part of the NarrowExecutor.QueryInfo object that is passed to NarrowExecutor implementations. It allows the NarrowExecutor interface to be agnostic to the backing database platform persistence vehicle. For example, if the QueryInfo is being passed to a Jpa specific NarrowExecutor, it would be correct to pass an instance of org.springframework.data.jpa.core.query.Query to the QueryContainer constructor.
    Author:
    Jeff Fischer
    • Constructor Detail

      • QueryContainer

        public QueryContainer​(Object context)
    • Method Detail

      • unwrap

        public <T> T unwrap​(Class<T> clazz)