Interface LoadPlan.Builder

Enclosing class:
LoadPlan

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

    • 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. Note that whether the startRow parameter is inclusive or exclusive is determined by the LoadPlan.RangeType parameter.
      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. Note that whether the startRow parameter is inclusive or exclusive is determined by the LoadPlan.RangeType parameter.
      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. Note that whether the startRow parameter is inclusive or exclusive is determined by the LoadPlan.RangeType parameter.
      Parameters:
      fileName - this should not be a path. Only a file name because loads are expected to happen from a single directory.
    • addPlan

      LoadPlan.Builder addPlan(LoadPlan plan)
    • build

      LoadPlan build()