public final class PathDirectory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BOTTOM_LEVEL_CLUSTER_DIRECTORY |
static String |
CLUSTERED_POINTS_DIRECTORY |
static String |
POST_PROCESS_DIRECTORY |
static String |
TOP_LEVEL_CLUSTER_DIRECTORY |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.fs.Path |
getBottomLevelClusterPath(org.apache.hadoop.fs.Path output,
String clusterId)
Each cluster produced by top level clustering is processed in output/"bottomLevelCluster"/clusterId.
|
static org.apache.hadoop.fs.Path |
getClusterOutputClusteredPoints(org.apache.hadoop.fs.Path output)
The top level clustered points before post processing is generated here.
|
static org.apache.hadoop.fs.Path |
getClusterPathForClusterId(org.apache.hadoop.fs.Path clusterPostProcessorOutput,
String clusterId)
Each clusters path name is its clusterId.
|
static org.apache.hadoop.fs.Path |
getClusterPostProcessorOutputDirectory(org.apache.hadoop.fs.Path outputPathProvidedByUser)
The output of top level clusters is post processed and kept in this path.
|
static org.apache.hadoop.fs.Path |
getTopLevelClusterPath(org.apache.hadoop.fs.Path output)
All output of top level clustering is stored in output directory/topLevelCluster.
|
public static final String TOP_LEVEL_CLUSTER_DIRECTORY
public static final String POST_PROCESS_DIRECTORY
public static final String CLUSTERED_POINTS_DIRECTORY
public static final String BOTTOM_LEVEL_CLUSTER_DIRECTORY
public static org.apache.hadoop.fs.Path getTopLevelClusterPath(org.apache.hadoop.fs.Path output)
output
- the output path of clustering.public static org.apache.hadoop.fs.Path getClusterPostProcessorOutputDirectory(org.apache.hadoop.fs.Path outputPathProvidedByUser)
outputPathProvidedByUser
- the output path of clustering.public static org.apache.hadoop.fs.Path getClusterOutputClusteredPoints(org.apache.hadoop.fs.Path output)
output
- the output path of clustering.public static org.apache.hadoop.fs.Path getBottomLevelClusterPath(org.apache.hadoop.fs.Path output, String clusterId)
output
- clusterId
- public static org.apache.hadoop.fs.Path getClusterPathForClusterId(org.apache.hadoop.fs.Path clusterPostProcessorOutput, String clusterId)
clusterPostProcessorOutput
- the path of cluster post processor output.clusterId
- the id of the cluster.Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.