Class BulkImporter
- java.lang.Object
-
- org.apache.accumulo.server.client.BulkImporter
-
public class BulkImporter extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBulkImporter.AssignmentStats
-
Constructor Summary
Constructors Constructor Description BulkImporter(ServerContext context, long tid, String tableId, boolean setTime)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<String>bulkLoad(ServerContext context, long tid, String tableId, List<String> files, boolean setTime)static List<TabletLocator.TabletLocation>findOverlappingTablets(ServerContext context, VolumeManager fs, TabletLocator locator, org.apache.hadoop.fs.Path file)static List<TabletLocator.TabletLocation>findOverlappingTablets(ServerContext context, VolumeManager fs, TabletLocator locator, org.apache.hadoop.fs.Path file, KeyExtent failed)static List<TabletLocator.TabletLocation>findOverlappingTablets(ServerContext context, VolumeManager vm, TabletLocator locator, org.apache.hadoop.fs.Path file, org.apache.hadoop.io.Text startRow, org.apache.hadoop.io.Text endRow)protected static org.apache.hadoop.io.TextgetStartRowForExtent(KeyExtent extent)BulkImporter.AssignmentStatsimportFiles(List<String> files)
-
-
-
Constructor Detail
-
BulkImporter
public BulkImporter(ServerContext context, long tid, String tableId, boolean setTime)
-
-
Method Detail
-
bulkLoad
public static List<String> bulkLoad(ServerContext context, long tid, String tableId, List<String> files, boolean setTime) throws IOException
- Throws:
IOException
-
importFiles
public BulkImporter.AssignmentStats importFiles(List<String> files)
-
findOverlappingTablets
public static List<TabletLocator.TabletLocation> findOverlappingTablets(ServerContext context, VolumeManager fs, TabletLocator locator, org.apache.hadoop.fs.Path file) throws Exception
- Throws:
Exception
-
findOverlappingTablets
public static List<TabletLocator.TabletLocation> findOverlappingTablets(ServerContext context, VolumeManager fs, TabletLocator locator, org.apache.hadoop.fs.Path file, KeyExtent failed) throws Exception
- Throws:
Exception
-
getStartRowForExtent
protected static org.apache.hadoop.io.Text getStartRowForExtent(KeyExtent extent)
-
findOverlappingTablets
public static List<TabletLocator.TabletLocation> findOverlappingTablets(ServerContext context, VolumeManager vm, TabletLocator locator, org.apache.hadoop.fs.Path file, org.apache.hadoop.io.Text startRow, org.apache.hadoop.io.Text endRow) throws Exception
- Throws:
Exception
-
-