public static interface LoadPlan.Builder
Modifier and Type | Method and Description |
---|---|
LoadPlan.Builder |
addPlan(LoadPlan plan) |
LoadPlan |
build() |
LoadPlan.Builder |
loadFileTo(String fileName,
LoadPlan.RangeType rangeType,
byte[] startRow,
byte[] endRow)
Specify the row range where a file should be loaded.
|
LoadPlan.Builder |
loadFileTo(String fileName,
LoadPlan.RangeType rangeType,
CharSequence startRow,
CharSequence endRow)
Specify the row range where a file should be loaded.
|
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.
|
LoadPlan.Builder loadFileTo(String fileName, LoadPlan.RangeType rangeType, org.apache.hadoop.io.Text startRow, org.apache.hadoop.io.Text endRow)
fileName
- this should not be a path. Only a file name because loads are expected to happen
from a single directory.LoadPlan.Builder loadFileTo(String fileName, LoadPlan.RangeType rangeType, byte[] startRow, byte[] endRow)
fileName
- this should not be a path. Only a file name because loads are expected to happen
from a single directory.LoadPlan.Builder loadFileTo(String fileName, LoadPlan.RangeType rangeType, CharSequence startRow, CharSequence endRow)
fileName
- this should not be a path. Only a file name because loads are expected to happen
from a single directory.LoadPlan.Builder addPlan(LoadPlan plan)
LoadPlan build()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.