Interface BlazeMapJoin<Z,K,V>

Type Parameters:
Z - the source type of the join
K - the key type of the target Map
V - the element type of the target Map
All Superinterfaces:
BlazeExpression<V>, BlazeFetchParent<Z,V>, BlazeFrom<Z,V>, BlazeJoin<Z,V>, BlazePath<V>, Expression<V>, Fetch<Z,V>, FetchParent<Z,V>, From<Z,V>, Join<Z,V>, MapJoin<Z,K,V>, Path<V>, PluralJoin<Z,Map<K,V>,V>, Selection<V>, TupleElement<V>

public interface BlazeMapJoin<Z,K,V> extends MapJoin<Z,K,V>, BlazeJoin<Z,V>
An extended version of MapJoin.
Since:
1.2.0
Author:
Christian Beikov
  • Method Details

    • treatAs

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

      BlazeMapJoin<Z,K,V> 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,K>
      Parameters:
      restriction - a simple or compound boolean expression
      Returns:
      the modified join object
    • on

      BlazeMapJoin<Z,K,V> 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,K>
      Parameters:
      restrictions - zero or more restriction predicates
      Returns:
      the modified join object