java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.query.selection.interceptor.QueryResultImpl
ch.tocco.nice2.persist.core.impl.hibernate.query.selection.binary.interceptor.BinaryQueryResults
All Implemented Interfaces:
QueryBuilderInterceptor.SelectionInterceptor.QueryResult

public class BinaryQueryResults extends QueryResultImpl
Special implementation of QueryBuilderInterceptor.SelectionInterceptor.QueryResult for AbstractToOneBinaryHandler and AbstractToManyBinaryHandler. Because the BinaryData instances are not loaded directly from the hibernate query, they are not present in the result rows. Therefore replacements are stored in a map and are applied later when the query results are mapped to the target data structure.