org.apache.pig
Interface CollectableLoadFunc

All Known Implementing Classes:
TableLoader

@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface CollectableLoadFunc

This interface implemented by a LoadFunc implementations indicates to Pig that it has the capability to load data such that all instances of a key will occur in same split.

Since:
Pig 0.7

Method Summary
 void ensureAllKeyInstancesInSameSplit()
          When this method is called, Pig is communicating to the Loader that it must load data such that all instances of a key are in same split.
 

Method Detail

ensureAllKeyInstancesInSameSplit

void ensureAllKeyInstancesInSameSplit()
                                      throws IOException
When this method is called, Pig is communicating to the Loader that it must load data such that all instances of a key are in same split. Pig will make no further checks at runtime to ensure whether the contract is honored or not.

Throws:
IOException


Copyright © ${year} The Apache Software Foundation