K - the type of the input keysV - the type of the input valuespublic abstract class IndexedInputBaseJob<K,V> extends BaseJob<K,V>
| Constructor and Description |
|---|
IndexedInputBaseJob() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.hadoop.mapreduce.Job job) |
void |
configure(org.apache.hadoop.mapred.JobConf conf)
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.lang.String |
getIndexMetadataDir()
Gets the path to the directory where the index metadata is located
|
java.lang.String |
getIndexName()
Gets the name of the spatial index to be used as input
|
boolean |
isInputIndex()
Tells whether the input path is the path to a spatial index.
|
void |
processArgs(java.lang.String[] args, org.apache.hadoop.conf.Configuration conf)
Extracts and validates arguments from the command line
|
void |
setIndexMetadataDir(java.lang.String indexMetadataDir)
Sets the path to the directory where the index metadata is located
|
void |
setIndexName(java.lang.String indexName)
Sets the name of the spatial index to be used as input
|
void |
setInputIndex(boolean inputIndex)
Sets whether the input path is the path to a spatial index.
|
createJob, createJob, createJob, createJob, createJobConf, createJobConf, createJobConf, getInput, getInputFormatClass, getJarClass, getOutput, getRecordInfoProviderClass, getSpatialConfig, setInput, setInputFormatClass, setJarClass, setOutput, setRecordInfoProviderClass, setSpatialConfigpublic java.lang.String getIndexMetadataDir()
public void setIndexMetadataDir(java.lang.String indexMetadataDir)
indexMetadataDir - a pathpublic java.lang.String getIndexName()
public void setIndexName(java.lang.String indexName)
indexName - a spatial index namepublic boolean isInputIndex()
public void setInputIndex(boolean inputIndex)
inputIndex - true if the input path is a spatial index
public void processArgs(java.lang.String[] args,
org.apache.hadoop.conf.Configuration conf)
BaseJobprocessArgs in class BaseJob<K,V>args - arguments from the command lineconf - the job configurationpublic java.lang.String getCmdOptions()
BaseJobgetCmdOptions in class BaseJob<K,V>
public void configure(org.apache.hadoop.mapred.JobConf conf)
throws java.lang.Exception
BaseJob