public class InputFileBlockHolder
extends Object
| Constructor and Description | 
|---|
| InputFileBlockHolder() | 
| Modifier and Type | Method and Description | 
|---|---|
| static org.apache.spark.unsafe.types.UTF8String | getInputFilePath()Returns the holding file name or empty string if it is unknown. | 
| static long | getLength()Returns the length of the block being read, or -1 if it is unknown. | 
| static long | getStartOffset()Returns the starting offset of the block currently being read, or -1 if it is unknown. | 
| static void | initialize()Initializes thread local by explicitly getting the value. | 
| static void | set(String filePath,
   long startOffset,
   long length)Sets the thread-local input block. | 
| static void | unset()Clears the input file block to default value. | 
public static org.apache.spark.unsafe.types.UTF8String getInputFilePath()
public static long getStartOffset()
public static long getLength()
public static void set(String filePath,
                       long startOffset,
                       long length)
filePath - (undocumented)startOffset - (undocumented)length - (undocumented)public static void unset()
public static void initialize()