com.ebay.erl.mobius.core
Class JoinOnConfigure

java.lang.Object
  extended by com.ebay.erl.mobius.core.JoinOnConfigure

public class JoinOnConfigure
extends java.lang.Object

Specify the join relationship in a Mobius join job.

A join relationship defines the columns to be used as the join keys of the participating datasets.

Use MobiusJob.innerJoin(Dataset...), MobiusJob.leftOuterJoin(Dataset, Dataset, Object) or MobiusJob.rightOuterJoin(Dataset, Dataset, Object) to obtain an instance of this class to create a join job. This product is licensed under the Apache License, Version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0. This product contains portions derived from Apache hadoop which is licensed under the Apache License, Version 2.0, available at http://hadoop.apache.org. © 2007 – 2012 eBay Inc., Evan Chiu, Woody Zhou, Neel Sundaresan


Nested Class Summary
static class JoinOnConfigure.EQ
          Specify the equal relationship of columns from different datasets.
 
Method Summary
 Persistable on(JoinOnConfigure.EQ... eqs)
          Specify the joining columns from the dataset.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

on

public Persistable on(JoinOnConfigure.EQ... eqs)
               throws java.io.IOException
Specify the joining columns from the dataset.

Where there are more than one JoinOnConfigure.EQ in the argument, they will be concatenated together with AND.

Mobius only supports equal-join, ex: dataset1.column1=dataset2.column1.

Throws:
java.io.IOException