Interface LoadPlan.Builder

  • Enclosing class:
    LoadPlan

    public static interface LoadPlan.Builder
    Since:
    2.0.0
    • Method Detail

      • loadFileTo

        LoadPlan.Builder loadFileTo​(String fileName,
                                    LoadPlan.RangeType rangeType,
                                    org.apache.hadoop.io.Text startRow,
                                    org.apache.hadoop.io.Text endRow)
        Specify the row range where a file should be loaded.
        Parameters:
        fileName - this should not be a path. Only a file name because loads are expected to happen from a single directory.
      • loadFileTo

        LoadPlan.Builder loadFileTo​(String fileName,
                                    LoadPlan.RangeType rangeType,
                                    byte[] startRow,
                                    byte[] endRow)
        Specify the row range where a file should be loaded.
        Parameters:
        fileName - this should not be a path. Only a file name because loads are expected to happen from a single directory.
      • loadFileTo

        LoadPlan.Builder loadFileTo​(String fileName,
                                    LoadPlan.RangeType rangeType,
                                    CharSequence startRow,
                                    CharSequence endRow)
        Specify the row range where a file should be loaded.
        Parameters:
        fileName - this should not be a path. Only a file name because loads are expected to happen from a single directory.