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, storevoid setInputFormatClass(java.lang.Class<?> inputFormatClass)
inputFormatClass - a subclass of either, org.apache.hadoop.mapred.InputFormat or org.apache.hadoop.mapreduce.InputFormat.java.lang.Class<?> getInputFormatClass()
void 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 RecordInfoProviderjava.lang.Class<? extends RecordInfoProvider<?,?>> getRecordInfoProviderClass()
RecordInfoProvider class used to extract required information from the key-value pairs provided by the InputFormat.RecordInfoProvidervoid setSpatialConfig(SpatialConfig spatialConfig)
spatialConfig - a SpatialConfig instance.SpatialConfig getSpatialConfig()
SpatialConfig instancevoid setLength(long length)
length - the data set lengthlong getLength()
Copyright © 2016 Oracle and/or its affiliates. All Rights Reserved.