K - the type of keysV - the typè of the valuespublic class SpatialIndexing<K,V> extends BaseJob<K,V>
| Constructor and Description | 
|---|
SpatialIndexing()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
configure(JobConf jobConf)
Validates and adds the current parameters to the job configuration 
 | 
java.lang.String | 
getCmdOptions()
Gets a description of the arguments expected from command line. 
 | 
java.util.Map<java.lang.String,java.lang.Object> | 
getCurrentCmdArgs(Configuration conf)
Returns the current driver properties in a map where each key-value is a name and value of a command line argument. 
 | 
java.lang.String | 
getIndexName()
Gets the index name 
 | 
java.lang.String | 
getMetadataDir()
Gets the directory where the index metadata will be stored 
 | 
MVSConfig | 
getMvsConfig()
Gets the current MVSuggest configuration if any 
 | 
boolean | 
isMapFileIndex()  | 
boolean | 
isOverwriteMetadata()
Gets whether the index metadata should be overwritten in case it already exists. 
 | 
static <K,V> void | 
main(java.lang.String[] args)  | 
void | 
processArgs(java.lang.String[] args, Configuration conf)
Extracts and validates arguments from the command line 
 | 
int | 
run(java.lang.String[] args)  | 
void | 
setIndexName(java.lang.String indexName)
The name of the index to be created. 
 | 
void | 
setMapFileIndex(boolean mapFileIndex)  | 
void | 
setMetadataDir(java.lang.String metadataDir)
Sets the directory where the index metadata will be stored 
 | 
void | 
setMvsConfig(MVSConfig mvsConfig)
Sets the MVSuggest configuration in case it is used. 
 | 
void | 
setOverwriteMetadata(boolean overwriteMetadata)
Sets whether the index metadata should be overwritten in case it already exists. 
 | 
getCmdOptionsWithInputDataSets, getCurrentCmdArgsAsString, getInput, getInputDataSet, getInputFormatClass, getJarClass, getOutput, getRecordInfoProviderClass, getSpatialConfig, setInput, setInputDataSet, setInputFormatClass, setJarClass, setOutput, setRecordInfoProviderClass, setSpatialConfig
public void configure(JobConf jobConf)
               throws java.lang.Exception
BaseJobpublic java.lang.String getCmdOptions()
BaseJobgetCmdOptions in class BaseJob<K,V>public java.util.Map<java.lang.String,java.lang.Object> getCurrentCmdArgs(Configuration conf)
BaseJobgetCurrentCmdArgs in class BaseJob<K,V>conf - a job configurationpublic java.lang.String getIndexName()
public java.lang.String getMetadataDir()
public MVSConfig getMvsConfig()
public boolean isMapFileIndex()
public boolean isOverwriteMetadata()
public static <K,V> void main(java.lang.String[] args)
                       throws java.lang.Exception
java.lang.Exception
public void processArgs(java.lang.String[] args,
                        Configuration conf)
                 throws java.lang.Exception
BaseJobprocessArgs in class BaseJob<K,V>args - arguments from the command lineconf - the job configurationjava.lang.Exception
public int run(java.lang.String[] args)
        throws java.lang.Exception
java.lang.Exceptionpublic void setIndexName(java.lang.String indexName)
indexName - an index namepublic void setMapFileIndex(boolean mapFileIndex)
public void setMetadataDir(java.lang.String metadataDir)
metadataDir - a pathpublic void setMvsConfig(MVSConfig mvsConfig)
mvsConfig - the MVSuggest configurationpublic void setOverwriteMetadata(boolean overwriteMetadata)
overwriteMetadata - true if the index metadata should be overwrittenCopyright © 2016 Oracle and/or its affiliates. All Rights Reserved.