P
- Entity type.X
- Result type.public interface QuerySelection<P,X>
Modifier and Type | Method and Description |
---|---|
<R> javax.persistence.criteria.Selection<X> |
toSelection(javax.persistence.criteria.CriteriaQuery<R> query,
javax.persistence.criteria.CriteriaBuilder builder,
javax.persistence.criteria.Path<? extends P> path)
Convert the instance to a criteria selection.
|
<R> javax.persistence.criteria.Selection<X> toSelection(javax.persistence.criteria.CriteriaQuery<R> query, javax.persistence.criteria.CriteriaBuilder builder, javax.persistence.criteria.Path<? extends P> path)
query
- The current criteria query.builder
- The query builder used to instantiate the selection.path
- Current path.Copyright © 2015 The Apache Software Foundation. All rights reserved.