public class ClosestPairHadoop
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ClosestPairHadoop.Map0 |
static class |
ClosestPairHadoop.Map1 |
static class |
ClosestPairHadoop.Reduce0 |
static class |
ClosestPairHadoop.Reduce1 |
| Constructor and Description |
|---|
ClosestPairHadoop() |
| Modifier and Type | Method and Description |
|---|---|
static <S extends Shape> |
cloesetPair(Path file,
OperationsParams params)
Counts the exact number of lines in a file by issuing a MapReduce job
that does the thing
|
static void |
main(java.lang.String[] args) |
static edu.umn.cs.spatialHadoop.operations.ClosestPairHadoop.DistanceAndPair |
nearestNeighbor(Point[] a,
Point[] tmp,
int l,
int r)
[l, r] inclusive
|
static void |
samplePoint(FileSystem fs,
Path inputFile) |
public static edu.umn.cs.spatialHadoop.operations.ClosestPairHadoop.DistanceAndPair nearestNeighbor(Point[] a, Point[] tmp, int l, int r)
l - r - public static <S extends Shape> void cloesetPair(Path file, OperationsParams params) throws java.io.IOException
conf - fs - file - java.io.IOExceptionpublic static void samplePoint(FileSystem fs,
Path inputFile)
throws java.io.IOException
java.io.IOExceptionpublic static void main(java.lang.String[] args)
throws java.io.IOException
args - java.io.IOException