/** * Sets the order in which the sink must write its data. For any value other then <tt>NONE</tt>, * this will cause the system to perform a global sort, or try to reuse an order from a * previous operation. * * @param globalOrder The order to write the data in. */ public void setGlobalOrder(Ordering globalOrder) { this.localOrdering = globalOrder; setRangePartitioned(globalOrder); }
/** * Sets the order in which the sink must write its data. For any value other then <tt>NONE</tt>, * this will cause the system to perform a global sort, or try to reuse an order from a * previous operation. * * @param globalOrder The order to write the data in. * @param distribution The distribution to use for the range partitioning. */ public void setGlobalOrder(Ordering globalOrder, DataDistribution distribution) { this.localOrdering = globalOrder; setRangePartitioned(globalOrder, distribution); }
/** * Sets the order in which the sink must write its data. For any value other then <tt>NONE</tt>, * this will cause the system to perform a global sort, or try to reuse an order from a * previous operation. * * @param globalOrder The order to write the data in. */ public void setGlobalOrder(Ordering globalOrder) { this.localOrdering = globalOrder; setRangePartitioned(globalOrder); }
/** * Sets the order in which the sink must write its data. For any value other then <tt>NONE</tt>, * this will cause the system to perform a global sort, or try to reuse an order from a * previous operation. * * @param globalOrder The order to write the data in. * @param distribution The distribution to use for the range partitioning. */ public void setGlobalOrder(Ordering globalOrder, DataDistribution distribution) { this.localOrdering = globalOrder; setRangePartitioned(globalOrder, distribution); }