public class FileDescrip extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isEmpty |
protected Integer |
rowGroupIndex |
protected Long |
rowGroupLength |
protected Long |
rowGroupStart |
| Constructor and Description |
|---|
FileDescrip(DrillFileSystem dfs,
FileWork fileWork,
org.apache.hadoop.fs.Path selectionRoot) |
| Modifier and Type | Method and Description |
|---|---|
int |
dirPathLength() |
org.apache.hadoop.fs.Path |
filePath()
Returns Drill's version of the Hadoop file split.
|
DrillFileSystem |
fileSystem()
Gives the Drill file system for this operator.
|
FileWork |
fileWork() |
String |
getModTime() |
boolean |
isCompressible() |
void |
markEmpty() |
InputStream |
open() |
String |
partition(int index) |
void |
setCompressible(boolean isCompressed) |
void |
setModTime(String modTime)
Explicitly set the cached modification time.
|
void |
setRowGroupAttribs(int index,
long start,
long length) |
org.apache.hadoop.mapred.FileSplit |
split()
Describes the file split (path and block offset) for this scan.
|
protected Integer rowGroupIndex
protected Long rowGroupStart
protected Long rowGroupLength
protected boolean isEmpty
public FileDescrip(DrillFileSystem dfs, FileWork fileWork, org.apache.hadoop.fs.Path selectionRoot)
public DrillFileSystem fileSystem()
public org.apache.hadoop.fs.Path filePath()
public org.apache.hadoop.mapred.FileSplit split()
public FileWork fileWork()
public String partition(int index)
public int dirPathLength()
public void setRowGroupAttribs(int index,
long start,
long length)
public String getModTime()
public void setModTime(String modTime)
public void setCompressible(boolean isCompressed)
public boolean isCompressible()
public InputStream open() throws IOException
IOExceptionpublic void markEmpty()
Copyright © 2021 The Apache Software Foundation. All rights reserved.