public class DotDrillUtil extends Object
Constructor and Description |
---|
DotDrillUtil() |
Modifier and Type | Method and Description |
---|---|
static List<DotDrillFile> |
getDotDrills(DrillFileSystem fs,
org.apache.hadoop.fs.Path root,
DotDrillType... types)
Return list of DotDrillFile objects whose file name ends with .drill and matches the provided Drill Dot files types
in a given parent Path.
|
static List<DotDrillFile> |
getDotDrills(DrillFileSystem fs,
org.apache.hadoop.fs.Path root,
String name,
DotDrillType... types)
Return list of DotDrillFile objects whose file name matches the provided name pattern and Drill Dot files types
in a given parent Path.
|
public static List<DotDrillFile> getDotDrills(DrillFileSystem fs, org.apache.hadoop.fs.Path root, DotDrillType... types) throws IOException
fs
- DrillFileSystem instanceroot
- parent Pathtypes
- Dot Drill Types to be matchedIOException
public static List<DotDrillFile> getDotDrills(DrillFileSystem fs, org.apache.hadoop.fs.Path root, String name, DotDrillType... types) throws IOException
fs
- DrillFileSystem instanceroot
- parent Pathname
- name/pattern of the filetypes
- Dot Drill Types to be matchedIOException
Copyright © 1970 The Apache Software Foundation. All rights reserved.