public class InputDataSet
extends java.lang.Object
RecordInfoProvider
class should be set to extract the spatial information from the data set records.Constructor and Description |
---|
InputDataSet() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getCmdOptions(java.lang.String prefix) |
java.lang.String |
getIndexMetadataDir()
Gets the directory where the spatial index metadata can be found for this data set
|
java.lang.String |
getIndexName()
Gets the data set spatial index name
|
java.lang.Class<?> |
getInputFormatClass()
Gets the input format class used to read the data set.
|
java.lang.String |
getInputString()
Gets the data set's location as a string.
|
org.apache.hadoop.fs.Path[] |
getPaths()
Gets the paths where the data set files are located
|
java.lang.Class<? extends RecordInfoProvider<?,?>> |
getRecordInfoProviderClass()
Gets the
RecordInfoProvider class used to extract spatial information from the data set's records |
SpatialConfig |
getSpatialConfig()
Gets the data set's spatial configuration
|
boolean |
isInputIndex()
Tells whether the input data set corresponds to a spatial index
|
void |
processArgs(java.lang.String[] args)
Takes the input data set information from arguments introduced through the command line
|
void |
setIndexMetadataDir(java.lang.String indexMetadataDir)
Sets the directory where the spatial index metadata can be found for this data set
|
void |
setIndexName(java.lang.String indexName)
Sets the data set spatial index name
|
void |
setInputFormatClass(java.lang.Class<?> inputFormatClass)
Sets the input format class used to read the data set.
|
void |
setInputIndex(boolean inputIndex)
Sets whether the input data set corresponds to a spatial index
|
void |
setInputString(java.lang.String input)
Sets the data set's location as a string.
|
void |
setPaths(org.apache.hadoop.fs.Path[] paths)
Sets the paths where the data set files are located
|
void |
setRecordInfoProviderClass(java.lang.Class<? extends RecordInfoProvider<?,?>> recordInfoProviderClass)
Sets the
RecordInfoProvider class used to extract spatial information from the data set's records |
void |
setSpatialConfig(SpatialConfig spatialConfig)
Sets the spatial configuration for the data set
|
java.lang.String |
toString() |
public void processArgs(java.lang.String[] args)
args
-public static java.lang.String getCmdOptions(java.lang.String prefix)
public java.lang.String getIndexName()
public void setIndexName(java.lang.String indexName)
indexName
-public java.lang.String getIndexMetadataDir()
public void setIndexMetadataDir(java.lang.String indexMetadataDir)
indexMetadataDir
-public void setInputIndex(boolean inputIndex)
inputIndex
-public boolean isInputIndex()
public void setSpatialConfig(SpatialConfig spatialConfig)
spatialConfig
-public SpatialConfig getSpatialConfig()
public java.lang.String getInputString()
public void setInputString(java.lang.String input)
input
-public java.lang.Class<?> getInputFormatClass()
public void setInputFormatClass(java.lang.Class<?> inputFormatClass)
inputFormatClass
-public java.lang.Class<? extends RecordInfoProvider<?,?>> getRecordInfoProviderClass()
RecordInfoProvider
class used to extract spatial information from the data set's recordspublic void setRecordInfoProviderClass(java.lang.Class<? extends RecordInfoProvider<?,?>> recordInfoProviderClass)
RecordInfoProvider
class used to extract spatial information from the data set's recordsrecordInfoProviderClass
-public org.apache.hadoop.fs.Path[] getPaths()
public void setPaths(org.apache.hadoop.fs.Path[] paths)
paths
-public java.lang.String toString()
toString
in class java.lang.Object