public class BinUtils
extends java.lang.Object
| Constructor and Description | 
|---|
BinUtils()  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
generateBinTemplate(java.io.DataOutputStream out, java.lang.String templateName, BinningConfig binConf, int srid, boolean geodetic)
Generates a bin template in JSON format. 
 | 
static void | 
generateBinTemplate(Path templPath, java.lang.String templateName, Configuration conf)
Generates a bin template in JSON format. 
 | 
public static void generateBinTemplate(java.io.DataOutputStream out,
                                       java.lang.String templateName,
                                       BinningConfig binConf,
                                       int srid,
                                       boolean geodetic)
                                throws java.io.IOException
out - the output where the data will be written totemplateName - the name of the templatebinConf - the binning configurationsrid - the srid of the cell geometriesgeodetic - whethere the geometries are geodetic or nojava.io.IOException
public static void generateBinTemplate(Path templPath,
                                       java.lang.String templateName,
                                       Configuration conf)
                                throws java.lang.Exception
templPath - the path where the template will be storedtemplateName - the name of the templateconf - the job configuration containing the binning configurationjava.lang.ExceptionCopyright © 2016 Oracle and/or its affiliates. All Rights Reserved.