Class FileMetadata
java.lang.Object
org.apache.drill.exec.physical.impl.scan.file.FileMetadata
Specify the file name and optional selection root. If the selection root
is provided, then partitions are defined as the portion of the file name
that is not also part of the selection root. That is, if selection root is
/a/b and the file path is /a/b/c/d.csv, then dir0 is c.
-
Constructor Summary
ConstructorDescriptionFileMetadata
(org.apache.hadoop.fs.Path filePath, org.apache.hadoop.fs.Path selectionRoot) FileMetadata
(org.apache.hadoop.fs.Path filePath, org.apache.hadoop.fs.Path selectionRoot, org.apache.hadoop.fs.FileSystem fs) -
Method Summary
-
Constructor Details
-
FileMetadata
public FileMetadata(org.apache.hadoop.fs.Path filePath, org.apache.hadoop.fs.Path selectionRoot) -
FileMetadata
public FileMetadata(org.apache.hadoop.fs.Path filePath, org.apache.hadoop.fs.Path selectionRoot, org.apache.hadoop.fs.FileSystem fs)
-
-
Method Details
-
filePath
public org.apache.hadoop.fs.Path filePath() -
partition
-
dirPathLength
public int dirPathLength() -
isSet
public boolean isSet() -
getImplicitColumnValue
-