http://git-wip-us.apache.org/repos/asf/incubator-datafu/blob/424e3b48/site/source/docs/datafu/1.1.0/datafu/pig/bags/package-tree.html ---------------------------------------------------------------------- diff --git a/site/source/docs/datafu/1.1.0/datafu/pig/bags/package-tree.html b/site/source/docs/datafu/1.1.0/datafu/pig/bags/package-tree.html new file mode 100644 index 0000000..65b887a --- /dev/null +++ b/site/source/docs/datafu/1.1.0/datafu/pig/bags/package-tree.html @@ -0,0 +1,164 @@ + + + + + + +datafu.pig.bags Class Hierarchy (DataFu 1.1.0) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package datafu.pig.bags +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Matthew Hayes, Sam Shah + + http://git-wip-us.apache.org/repos/asf/incubator-datafu/blob/424e3b48/site/source/docs/datafu/1.1.0/datafu/pig/bags/package-use.html ---------------------------------------------------------------------- diff --git a/site/source/docs/datafu/1.1.0/datafu/pig/bags/package-use.html b/site/source/docs/datafu/1.1.0/datafu/pig/bags/package-use.html new file mode 100644 index 0000000..c84cc58 --- /dev/null +++ b/site/source/docs/datafu/1.1.0/datafu/pig/bags/package-use.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Package datafu.pig.bags (DataFu 1.1.0) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
datafu.pig.bags

+
+No usage of datafu.pig.bags +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Matthew Hayes, Sam Shah + + http://git-wip-us.apache.org/repos/asf/incubator-datafu/blob/424e3b48/site/source/docs/datafu/1.1.0/datafu/pig/geo/HaversineDistInMiles.html ---------------------------------------------------------------------- diff --git a/site/source/docs/datafu/1.1.0/datafu/pig/geo/HaversineDistInMiles.html b/site/source/docs/datafu/1.1.0/datafu/pig/geo/HaversineDistInMiles.html new file mode 100644 index 0000000..bc8b62f --- /dev/null +++ b/site/source/docs/datafu/1.1.0/datafu/pig/geo/HaversineDistInMiles.html @@ -0,0 +1,362 @@ + + + + + + +HaversineDistInMiles (DataFu 1.1.0) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +datafu.pig.geo +
+Class HaversineDistInMiles

+
+java.lang.Object
+  extended by org.apache.pig.EvalFunc<T>
+      extended by datafu.pig.util.SimpleEvalFunc<java.lang.Double>
+          extended by datafu.pig.geo.HaversineDistInMiles
+
+
+
+
public class HaversineDistInMiles
extends SimpleEvalFunc<java.lang.Double>
+ + +

+Computes the distance (in miles) between two latitude-longitude pairs + using the Haversine formula. + +

+ Example: +

+ -- input is a TSV of two latitude and longitude pairs
+ input = LOAD 'input' AS (lat1 : double, long1 : double, lat2 : double, long2 : double);
+ output = FOREACH input GENERATE datafu.pig.geo.HaversineDistInMiles(lat1, long1, lat2, long2) as distance;
+ 

+

+ +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static doubleEARTH_RADIUS + +
+           
+ + + + + + + +
Fields inherited from class org.apache.pig.EvalFunc
log, pigLogger, reporter, returnType
+  + + + + + + + + + + +
+Constructor Summary
HaversineDistInMiles() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.Doublecall(java.lang.Double lat1, + java.lang.Double lng1, + java.lang.Double lat2, + java.lang.Double lng2) + +
+           
+ org.apache.pig.impl.logicalLayer.schema.SchemaoutputSchema(org.apache.pig.impl.logicalLayer.schema.Schema input) + +
+          Override outputSchema so we can verify the input schema at pig compile time, instead of runtime
+ + + + + + + +
Methods inherited from class datafu.pig.util.SimpleEvalFunc
exec, getReturnType
+ + + + + + + +
Methods inherited from class org.apache.pig.EvalFunc
finish, getArgToFuncMapping, getCacheFiles, getInputSchema, getLogger, getPigLogger, getReporter, getSchemaName, isAsynchronous, progress, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warn
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+EARTH_RADIUS

+
+public static final double EARTH_RADIUS
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+HaversineDistInMiles

+
+public HaversineDistInMiles()
+
+
+ + + + + + + + +
+Method Detail
+ +

+call

+
+public java.lang.Double call(java.lang.Double lat1,
+                             java.lang.Double lng1,
+                             java.lang.Double lat2,
+                             java.lang.Double lng2)
+
+
+
+
+
+
+ +

