Java Code Examples for org.apache.flink.api.common.operators.base.JoinOperatorBase.JoinHint#BROADCAST_HASH_FIRST
The following examples show how to use
org.apache.flink.api.common.operators.base.JoinOperatorBase.JoinHint#BROADCAST_HASH_FIRST .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DataSet.java From Flink-CEPplus with Apache License 2.0 | 2 votes |
/** * Initiates a Join transformation. * * <p>A Join transformation joins the elements of two * {@link DataSet DataSets} on key equality and provides multiple ways to combine * joining elements into one DataSet. * * <p>This method also gives the hint to the optimizer that the second DataSet to join is much * larger than the first one. * * <p>This method returns a {@link JoinOperatorSets} on which one of the {@code where} methods * can be called to define the join key of the first joining (i.e., this) DataSet. * * @param other The other DataSet with which this DataSet is joined. * @return A JoinOperatorSet to continue the definition of the Join transformation. * * @see JoinOperatorSets * @see DataSet */ public <R> JoinOperatorSets<T, R> joinWithHuge(DataSet<R> other) { return new JoinOperatorSets<>(this, other, JoinHint.BROADCAST_HASH_FIRST); }
Example 2
Source File: DataSet.java From flink with Apache License 2.0 | 2 votes |
/** * Initiates a Join transformation. * * <p>A Join transformation joins the elements of two * {@link DataSet DataSets} on key equality and provides multiple ways to combine * joining elements into one DataSet. * * <p>This method also gives the hint to the optimizer that the second DataSet to join is much * larger than the first one. * * <p>This method returns a {@link JoinOperatorSets} on which one of the {@code where} methods * can be called to define the join key of the first joining (i.e., this) DataSet. * * @param other The other DataSet with which this DataSet is joined. * @return A JoinOperatorSet to continue the definition of the Join transformation. * * @see JoinOperatorSets * @see DataSet */ public <R> JoinOperatorSets<T, R> joinWithHuge(DataSet<R> other) { return new JoinOperatorSets<>(this, other, JoinHint.BROADCAST_HASH_FIRST); }
Example 3
Source File: DataSet.java From flink with Apache License 2.0 | 2 votes |
/** * Initiates a Join transformation. * * <p>A Join transformation joins the elements of two * {@link DataSet DataSets} on key equality and provides multiple ways to combine * joining elements into one DataSet. * * <p>This method also gives the hint to the optimizer that the second DataSet to join is much * larger than the first one. * * <p>This method returns a {@link JoinOperatorSets} on which one of the {@code where} methods * can be called to define the join key of the first joining (i.e., this) DataSet. * * @param other The other DataSet with which this DataSet is joined. * @return A JoinOperatorSet to continue the definition of the Join transformation. * * @see JoinOperatorSets * @see DataSet */ public <R> JoinOperatorSets<T, R> joinWithHuge(DataSet<R> other) { return new JoinOperatorSets<>(this, other, JoinHint.BROADCAST_HASH_FIRST); }