public class SplitUtils extends Object
Constructor and Description |
---|
SplitUtils() |
Modifier and Type | Method and Description |
---|---|
static float |
getProgress(ByteSequence start,
ByteSequence end,
ByteSequence position) |
static long |
getRangeLength(Range range) |
static void |
updateSplit(RangeInputSplit split,
Instance instance,
InputTableConfig tableConfig,
String principal,
AuthenticationToken token,
Authorizations auths,
org.apache.log4j.Level logLevel)
Central place to set common split configuration not handled by split constructors.
|
public static void updateSplit(RangeInputSplit split, Instance instance, InputTableConfig tableConfig, String principal, AuthenticationToken token, Authorizations auths, org.apache.log4j.Level logLevel)
public static float getProgress(ByteSequence start, ByteSequence end, ByteSequence position)
public static long getRangeLength(Range range) throws IOException
IOException
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.