public interface AbstractInputDataSet extends ConfigurationStorable, IODataSet
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getInputFormatClass()
Gets the InputFormat class used to read the input data set
|
long |
getLength()
Gets the length (in bytes) of the data set
|
java.lang.Class<? extends RecordInfoProvider<?,?>> |
getRecordInfoProviderClass()
Gets the
RecordInfoProvider class used to extract required information from the key-value pairs provided by the InputFormat. |
SpatialConfig |
getSpatialConfig()
Gets the spatial configuration of the data set which defines the spatial features of the data set such as SRID, dimensions and boundaries.
|
void |
setInputFormatClass(java.lang.Class<?> inputFormatClass)
Sets the InputFormat class used to read the input data set
|
void |
setLength(long length)
Sets the length (in bytes) of the data set
|
void |
setRecordInfoProviderClass(java.lang.Class<? extends RecordInfoProvider<?,?>> ripClass)
Sets the
RecordInfoProvider class used to extract required information from the key-value pairs provided by the InputFormat. |
void |
setSpatialConfig(SpatialConfig spatialConfig)
Sets the spatial configuration of the data set which defines the spatial features of the data set such as SRID, dimensions and boundaries.
|
load, store
java.lang.Class<?> getInputFormatClass()
long getLength()
java.lang.Class<? extends RecordInfoProvider<?,?>> getRecordInfoProviderClass()
RecordInfoProvider
class used to extract required information from the key-value pairs provided by the InputFormat.RecordInfoProvider
SpatialConfig getSpatialConfig()
SpatialConfig
instancevoid setInputFormatClass(java.lang.Class<?> inputFormatClass)
inputFormatClass
- a subclass of either, org.apache.hadoop.mapred.InputFormat or org.apache.hadoop.mapreduce.InputFormat.void setLength(long length)
length
- the data set lengthvoid setRecordInfoProviderClass(java.lang.Class<? extends RecordInfoProvider<?,?>> ripClass)
RecordInfoProvider
class used to extract required information from the key-value pairs provided by the InputFormat.ripClass
- a subclass of RecordInfoProvider
void setSpatialConfig(SpatialConfig spatialConfig)
spatialConfig
- a SpatialConfig
instance.Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.