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

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

The newest version!
package org.jinq.jpa.transform;

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

public class ScalaOuterJoinOnTransform extends OuterJoinOnTransform
{
   public ScalaOuterJoinOnTransform(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 ScalaOuterJoinOnTransform.class.getName();
   }
}