All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jinq.jpa.transform.ScalaOuterJoinTransform Maven / Gradle / Ivy

There is a newer version: 1.8.37
Show newest version
package org.jinq.jpa.transform;

import org.jinq.jpa.jpqlquery.RowReader;
import org.jinq.jpa.jpqlquery.ScalaTupleRowReader;

public class ScalaOuterJoinTransform extends OuterJoinTransform
{
   public ScalaOuterJoinTransform(JPQLQueryTransformConfiguration config)
   {
      super(config, true, false);
   }
   
   @Override
   protected  RowReader createPairReader(RowReader a, RowReader b)
   {
      return ScalaTupleRowReader.createReaderForTuple(ScalaTupleRowReader.TUPLE2_CLASS, a, b);
   }
   
   @Override 
   public String getTransformationTypeCachingTag()
   {
      return ScalaOuterJoinTransform.class.getName();
   }
}