aboutsummaryrefslogtreecommitdiff
path: root/exec/java-exec/src/main/java/org/apache/drill/exec/planner/PartitionLocation.java
diff options
context:
space:
mode:
Diffstat (limited to 'exec/java-exec/src/main/java/org/apache/drill/exec/planner/PartitionLocation.java')
-rw-r--r--exec/java-exec/src/main/java/org/apache/drill/exec/planner/PartitionLocation.java14
1 files changed, 8 insertions, 6 deletions
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/PartitionLocation.java b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/PartitionLocation.java
index 22088f7ee..2ef4e173d 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/PartitionLocation.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/PartitionLocation.java
@@ -17,6 +17,8 @@
*/
package org.apache.drill.exec.planner;
+import org.apache.hadoop.fs.Path;
+
import java.util.List;
/**
@@ -37,27 +39,27 @@ public interface PartitionLocation {
/**
* Returns the value of the 'index' partition column
*/
- public String getPartitionValue(int index);
+ String getPartitionValue(int index);
/**
- * Returns the string representation of this partition.
+ * Returns the path of this partition.
* Only a non-composite partition supports this.
*/
- public String getEntirePartitionLocation();
+ Path getEntirePartitionLocation();
/**
* Returns the list of the non-composite partitions that this partition consists of.
*/
- public List<SimplePartitionLocation> getPartitionLocationRecursive();
+ List<SimplePartitionLocation> getPartitionLocationRecursive();
/**
* Returns if this is a simple or composite partition.
*/
- public boolean isCompositePartition();
+ boolean isCompositePartition();
/**
* Returns the path string of directory names only for composite partition
*/
- public String getCompositePartitionPath();
+ Path getCompositePartitionPath();
}