Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MergeJoinMeta extends BaseStepMeta implements StepMetaInterface
- {
- private static Class<?> PKG = MergeJoinMeta.class; // for i18n purposes, needed by Translator2!! $NON-NLS-1$
- public static final String [] join_types = {"INNER", "LEFT OUTER", "RIGHT OUTER", "FULL OUTER"};
- public static final boolean [] one_optionals = {false, false, true, true};
- public static final boolean [] two_optionals = {false, true, false, true};
- private String joinType;
- private String keyFields1[];
- private String keyFields2[];
- /**
- * The supported join types are INNER, LEFT OUTER, RIGHT OUTER and FULL OUTER
- * @return The type of join
- */
- public String getJoinType()
- {
- return joinType;
- }
- /**
- * Sets the type of join
- * @param joinType The type of join, e.g. INNER/FULL OUTER
- */
- public void setJoinType(String joinType)
- {
- this.joinType = joinType;
- }
- public MergeJoinMeta()
- {
- super(); // allocate BaseStepMeta
- }
- public void loadXML(Node stepnode, List<DatabaseMeta> databases, IMetaStore metaStore)
- throws KettleXMLException
- {
- readData(stepnode);
- }
Advertisement
Add Comment
Please, Sign In to add comment