public class Join
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Join.FullOuterJoin<K,V1,V2>
PTransform representing a full outer join of two collections of KV elements.
|
static class |
Join.InnerJoin<K,V1,V2>
PTransform representing an inner join of two collections of KV elements.
|
static class |
Join.LeftOuterJoin<K,V1,V2>
PTransform representing a left outer join of two collections of KV elements.
|
static class |
Join.RightOuterJoin<K,V1,V2>
PTransform representing a right outer join of two collections of KV elements.
|
| Constructor and Description |
|---|
Join() |
| Modifier and Type | Method and Description |
|---|---|
static <K,V1,V2> PCollection<KV<K,KV<V1,V2>>> |
fullOuterJoin(PCollection<KV<K,V1>> leftCollection,
PCollection<KV<K,V2>> rightCollection,
V1 leftNullValue,
V2 rightNullValue)
Full Outer Join of two collections of KV elements.
|
static <K,V1,V2> PCollection<KV<K,KV<V1,V2>>> |
fullOuterJoin(java.lang.String name,
PCollection<KV<K,V1>> leftCollection,
PCollection<KV<K,V2>> rightCollection,
V1 leftNullValue,
V2 rightNullValue)
Full Outer Join of two collections of KV elements.
|
static <K,V1,V2> PCollection<KV<K,KV<V1,V2>>> |
innerJoin(PCollection<KV<K,V1>> leftCollection,
PCollection<KV<K,V2>> rightCollection)
Inner join of two collections of KV elements.
|
static <K,V1,V2> PCollection<KV<K,KV<V1,V2>>> |
innerJoin(java.lang.String name,
PCollection<KV<K,V1>> leftCollection,
PCollection<KV<K,V2>> rightCollection)
Inner join of two collections of KV elements.
|
static <K,V1,V2> PCollection<KV<K,KV<V1,V2>>> |
leftOuterJoin(PCollection<KV<K,V1>> leftCollection,
PCollection<KV<K,V2>> rightCollection,
V2 nullValue) |
static <K,V1,V2> PCollection<KV<K,KV<V1,V2>>> |
leftOuterJoin(java.lang.String name,
PCollection<KV<K,V1>> leftCollection,
PCollection<KV<K,V2>> rightCollection,
V2 nullValue)
Left Outer Join of two collections of KV elements.
|
static <K,V1,V2> PCollection<KV<K,KV<V1,V2>>> |
rightOuterJoin(PCollection<KV<K,V1>> leftCollection,
PCollection<KV<K,V2>> rightCollection,
V1 nullValue)
Right Outer Join of two collections of KV elements.
|
static <K,V1,V2> PCollection<KV<K,KV<V1,V2>>> |
rightOuterJoin(java.lang.String name,
PCollection<KV<K,V1>> leftCollection,
PCollection<KV<K,V2>> rightCollection,
V1 nullValue)
Right Outer Join of two collections of KV elements.
|
public static <K,V1,V2> PCollection<KV<K,KV<V1,V2>>> innerJoin(PCollection<KV<K,V1>> leftCollection, PCollection<KV<K,V2>> rightCollection)
K - Type of the key for both collectionsV1 - Type of the values for the left collection.V2 - Type of the values for the right collection.leftCollection - Left side collection to join.rightCollection - Right side collection to join.public static <K,V1,V2> PCollection<KV<K,KV<V1,V2>>> innerJoin(java.lang.String name, PCollection<KV<K,V1>> leftCollection, PCollection<KV<K,V2>> rightCollection)
K - Type of the key for both collectionsV1 - Type of the values for the left collection.V2 - Type of the values for the right collection.name - Name of the PTransform.leftCollection - Left side collection to join.rightCollection - Right side collection to join.public static <K,V1,V2> PCollection<KV<K,KV<V1,V2>>> leftOuterJoin(java.lang.String name, PCollection<KV<K,V1>> leftCollection, PCollection<KV<K,V2>> rightCollection, V2 nullValue)
K - Type of the key for both collectionsV1 - Type of the values for the left collection.V2 - Type of the values for the right collection.name - Name of the PTransform.leftCollection - Left side collection to join.rightCollection - Right side collection to join.nullValue - Value to use as null value when right side do not match left side.public static <K,V1,V2> PCollection<KV<K,KV<V1,V2>>> leftOuterJoin(PCollection<KV<K,V1>> leftCollection, PCollection<KV<K,V2>> rightCollection, V2 nullValue)
public static <K,V1,V2> PCollection<KV<K,KV<V1,V2>>> rightOuterJoin(java.lang.String name, PCollection<KV<K,V1>> leftCollection, PCollection<KV<K,V2>> rightCollection, V1 nullValue)
K - Type of the key for both collectionsV1 - Type of the values for the left collection.V2 - Type of the values for the right collection.name - Name of the PTransform.leftCollection - Left side collection to join.rightCollection - Right side collection to join.nullValue - Value to use as null value when left side do not match right side.public static <K,V1,V2> PCollection<KV<K,KV<V1,V2>>> rightOuterJoin(PCollection<KV<K,V1>> leftCollection, PCollection<KV<K,V2>> rightCollection, V1 nullValue)
K - Type of the key for both collectionsV1 - Type of the values for the left collection.V2 - Type of the values for the right collection.leftCollection - Left side collection to join.rightCollection - Right side collection to join.nullValue - Value to use as null value when left side do not match right side.public static <K,V1,V2> PCollection<KV<K,KV<V1,V2>>> fullOuterJoin(java.lang.String name, PCollection<KV<K,V1>> leftCollection, PCollection<KV<K,V2>> rightCollection, V1 leftNullValue, V2 rightNullValue)
K - Type of the key for both collectionsV1 - Type of the values for the left collection.V2 - Type of the values for the right collection.name - Name of the PTransform.leftCollection - Left side collection to join.rightCollection - Right side collection to join.leftNullValue - Value to use as null value when left side do not match right side.rightNullValue - Value to use as null value when right side do not match right side.public static <K,V1,V2> PCollection<KV<K,KV<V1,V2>>> fullOuterJoin(PCollection<KV<K,V1>> leftCollection, PCollection<KV<K,V2>> rightCollection, V1 leftNullValue, V2 rightNullValue)
K - Type of the key for both collectionsV1 - Type of the values for the left collection.V2 - Type of the values for the right collection.leftCollection - Left side collection to join.rightCollection - Right side collection to join.leftNullValue - Value to use as null value when left side do not match right side.rightNullValue - Value to use as null value when right side do not match right side.