Interface BlazeCollectionJoin<Z,​E>

Type Parameters:
Z - the source type of the join
E - the element type of the target Collection
All Superinterfaces:
BlazeExpression<E>, BlazeFetchParent<Z,​E>, BlazeFrom<Z,​E>, BlazeJoin<Z,​E>, BlazePath<E>, CollectionJoin<Z,​E>, Expression<E>, Fetch<Z,​E>, FetchParent<Z,​E>, From<Z,​E>, Join<Z,​E>, Path<E>, PluralJoin<Z,​Collection<E>,​E>, Selection<E>, TupleElement<E>

public interface BlazeCollectionJoin<Z,​E>
extends CollectionJoin<Z,​E>, BlazeJoin<Z,​E>
An extended version of CollectionJoin.
Since:
1.2.0
Author:
Christian Beikov
  • Method Details

    • treatAs

      <T extends E> BlazeCollectionJoin<Z,​T> treatAs​(Class<T> type)
      Like BlazeJoin.treatAs(java.lang.Class<T>) but returns the subtype BlazeCollectionJoin instead.
      Specified by:
      treatAs in interface BlazeJoin<Z,​E>
      Type Parameters:
      T - The target treat type
      Parameters:
      type - type to be downcast to
      Returns:
      The treated join object
    • on

      BlazeCollectionJoin<Z,​E> on​(Expression<Boolean> restriction)
      Modify the join to restrict the result according to the specified ON condition. Replaces the previous ON condition, if any. Return the join object
      Specified by:
      on in interface BlazeJoin<Z,​E>
      Parameters:
      restriction - a simple or compound boolean expression
      Returns:
      the modified join object
    • on

      BlazeCollectionJoin<Z,​E> on​(Predicate... restrictions)
      Modify the join to restrict the result according to the specified ON condition. Replaces the previous ON condition, if any. Return the join object
      Specified by:
      on in interface BlazeJoin<Z,​E>
      Parameters:
      restrictions - zero or more restriction predicates
      Returns:
      the modified join object