Guest User

Kettle Code Formatting 5.0.0.1 - 2

a guest
Sep 23rd, 2013
43
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class MergeJoinMeta extends BaseStepMeta implements StepMetaInterface
  2. {
  3.     private static Class<?> PKG = MergeJoinMeta.class; // for i18n purposes, needed by Translator2!!   $NON-NLS-1$
  4.  
  5.     public static final String [] join_types = {"INNER", "LEFT OUTER", "RIGHT OUTER", "FULL OUTER"};
  6.     public static final boolean [] one_optionals = {false, false, true, true};
  7.     public static final boolean [] two_optionals = {false, true, false, true};
  8.  
  9.     private String joinType;
  10.  
  11.     private String   keyFields1[];
  12.     private String   keyFields2[];
  13.  
  14.     /**
  15.      * The supported join types are INNER, LEFT OUTER, RIGHT OUTER and FULL OUTER
  16.      * @return The type of join
  17.      */
  18.     public String getJoinType()
  19.     {
  20.         return joinType;
  21.     }
  22.  
  23.     /**
  24.      * Sets the type of join
  25.      * @param joinType The type of join, e.g. INNER/FULL OUTER
  26.      */
  27.     public void setJoinType(String joinType)
  28.     {
  29.         this.joinType = joinType;
  30.     }
  31.  
  32.     public MergeJoinMeta()
  33.     {
  34.         super(); // allocate BaseStepMeta
  35.     }
  36.    
  37.     public void loadXML(Node stepnode, List<DatabaseMeta> databases, IMetaStore metaStore)
  38.         throws KettleXMLException
  39.     {
  40.         readData(stepnode);
  41.     }
RAW Paste Data