Package org.apache.accumulo.core.data
Interface LoadPlan.Builder
- Enclosing class:
- LoadPlan
public static interface LoadPlan.Builder
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
loadFileTo
(String fileName, LoadPlan.RangeType rangeType, byte[] startRow, byte[] endRow) Specify the row range where a file should be loaded.loadFileTo
(String fileName, LoadPlan.RangeType rangeType, CharSequence startRow, CharSequence endRow) Specify the row range where a file should be loaded.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.
-
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 theLoadPlan.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 theLoadPlan.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 theLoadPlan.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
-
build
LoadPlan build()
-