+outputSchema

+
+public org.apache.pig.impl.logicalLayer.schema.Schema outputSchema(org.apache.pig.impl.logicalLayer.schema.Schema input)
+
+
Description copied from class: SimpleEvalFunc
+
Override outputSchema so we can verify the input schema at pig compile time, instead of runtime +

+

+
Overrides:
outputSchema in class SimpleEvalFunc<java.lang.Double>
+
+
+
Parameters:
input - input schema +
Returns:
call to super.outputSchema in case schema was defined elsewhere
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Matthew Hayes, Sam Shah + + http://git-wip-us.apache.org/repos/asf/incubator-datafu/blob/424e3b48/site/source/docs/datafu/1.1.0/datafu/pig/geo/class-use/HaversineDistInMiles.html ---------------------------------------------------------------------- diff --git a/site/source/docs/datafu/1.1.0/datafu/pig/geo/class-use/HaversineDistInMiles.html b/site/source/docs/datafu/1.1.0/datafu/pig/geo/class-use/HaversineDistInMiles.html new file mode 100644 index 0000000..f5060c8 --- /dev/null +++ b/site/source/docs/datafu/1.1.0/datafu/pig/geo/class-use/HaversineDistInMiles.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class datafu.pig.geo.HaversineDistInMiles (DataFu 1.1.0) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
datafu.pig.geo.HaversineDistInMiles

+
+No usage of datafu.pig.geo.HaversineDistInMiles +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Matthew Hayes, Sam Shah + + http://git-wip-us.apache.org/repos/asf/incubator-datafu/blob/424e3b48/site/source/docs/datafu/1.1.0/datafu/pig/geo/package-frame.html ---------------------------------------------------------------------- diff --git a/site/source/docs/datafu/1.1.0/datafu/pig/geo/package-frame.html b/site/source/docs/datafu/1.1.0/datafu/pig/geo/package-frame.html new file mode 100644 index 0000000..6e6c0d6 --- /dev/null +++ b/site/source/docs/datafu/1.1.0/datafu/pig/geo/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +datafu.pig.geo (DataFu 1.1.0) + + + + + + + + + + + +datafu.pig.geo + + + + +
+Classes  + +
+HaversineDistInMiles
+ + + + http://git-wip-us.apache.org/repos/asf/incubator-datafu/blob/424e3b48/site/source/docs/datafu/1.1.0/datafu/pig/geo/package-summary.html ---------------------------------------------------------------------- diff --git a/site/source/docs/datafu/1.1.0/datafu/pig/geo/package-summary.html b/site/source/docs/datafu/1.1.0/datafu/pig/geo/package-summary.html new file mode 100644 index 0000000..88069d1 --- /dev/null +++ b/site/source/docs/datafu/1.1.0/datafu/pig/geo/package-summary.html @@ -0,0 +1,173 @@ + + + + + + +datafu.pig.geo (DataFu 1.1.0) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package datafu.pig.geo +

+UDFs for geographic computations. +

+See: +
+          Description +

+ + + + + + + + + +
+Class Summary
HaversineDistInMilesComputes the distance (in miles) between two latitude-longitude pairs + using the Haversine formula.
+  + +

+

+Package datafu.pig.geo Description +

+ +

+UDFs for geographic computations. +

+ +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Matthew Hayes, Sam Shah + + http://git-wip-us.apache.org/repos/asf/incubator-datafu/blob/424e3b48/site/source/docs/datafu/1.1.0/datafu/pig/geo/package-tree.html ---------------------------------------------------------------------- diff --git a/site/source/docs/datafu/1.1.0/datafu/pig/geo/package-tree.html b/site/source/docs/datafu/1.1.0/datafu/pig/geo/package-tree.html new file mode 100644 index 0000000..6029a00 --- /dev/null +++ b/site/source/docs/datafu/1.1.0/datafu/pig/geo/package-tree.html @@ -0,0 +1,157 @@ + + + + + + +datafu.pig.geo Class Hierarchy (DataFu 1.1.0) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package datafu.pig.geo +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Matthew Hayes, Sam Shah + + http://git-wip-us.apache.org/repos/asf/incubator-datafu/blob/424e3b48/site/source/docs/datafu/1.1.0/datafu/pig/geo/package-use.html ---------------------------------------------------------------------- diff --git a/site/source/docs/datafu/1.1.0/datafu/pig/geo/package-use.html b/site/source/docs/datafu/1.1.0/datafu/pig/geo/package-use.html new file mode 100644 index 0000000..fba14e4 --- /dev/null +++ b/site/source/docs/datafu/1.1.0/datafu/pig/geo/package-use.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Package datafu.pig.geo (DataFu 1.1.0) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
datafu.pig.geo

