Class AbstractJoiner

    • Constructor Detail

      • AbstractJoiner

        public AbstractJoiner()
    • Method Detail

      • keepAllJoinKeyColumns

        public abstract DataFrameJoiner keepAllJoinKeyColumns​(boolean keep)
      • allowDuplicateColumnNames

        public abstract DataFrameJoiner allowDuplicateColumnNames​(boolean allow)
      • rightJoinColumns

        public abstract DataFrameJoiner rightJoinColumns​(String... rightJoinColumnNames)
      • join

        public abstract Table join()
      • inner

        @Deprecated
        public Table inner​(Table... tables)
        Deprecated.
        Joins to the given tables assuming that they have a column of the name we're joining on
        Parameters:
        tables - The tables to join with
      • inner

        @Deprecated
        public Table inner​(boolean allowDuplicateColumnNames,
                           Table... tables)
        Deprecated.
        Joins to the given tables assuming that they have a column of the name we're joining on
        Parameters:
        allowDuplicateColumnNames - if false the join will fail if any columns other than the join column have the same name if true the join will succeed and duplicate columns are renamed*
        tables - The tables to join with
      • inner

        @Deprecated
        public Table inner​(Table table2,
                           String col2Name)
        Deprecated.
        Joins the joiner to the table2, using the given column for the second table and returns the resulting table
        Parameters:
        table2 - The table to join with
        col2Name - The column to join on. If col2Name refers to a double column, the join is performed after rounding to integers.
        Returns:
        The resulting table
      • inner

        @Deprecated
        public Table inner​(Table table2,
                           String[] col2Names)
        Deprecated.
        Joins the joiner to the table2, using the given columns for the second table and returns the resulting table
        Parameters:
        table2 - The table to join with
        col2Names - The columns to join on. If a name refers to a double column, the join is performed after rounding to integers.
        Returns:
        The resulting table
      • inner

        @Deprecated
        public Table inner​(Table table2,
                           String col2Name,
                           boolean allowDuplicateColumnNames)
        Deprecated.
        Joins the joiner to the table2, using the given column for the second table and returns the resulting table
        Parameters:
        table2 - The table to join with
        col2Name - The column to join on. If col2Name refers to a double column, the join is performed after rounding to integers.
        allowDuplicateColumnNames - if false the join will fail if any columns other than the join column have the same name if true the join will succeed and duplicate columns are renamed*
        Returns:
        The resulting table
      • inner

        @Deprecated
        public Table inner​(Table table2,
                           boolean allowDuplicateColumnNames,
                           String... col2Names)
        Deprecated.
        Joins the joiner to the table2, using the given columns for the second table and returns the resulting table
        Parameters:
        table2 - The table to join with
        allowDuplicateColumnNames - if false the join will fail if any columns other than the join column have the same name if true the join will succeed and duplicate columns are renamed*
        col2Names - The columns to join on. If a name refers to a double column, the join is performed after rounding to integers.
        Returns:
        The resulting table
      • inner

        @Deprecated
        public Table inner​(Table table2,
                           boolean allowDuplicateColumnNames,
                           boolean keepAllJoinKeyColumns,
                           String... col2Names)
        Deprecated.
        Joins the joiner to the table2, using the given columns for the second table and returns the resulting table
        Parameters:
        table2 - The table to join with
        allowDuplicateColumnNames - if false the join will fail if any columns other than the join column have the same name if true the join will succeed and duplicate columns are renamed*
        keepAllJoinKeyColumns - if false the join will only keep join key columns in table1 if true the join will return all join key columns in both table, which may have difference when there are null values
        col2Names - The columns to join on. If a name refers to a double column, the join is performed after rounding to integers.
        Returns:
        The resulting table
      • fullOuter

        @Deprecated
        public Table fullOuter​(Table... tables)
        Deprecated.
        Full outer join to the given tables assuming that they have a column of the name we're joining on
        Parameters:
        tables - The tables to join with
        Returns:
        The resulting table
      • fullOuter

        @Deprecated
        public Table fullOuter​(boolean allowDuplicateColumnNames,
                               Table... tables)
        Deprecated.
        Full outer join to the given tables assuming that they have a column of the name we're joining on
        Parameters:
        allowDuplicateColumnNames - if false the join will fail if any columns other than the join column have the same name if true the join will succeed and duplicate columns are renamed*
        tables - The tables to join with
        Returns:
        The resulting table
      • fullOuter

        @Deprecated
        public Table fullOuter​(Table table2,
                               boolean allowDuplicateColumnNames,
                               boolean keepAllJoinKeyColumns,
                               String... col2Names)
        Deprecated.
        Joins the joiner to the table2, using the given columns for the second table and returns the resulting table
        Parameters:
        table2 - The table to join with
        allowDuplicateColumnNames - if false the join will fail if any columns other than the join column have the same name if true the join will succeed and duplicate columns are renamed
        keepAllJoinKeyColumns - if false the join will only keep join key columns in table1 if true the join will return all join key columns in both table, which may have difference when there are null values
        col2Names - The columns to join on. If a name refers to a double column, the join is performed after rounding to integers.
        Returns:
        The resulting table
      • fullOuter

        @Deprecated
        public Table fullOuter​(Table table2,
                               String col2Name)
        Deprecated.
        Full outer join the joiner to the table2, using the given column for the second table and returns the resulting table
        Parameters:
        table2 - The table to join with
        col2Name - The column to join on. If col2Name refers to a double column, the join is performed after rounding to integers.
        Returns:
        The resulting table
      • leftOuter

        @Deprecated
        public Table leftOuter​(Table... tables)
        Deprecated.
        Joins to the given tables assuming that they have a column of the name we're joining on
        Parameters:
        tables - The tables to join with
        Returns:
        The resulting table
      • leftOuter

        @Deprecated
        public Table leftOuter​(boolean allowDuplicateColumnNames,
                               Table... tables)
        Deprecated.
        Joins to the given tables assuming that they have a column of the name we're joining on
        Parameters:
        allowDuplicateColumnNames - if false the join will fail if any columns other than the join column have the same name if true the join will succeed and duplicate columns are renamed*
        tables - The tables to join with
        Returns:
        The resulting table
      • leftOuter

        @Deprecated
        public Table leftOuter​(Table table2,
                               String[] col2Names)
        Deprecated.
        Joins the joiner to the table2, using the given columns for the second table and returns the resulting table
        Parameters:
        table2 - The table to join with
        col2Names - The columns to join on. If a name refers to a double column, the join is performed after rounding to integers.
        Returns:
        The resulting table
      • leftOuter

        @Deprecated
        public Table leftOuter​(Table table2,
                               String col2Name)
        Deprecated.
        Joins the joiner to the table2, using the given column for the second table and returns the resulting table
        Parameters:
        table2 - The table to join with
        col2Name - The column to join on. If col2Name refers to a double column, the join is performed after rounding to integers.
        Returns:
        The resulting table
      • leftOuter

        @Deprecated
        public Table leftOuter​(Table table2,
                               boolean allowDuplicateColumnNames,
                               String... col2Names)
        Deprecated.
        Joins the joiner to the table2, using the given columns for the second table and returns the resulting table
        Parameters:
        table2 - The table to join with
        allowDuplicateColumnNames - if false the join will fail if any columns other than the join column have the same name if true the join will succeed and duplicate columns are renamed
        col2Names - The columns to join on. If a name refers to a double column, the join is performed after rounding to integers.
        Returns:
        The resulting table
      • leftOuter

        @Deprecated
        public Table leftOuter​(Table table2,
                               boolean allowDuplicateColumnNames,
                               boolean keepAllJoinKeyColumns,
                               String... col2Names)
        Deprecated.
        Joins the joiner to the table2, using the given columns for the second table and returns the resulting table
        Parameters:
        table2 - The table to join with
        allowDuplicateColumnNames - if false the join will fail if any columns other than the join column have the same name if true the join will succeed and duplicate columns are renamed
        keepAllJoinKeyColumns - if false the join will only keep join key columns in table1 if true the join will return all join key columns in both table, which may have difference when there are null values
        col2Names - The columns to join on. If a name refers to a double column, the join is performed after rounding to integers.
        Returns:
        The resulting table
      • rightOuter

        @Deprecated
        public Table rightOuter​(Table... tables)
        Deprecated.
        Joins to the given tables assuming that they have a column of the name we're joining on
        Parameters:
        tables - The tables to join with
        Returns:
        The resulting table
      • rightOuter

        @Deprecated
        public Table rightOuter​(boolean allowDuplicateColumnNames,
                                Table... tables)
        Deprecated.
        Joins to the given tables assuming that they have a column of the name we're joining on
        Parameters:
        allowDuplicateColumnNames - if false the join will fail if any columns other than the join column have the same name if true the join will succeed and duplicate columns are renamed
        tables - The tables to join with
        Returns:
        The resulting table
      • rightOuter

        @Deprecated
        public Table rightOuter​(Table table2,
                                String col2Name)
        Deprecated.
        Joins the joiner to the table2, using the given column for the second table and returns the resulting table
        Parameters:
        table2 - The table to join with
        col2Name - The column to join on. If col2Name refers to a double column, the join is performed after rounding to integers.
        Returns:
        The resulting table
      • rightOuter

        @Deprecated
        public Table rightOuter​(Table table2,
                                String[] col2Names)
        Deprecated.
        Joins the joiner to the table2, using the given columns for the second table and returns the resulting table
        Parameters:
        table2 - The table to join with
        col2Names - The columns to join on. If a name refers to a double column, the join is performed after rounding to integers.
        Returns:
        The resulting table
      • rightOuter

        @Deprecated
        public Table rightOuter​(Table table2,
                                boolean allowDuplicateColumnNames,
                                String... col2Names)
        Deprecated.
        Joins the joiner to the table2, using the given columns for the second table and returns the resulting table
        Parameters:
        table2 - The table to join with
        allowDuplicateColumnNames - if false the join will fail if any columns other than the join column have the same name if true the join will succeed and duplicate columns are renamed
        col2Names - The columns to join on. If a name refers to a double column, the join is performed after rounding to integers.
      • rightOuter

        @Deprecated
        public Table rightOuter​(Table table2,
                                boolean allowDuplicateColumnNames,
                                boolean keepAllJoinKeyColumns,
                                String... col2Names)
        Deprecated.
        Joins the joiner to the table2, using the given columns for the second table and returns the resulting table
        Parameters:
        table2 - The table to join with
        allowDuplicateColumnNames - if false the join will fail if any columns other than the join column have the same name if true the join will succeed and duplicate columns are renamed
        keepAllJoinKeyColumns - if false the join will only keep join key columns in table1 if true the join will return all join key columns in both table, which may have difference when there are null values
        col2Names - The columns to join on. If a name refers to a double column, the join is performed after rounding to integers.
        Returns:
        The resulting table