blob: 5e9a9ef68c2252530a2e0ca5d9932a4a0e86f9d0 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>FileSelection (Drill : 1.20.3 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="FileSelection (Drill : 1.20.3 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"i1":10,"i2":9,"i3":9,"i4":9,"i5":9,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/FileSelection.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/drill/exec/store/dfs/DropboxFileSystem.html" title="class in org.apache.drill.exec.store.dfs"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSystemConfig.html" title="class in org.apache.drill.exec.store.dfs"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/drill/exec/store/dfs/FileSelection.html" target="_top">Frames</a></li>
<li><a href="FileSelection.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.drill.exec.store.dfs</div>
<h2 title="Class FileSelection" class="title">Class FileSelection</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.drill.exec.store.dfs.FileSelection</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../../org/apache/drill/exec/planner/logical/DrillTableSelection.html" title="interface in org.apache.drill.exec.planner.logical">DrillTableSelection</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../../org/apache/drill/exec/store/iceberg/format/IcebergMetadataFileSelection.html" title="class in org.apache.drill.exec.store.iceberg.format">IcebergMetadataFileSelection</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">FileSelection</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="../../../../../../org/apache/drill/exec/planner/logical/DrillTableSelection.html" title="interface in org.apache.drill.exec.planner.logical">DrillTableSelection</a></pre>
<div class="block">Jackson serializable description of a file selection.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>org.apache.hadoop.fs.Path</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#cacheFileRoot">cacheFileRoot</a></span></code>
<div class="block">root path for the metadata cache file (if any)</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.Path&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#files">files</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>org.apache.hadoop.fs.Path</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#selectionRoot">selectionRoot</a></span></code>
<div class="block">root path for the selections</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#FileSelection-org.apache.drill.exec.store.dfs.FileSelection-">FileSelection</a></span>(<a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html" title="class in org.apache.drill.exec.store.dfs">FileSelection</a>&nbsp;selection)</code>
<div class="block">Copy constructor for convenience.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#FileSelection-java.util.List-java.util.List-org.apache.hadoop.fs.Path-">FileSelection</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.FileStatus&gt;&nbsp;statuses,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.Path&gt;&nbsp;files,
org.apache.hadoop.fs.Path&nbsp;selectionRoot)</code>
<div class="block">Creates a <a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html" title="class in org.apache.drill.exec.store.dfs"><code>selection</code></a> out of given file statuses/files and selection root.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#FileSelection-java.util.List-java.util.List-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-boolean-">FileSelection</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.FileStatus&gt;&nbsp;statuses,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.Path&gt;&nbsp;files,
org.apache.hadoop.fs.Path&nbsp;selectionRoot,
org.apache.hadoop.fs.Path&nbsp;cacheFileRoot,
boolean&nbsp;wasAllPartitionsPruned)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#FileSelection-java.util.List-java.util.List-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-boolean-org.apache.drill.exec.store.dfs.FileSelection.StatusType-">FileSelection</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.FileStatus&gt;&nbsp;statuses,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.Path&gt;&nbsp;files,
org.apache.hadoop.fs.Path&nbsp;selectionRoot,
org.apache.hadoop.fs.Path&nbsp;cacheFileRoot,
boolean&nbsp;wasAllPartitionsPruned,
org.apache.drill.exec.store.dfs.FileSelection.StatusType&nbsp;dirStatus)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#checkBackPaths-java.lang.String-java.lang.String-java.lang.String-">checkBackPaths</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;parent,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;combinedPath,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;subpath)</code>
<div class="block">Check if the path is a valid sub path under the parent after removing backpaths.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#containsDirectories-org.apache.drill.exec.store.dfs.DrillFileSystem-">containsDirectories</a></span>(<a href="../../../../../../org/apache/drill/exec/store/dfs/DrillFileSystem.html" title="class in org.apache.drill.exec.store.dfs">DrillFileSystem</a>&nbsp;fs)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html" title="class in org.apache.drill.exec.store.dfs">FileSelection</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#create-org.apache.drill.exec.store.dfs.DrillFileSystem-java.lang.String-java.lang.String-boolean-">create</a></span>(<a href="../../../../../../org/apache/drill/exec/store/dfs/DrillFileSystem.html" title="class in org.apache.drill.exec.store.dfs">DrillFileSystem</a>&nbsp;fs,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;parent,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
boolean&nbsp;allowAccessOutsideWorkspace)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html" title="class in org.apache.drill.exec.store.dfs">FileSelection</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#create-java.util.List-java.util.List-org.apache.hadoop.fs.Path-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.FileStatus&gt;&nbsp;statuses,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.Path&gt;&nbsp;files,
org.apache.hadoop.fs.Path&nbsp;root)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html" title="class in org.apache.drill.exec.store.dfs">FileSelection</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#create-java.util.List-java.util.List-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-boolean-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.FileStatus&gt;&nbsp;statuses,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.Path&gt;&nbsp;files,
org.apache.hadoop.fs.Path&nbsp;root,
org.apache.hadoop.fs.Path&nbsp;cacheFileRoot,
boolean&nbsp;wasAllPartitionsPruned)</code>
<div class="block">Creates a <a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html" title="class in org.apache.drill.exec.store.dfs"><code>selection</code></a> with the given file statuses/files and selection root.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html" title="class in org.apache.drill.exec.store.dfs">FileSelection</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#createFromDirectories-java.util.List-org.apache.drill.exec.store.dfs.FileSelection-org.apache.hadoop.fs.Path-">createFromDirectories</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.Path&gt;&nbsp;dirPaths,
<a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html" title="class in org.apache.drill.exec.store.dfs">FileSelection</a>&nbsp;selection,
org.apache.hadoop.fs.Path&nbsp;cacheFileRoot)</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#digest--">digest</a></span>()</code>
<div class="block">The digest of the selection represented by the implementation.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>org.apache.hadoop.fs.Path</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#getCacheFileRoot--">getCacheFileRoot</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>org.apache.drill.exec.store.dfs.FileSelection.StatusType</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#getDirStatus--">getDirStatus</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.Path&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#getFiles--">getFiles</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.FileStatus&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#getFileStatuses--">getFileStatuses</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>org.apache.hadoop.fs.FileStatus</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#getFirstPath-org.apache.drill.exec.store.dfs.DrillFileSystem-">getFirstPath</a></span>(<a href="../../../../../../org/apache/drill/exec/store/dfs/DrillFileSystem.html" title="class in org.apache.drill.exec.store.dfs">DrillFileSystem</a>&nbsp;fs)</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/drill/exec/store/dfs/MetadataContext.html" title="class in org.apache.drill.exec.store.dfs">MetadataContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#getMetaContext--">getMetaContext</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>org.apache.hadoop.fs.Path</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#getSelectionRoot--">getSelectionRoot</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.FileStatus&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#getStatuses-org.apache.drill.exec.store.dfs.DrillFileSystem-">getStatuses</a></span>(<a href="../../../../../../org/apache/drill/exec/store/dfs/DrillFileSystem.html" title="class in org.apache.drill.exec.store.dfs">DrillFileSystem</a>&nbsp;fs)</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#hadWildcard--">hadWildcard</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#isEmptyDirectory--">isEmptyDirectory</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#isExpandedFully--">isExpandedFully</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#isExpandedPartial--">isExpandedPartial</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html" title="class in org.apache.drill.exec.store.dfs">FileSelection</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#minusDirectories-org.apache.drill.exec.store.dfs.DrillFileSystem-">minusDirectories</a></span>(<a href="../../../../../../org/apache/drill/exec/store/dfs/DrillFileSystem.html" title="class in org.apache.drill.exec.store.dfs">DrillFileSystem</a>&nbsp;fs)</code>&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#setEmptyDirectoryStatus--">setEmptyDirectoryStatus</a></span>()</code>
<div class="block">Setting <a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#emptyDirectory"><code>emptyDirectory</code></a> as true allows to identify this <a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#selectionRoot"><code>selectionRoot</code></a>
as an empty directory</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#setExpandedFully--">setExpandedFully</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#setExpandedPartial--">setExpandedPartial</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#setHadWildcard-boolean-">setHadWildcard</a></span>(boolean&nbsp;wc)</code>&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#setMetaContext-org.apache.drill.exec.store.dfs.MetadataContext-">setMetaContext</a></span>(<a href="../../../../../../org/apache/drill/exec/store/dfs/MetadataContext.html" title="class in org.apache.drill.exec.store.dfs">MetadataContext</a>&nbsp;context)</code>&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#supportsDirPruning--">supportsDirPruning</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#wasAllPartitionsPruned--">wasAllPartitionsPruned</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="files">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>files</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.Path&gt; files</pre>
</li>
</ul>
<a name="selectionRoot">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>selectionRoot</h4>
<pre>public final&nbsp;org.apache.hadoop.fs.Path selectionRoot</pre>
<div class="block">root path for the selections</div>
</li>
</ul>
<a name="cacheFileRoot">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>cacheFileRoot</h4>
<pre>public final&nbsp;org.apache.hadoop.fs.Path cacheFileRoot</pre>
<div class="block">root path for the metadata cache file (if any)</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="FileSelection-java.util.List-java.util.List-org.apache.hadoop.fs.Path-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FileSelection</h4>
<pre>public&nbsp;FileSelection(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.FileStatus&gt;&nbsp;statuses,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.Path&gt;&nbsp;files,
org.apache.hadoop.fs.Path&nbsp;selectionRoot)</pre>
<div class="block">Creates a <a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html" title="class in org.apache.drill.exec.store.dfs"><code>selection</code></a> out of given file statuses/files and selection root.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>statuses</code> - list of file statuses</dd>
<dd><code>files</code> - list of files</dd>
<dd><code>selectionRoot</code> - root path for selections</dd>
</dl>
</li>
</ul>
<a name="FileSelection-java.util.List-java.util.List-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FileSelection</h4>
<pre>public&nbsp;FileSelection(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.FileStatus&gt;&nbsp;statuses,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.Path&gt;&nbsp;files,
org.apache.hadoop.fs.Path&nbsp;selectionRoot,
org.apache.hadoop.fs.Path&nbsp;cacheFileRoot,
boolean&nbsp;wasAllPartitionsPruned)</pre>
</li>
</ul>
<a name="FileSelection-java.util.List-java.util.List-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-boolean-org.apache.drill.exec.store.dfs.FileSelection.StatusType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FileSelection</h4>
<pre>public&nbsp;FileSelection(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.FileStatus&gt;&nbsp;statuses,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.Path&gt;&nbsp;files,
org.apache.hadoop.fs.Path&nbsp;selectionRoot,
org.apache.hadoop.fs.Path&nbsp;cacheFileRoot,
boolean&nbsp;wasAllPartitionsPruned,
org.apache.drill.exec.store.dfs.FileSelection.StatusType&nbsp;dirStatus)</pre>
</li>
</ul>
<a name="FileSelection-org.apache.drill.exec.store.dfs.FileSelection-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>FileSelection</h4>
<pre>protected&nbsp;FileSelection(<a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html" title="class in org.apache.drill.exec.store.dfs">FileSelection</a>&nbsp;selection)</pre>
<div class="block">Copy constructor for convenience.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getSelectionRoot--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSelectionRoot</h4>
<pre>public&nbsp;org.apache.hadoop.fs.Path&nbsp;getSelectionRoot()</pre>
</li>
</ul>
<a name="getStatuses-org.apache.drill.exec.store.dfs.DrillFileSystem-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStatuses</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.FileStatus&gt;&nbsp;getStatuses(<a href="../../../../../../org/apache/drill/exec/store/dfs/DrillFileSystem.html" title="class in org.apache.drill.exec.store.dfs">DrillFileSystem</a>&nbsp;fs)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="getFiles--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFiles</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.Path&gt;&nbsp;getFiles()</pre>
</li>
</ul>
<a name="containsDirectories-org.apache.drill.exec.store.dfs.DrillFileSystem-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsDirectories</h4>
<pre>public&nbsp;boolean&nbsp;containsDirectories(<a href="../../../../../../org/apache/drill/exec/store/dfs/DrillFileSystem.html" title="class in org.apache.drill.exec.store.dfs">DrillFileSystem</a>&nbsp;fs)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="minusDirectories-org.apache.drill.exec.store.dfs.DrillFileSystem-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minusDirectories</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html" title="class in org.apache.drill.exec.store.dfs">FileSelection</a>&nbsp;minusDirectories(<a href="../../../../../../org/apache/drill/exec/store/dfs/DrillFileSystem.html" title="class in org.apache.drill.exec.store.dfs">DrillFileSystem</a>&nbsp;fs)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="getFirstPath-org.apache.drill.exec.store.dfs.DrillFileSystem-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFirstPath</h4>
<pre>public&nbsp;org.apache.hadoop.fs.FileStatus&nbsp;getFirstPath(<a href="../../../../../../org/apache/drill/exec/store/dfs/DrillFileSystem.html" title="class in org.apache.drill.exec.store.dfs">DrillFileSystem</a>&nbsp;fs)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="setExpandedFully--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setExpandedFully</h4>
<pre>public&nbsp;void&nbsp;setExpandedFully()</pre>
</li>
</ul>
<a name="isExpandedFully--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isExpandedFully</h4>
<pre>public&nbsp;boolean&nbsp;isExpandedFully()</pre>
</li>
</ul>
<a name="setExpandedPartial--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setExpandedPartial</h4>
<pre>public&nbsp;void&nbsp;setExpandedPartial()</pre>
</li>
</ul>
<a name="isExpandedPartial--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isExpandedPartial</h4>
<pre>public&nbsp;boolean&nbsp;isExpandedPartial()</pre>
</li>
</ul>
<a name="getDirStatus--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDirStatus</h4>
<pre>public&nbsp;org.apache.drill.exec.store.dfs.FileSelection.StatusType&nbsp;getDirStatus()</pre>
</li>
</ul>
<a name="wasAllPartitionsPruned--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>wasAllPartitionsPruned</h4>
<pre>public&nbsp;boolean&nbsp;wasAllPartitionsPruned()</pre>
</li>
</ul>
<a name="create-org.apache.drill.exec.store.dfs.DrillFileSystem-java.lang.String-java.lang.String-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>create</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html" title="class in org.apache.drill.exec.store.dfs">FileSelection</a>&nbsp;create(<a href="../../../../../../org/apache/drill/exec/store/dfs/DrillFileSystem.html" title="class in org.apache.drill.exec.store.dfs">DrillFileSystem</a>&nbsp;fs,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;parent,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
boolean&nbsp;allowAccessOutsideWorkspace)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="create-java.util.List-java.util.List-org.apache.hadoop.fs.Path-org.apache.hadoop.fs.Path-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>create</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html" title="class in org.apache.drill.exec.store.dfs">FileSelection</a>&nbsp;create(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.FileStatus&gt;&nbsp;statuses,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.Path&gt;&nbsp;files,
org.apache.hadoop.fs.Path&nbsp;root,
org.apache.hadoop.fs.Path&nbsp;cacheFileRoot,
boolean&nbsp;wasAllPartitionsPruned)</pre>
<div class="block">Creates a <a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html" title="class in org.apache.drill.exec.store.dfs"><code>selection</code></a> with the given file statuses/files and selection root.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>statuses</code> - list of file statuses</dd>
<dd><code>files</code> - list of files</dd>
<dd><code>root</code> - root path for selections</dd>
<dd><code>cacheFileRoot</code> - root path for metadata cache (null for no metadata cache)</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>null if creation of <a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html" title="class in org.apache.drill.exec.store.dfs"><code>FileSelection</code></a> fails with an <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang"><code>IllegalArgumentException</code></a>
otherwise a new selection.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#FileSelection-java.util.List-java.util.List-org.apache.hadoop.fs.Path-"><code>FileSelection(List, List, Path)</code></a></dd>
</dl>
</li>
</ul>
<a name="create-java.util.List-java.util.List-org.apache.hadoop.fs.Path-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>create</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html" title="class in org.apache.drill.exec.store.dfs">FileSelection</a>&nbsp;create(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.FileStatus&gt;&nbsp;statuses,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.Path&gt;&nbsp;files,
org.apache.hadoop.fs.Path&nbsp;root)</pre>
</li>
</ul>
<a name="createFromDirectories-java.util.List-org.apache.drill.exec.store.dfs.FileSelection-org.apache.hadoop.fs.Path-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFromDirectories</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html" title="class in org.apache.drill.exec.store.dfs">FileSelection</a>&nbsp;createFromDirectories(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.Path&gt;&nbsp;dirPaths,
<a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html" title="class in org.apache.drill.exec.store.dfs">FileSelection</a>&nbsp;selection,
org.apache.hadoop.fs.Path&nbsp;cacheFileRoot)</pre>
</li>
</ul>
<a name="checkBackPaths-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkBackPaths</h4>
<pre>public static&nbsp;void&nbsp;checkBackPaths(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;parent,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;combinedPath,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;subpath)</pre>
<div class="block">Check if the path is a valid sub path under the parent after removing backpaths. Throw an exception if
it is not. We pass subpath in as a parameter only for the error message</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - The parent path (the workspace directory).</dd>
<dd><code>combinedPath</code> - The workspace directory and (relative) subpath path combined.</dd>
<dd><code>subpath</code> - For error message only, the subpath</dd>
</dl>
</li>
</ul>
<a name="getFileStatuses--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFileStatuses</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;org.apache.hadoop.fs.FileStatus&gt;&nbsp;getFileStatuses()</pre>
</li>
</ul>
<a name="supportsDirPruning--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>supportsDirPruning</h4>
<pre>public&nbsp;boolean&nbsp;supportsDirPruning()</pre>
</li>
</ul>
<a name="setHadWildcard-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHadWildcard</h4>
<pre>public&nbsp;void&nbsp;setHadWildcard(boolean&nbsp;wc)</pre>
</li>
</ul>
<a name="hadWildcard--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hadWildcard</h4>
<pre>public&nbsp;boolean&nbsp;hadWildcard()</pre>
</li>
</ul>
<a name="getCacheFileRoot--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCacheFileRoot</h4>
<pre>public&nbsp;org.apache.hadoop.fs.Path&nbsp;getCacheFileRoot()</pre>
</li>
</ul>
<a name="setMetaContext-org.apache.drill.exec.store.dfs.MetadataContext-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMetaContext</h4>
<pre>public&nbsp;void&nbsp;setMetaContext(<a href="../../../../../../org/apache/drill/exec/store/dfs/MetadataContext.html" title="class in org.apache.drill.exec.store.dfs">MetadataContext</a>&nbsp;context)</pre>
</li>
</ul>
<a name="getMetaContext--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMetaContext</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/drill/exec/store/dfs/MetadataContext.html" title="class in org.apache.drill.exec.store.dfs">MetadataContext</a>&nbsp;getMetaContext()</pre>
</li>
</ul>
<a name="isEmptyDirectory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEmptyDirectory</h4>
<pre>public&nbsp;boolean&nbsp;isEmptyDirectory()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if this <a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#selectionRoot"><code>selectionRoot</code></a> points to an empty directory, false otherwise</dd>
</dl>
</li>
</ul>
<a name="setEmptyDirectoryStatus--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setEmptyDirectoryStatus</h4>
<pre>public&nbsp;void&nbsp;setEmptyDirectoryStatus()</pre>
<div class="block">Setting <a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#emptyDirectory"><code>emptyDirectory</code></a> as true allows to identify this <a href="../../../../../../org/apache/drill/exec/store/dfs/FileSelection.html#selectionRoot"><code>selectionRoot</code></a>
as an empty directory</div>
</li>
</ul>
<a name="digest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>digest</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;digest()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/drill/exec/planner/logical/DrillTableSelection.html#digest--">DrillTableSelection</a></code></span></div>
<div class="block">The digest of the selection represented by the implementation. The
selections that accompany Tables can modify the contained dataset, e.g.
a file selection can restrict to a subset of the available data and a
format selection can include options that affect the behaviour of the
underlying reader. Two scans will end up being considered identical during
logical planning if their digests are the same so selection
implementations should override this method so that exactly those scans
that really are identical (in terms of the data they produce) have matching
digests.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/drill/exec/planner/logical/DrillTableSelection.html#digest--">digest</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/drill/exec/planner/logical/DrillTableSelection.html" title="interface in org.apache.drill.exec.planner.logical">DrillTableSelection</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this selection's digest, normally a string built from its properties.</dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/FileSelection.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/drill/exec/store/dfs/DropboxFileSystem.html" title="class in org.apache.drill.exec.store.dfs"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/drill/exec/store/dfs/FileSystemConfig.html" title="class in org.apache.drill.exec.store.dfs"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/drill/exec/store/dfs/FileSelection.html" target="_top">Frames</a></li>
<li><a href="FileSelection.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 1970 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>