+
+No usage of datafu.pig.geo +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Matthew Hayes, Sam Shah + + http://git-wip-us.apache.org/repos/asf/incubator-datafu/blob/424e3b48/site/source/docs/datafu/1.1.0/datafu/pig/hash/MD5.html ---------------------------------------------------------------------- diff --git a/site/source/docs/datafu/1.1.0/datafu/pig/hash/MD5.html b/site/source/docs/datafu/1.1.0/datafu/pig/hash/MD5.html new file mode 100644 index 0000000..cd0fac5 --- /dev/null +++ b/site/source/docs/datafu/1.1.0/datafu/pig/hash/MD5.html @@ -0,0 +1,309 @@ + + + + + + +MD5 (DataFu 1.1.0) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +datafu.pig.hash +
+Class MD5

+
+java.lang.Object
+  extended by org.apache.pig.EvalFunc<T>
+      extended by datafu.pig.util.SimpleEvalFunc<java.lang.String>
+          extended by datafu.pig.hash.MD5
+
+
+
+
public class MD5
extends SimpleEvalFunc<java.lang.String>
+ + +

+Computes the MD5 value of a string and outputs it in hex (by default). + A method can be provided to the constructor, which may be either 'hex' or 'base64'. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.pig.EvalFunc
log, pigLogger, reporter, returnType
+  + + + + + + + + + + + + + +
+Constructor Summary
MD5() + +
+           
MD5(java.lang.String method) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ java.lang.Stringcall(java.lang.String val) + +
+           
+ + + + + + + +
Methods inherited from class datafu.pig.util.SimpleEvalFunc
exec, getReturnType, outputSchema
+ + + + + + + +
Methods inherited from class org.apache.pig.EvalFunc
finish, getArgToFuncMapping, getCacheFiles, getInputSchema, getLogger, getPigLogger, getReporter, getSchemaName, isAsynchronous, progress, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warn
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MD5

+
+public MD5()
+
+
+
+ +

+MD5

+
+public MD5(java.lang.String method)
+
+
+ + + + + + + + +
+Method Detail
+ +

+call

+
+public java.lang.String call(java.lang.String val)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Matthew Hayes, Sam Shah + + http://git-wip-us.apache.org/repos/asf/incubator-datafu/blob/424e3b48/site/source/docs/datafu/1.1.0/datafu/pig/hash/SHA.html ---------------------------------------------------------------------- diff --git a/site/source/docs/datafu/1.1.0/datafu/pig/hash/SHA.html b/site/source/docs/datafu/1.1.0/datafu/pig/hash/SHA.html new file mode 100644 index 0000000..447cb49 --- /dev/null +++ b/site/source/docs/datafu/1.1.0/datafu/pig/hash/SHA.html @@ -0,0 +1,304 @@ + + + + + + +SHA (DataFu 1.1.0) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +datafu.pig.hash +
+Class SHA

+
+java.lang.Object
+  extended by org.apache.pig.EvalFunc<T>
+      extended by datafu.pig.util.SimpleEvalFunc<java.lang.String>
+          extended by datafu.pig.hash.SHA
+
+
+
+
public class SHA
extends SimpleEvalFunc<java.lang.String>
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.pig.EvalFunc
log, pigLogger, reporter, returnType
+  + + + + + + + + + + + + + +
+Constructor Summary
SHA() + +
+           
SHA(java.lang.String algorithm) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ java.lang.Stringcall(java.lang.String value) + +
+           
+ + + + + + + +
Methods inherited from class datafu.pig.util.SimpleEvalFunc
exec, getReturnType, outputSchema
+ + + + + + + +
Methods inherited from class org.apache.pig.EvalFunc
finish, getArgToFuncMapping, getCacheFiles, getInputSchema, getLogger, getPigLogger, getReporter, getSchemaName, isAsynchronous, progress, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warn
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SHA

+
+public SHA()
+
+
+
+ +

+SHA

+
+public SHA(java.lang.String algorithm)
+
+
+ + + + + + + + +
+Method Detail
+ +

+call

+
+public java.lang.String call(java.lang.String value)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Matthew Hayes, Sam Shah + +