public class MosaicConfiguration
extends java.lang.Object
Constructor and Description |
---|
MosaicConfiguration()
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addProcessingClass(java.lang.String processingClass)
Adds a processing class to this mosaic request
|
void |
addReduceProcessingClass(java.lang.String reduceProcessingClass)
Adds a reduce processing class to this mosaic request
|
java.lang.String |
getCompactMosaic()
Gets a String representing this mosaic request configuration, used to set it to Job configuration.
|
java.lang.String |
getDirectory()
Gets the output Filesystem for this request.
|
java.lang.String |
getFileName()
Gets the file name fot tue ouput mosaic
|
java.lang.String |
getFileSystem()
Gets the Filesystem where mosaic will be stored.
|
java.lang.String |
getFormat()
Gets the format of the resulting image, like tiff, geotiff.
|
int |
getHeight()
Gets the height value for this mosaic request.
|
java.lang.String |
getLayers()
Get the order of appearance of bands in output
|
java.lang.String |
getNoData()
Gets the NODATA color values for this mosaic.
|
java.lang.String |
getOrder()
Gets the order for the pieces in this mosaic request.
|
java.lang.String |
getOrderAlgorithm()
Gets the the ordering algorithm for the images in this request.
|
java.lang.String |
getPixelType()
Gets the pixel type allowed for this mosaic's output.
|
double |
getPixelXWidth()
Gets the width for pixel values in X in this request.
|
double |
getPixelYWidth()
Gets the width for pixel values in Y in this request.
|
java.lang.String |
getProcessingClasses()
Gets the processing classes for the related input.
|
java.lang.String |
getReduceProcessingClasses()
Gets the reducer processing classes for the related input.
|
java.lang.String |
getSrid()
Gets the SRID value for this mosaic request.
|
java.lang.String |
getTemporaryFolder()
Gets the temporary output folder where partial output is stored when HDFS output is requested
|
int |
getWidth()
Gets the width value for this mosaic request.
|
boolean |
isDeleteLocalFile()
Gets the flag that indicates if the temporary output file will be deleted or not after is loaded in HDFS
|
boolean |
isExecuteMosaic()
Gets value to indicate if mosaic operation will be process or not, is is true by default
|
void |
setBands(int bands)
Sets the number of bands for this mosaic request
|
void |
setDeleteLocalFile(boolean deleteLocalFile)
Sets the flag that indicates if the temporary output file will be deleted or not after is loaded in HDFS
|
void |
setDirectory(java.lang.String directory)
Sets the directory where the mosaic's ouput will be stored, it can be in NFS for regular FileSystem or in HDFS for Hadoop storage, depending on the setting for mosaics FileSystem.
|
void |
setExecuteMosaic(boolean executeMosaic)
Sets value to indicate if mosaic operation will be process or not, is is true by default
|
void |
setFileName(java.lang.String fileName)
Sets the file name fot tue ouput mosaic
|
void |
setFileSystem(java.lang.String fileSystem)
Sets the Filesystem where mosaic will be stored
|
void |
setFormat(java.lang.String format)
Sets the format of the resulting image, like GTIFF, JPEG, PNG, etc.
|
void |
setHeight(int height)
Sets the height for this mosaic request.
|
void |
setLayers(java.lang.String layers)
Sets the order of appearance of bands in output, if the list contains more bands that the ones configured for output, the rest are ignored.
|
void |
setNoData(java.lang.String noData)
Sets the color for the NODATA values in the output.
|
void |
setOrder(java.lang.String order)
Sets the order for the pieces in this mosaic request.
|
void |
setOrderAlgorithm(java.lang.String orderAlgorithm)
Sets the ordering algorithm for the images in this request.
|
void |
setPixelType(java.lang.String pixelType)
Sets the pixel type allowed for this mosaic and supported by gdal.
|
void |
setPixelXWidth(double pixelXWidth)
Sets the width for pixel values in X in this request.
|
void |
setPixelYWidth(double pixelYWidth)
Sets the width for pixel values in Y in this request.
|
void |
setProcessingClasses(java.lang.String processingClasses)
Sets the processing classes for the related input.
|
void |
setReduceProcessingClasses(java.lang.String reduceProcessingClasses)
Sets the reducer processing classes for the related input.
|
void |
setSrid(java.lang.String srid)
Sets the SRID for this mosaic request.
|
void |
setTemporaryFolder(java.lang.String temporaryFolder)
Sets the temporary folder used when HDFS output is requested to store partial FS output before calling image loader job.
|
void |
setUpperLeftX(double upperLeftX)
Sets the upper left point in X for this mosaic request.
|
void |
setUpperLeftY(double upperLeftY)
Sets the upper left point in Y for this mosaic request
|
void |
setWidth(int width)
Sets the width for this mosaic request.
|
public void setSrid(java.lang.String srid)
srid
- the value to set in this SRID.public java.lang.String getSrid()
public void setWidth(int width)
width
- the value to set in this mosaic's width.public void setExecuteMosaic(boolean executeMosaic)
executeMosaic
- true if mosaic operation will be processed, false otherwisepublic boolean isExecuteMosaic()
public int getWidth()
public void setHeight(int height)
height
- the value to set in this mosaic's height.public int getHeight()
public void setUpperLeftX(double upperLeftX)
upperLeftX
- the value to set in this mosaic's upper left X point.public void setUpperLeftY(double upperLeftY)
upperLeftY
- the value to set in this mosaic´s upper left Y point.public void setOrder(java.lang.String order)
order
- the order for this mosaic request.public java.lang.String getOrder()
public void setFormat(java.lang.String format)
format
- the value for the mosaic's output format.public java.lang.String getFormat()
public void setNoData(java.lang.String noData)
noData
- the NODATA value for the output's pixels. A couple of values per band is requested.public java.lang.String getNoData()
public void setPixelType(java.lang.String pixelType)
pixelType
- the pixel type allowed in the ouput.gdalconstConstants
class from GDT_Byte
to GDT_CFloat64
.public java.lang.String getPixelType()
public double getPixelXWidth()
public double getPixelYWidth()
public void setPixelXWidth(double pixelXWidth)
pixelXWidth
- the width for pixel values in X in this request.public void setPixelYWidth(double pixelYWidth)
pixelYWidth
- the width for pixel values in Y in this request.public void setDirectory(java.lang.String directory)
directory
- the String specifying Filesystem for the mosaic's output FS or HDFS.public java.lang.String getDirectory()
public void setTemporaryFolder(java.lang.String temporaryFolder)
temporaryFolder
- the temporary output folder for HDFS outputpublic java.lang.String getTemporaryFolder()
public void setDeleteLocalFile(boolean deleteLocalFile)
deleteLocalFile
- defaults to true, indicates if local output file will be deleted or notpublic boolean isDeleteLocalFile()
public void setBands(int bands)
bands
- number of bands requested for this mosaic operationpublic void setLayers(java.lang.String layers)
layers
- bands order of appearancepublic java.lang.String getLayers()
public void setProcessingClasses(java.lang.String processingClasses)
processingClasses
- the String detailing the processing classes for the related input. Processing classes are executed before the mosaic operation. Comma separated list.public void setReduceProcessingClasses(java.lang.String reduceProcessingClasses)
reduceProcessingClasses
- the String detailing the reducer processing classes for the related input. Reducer processing classes are executed before the mosaic operation. Comma separated list.public java.lang.String getReduceProcessingClasses()
public void addProcessingClass(java.lang.String processingClass)
processingClass
- class to add in this mosaic request, this class will be executed in the processing framework.public void addReduceProcessingClass(java.lang.String reduceProcessingClass)
reduceProcessingClass
- class to add in this mosaic request, this class will be executed in the processing framework during reduce phase.public java.lang.String getProcessingClasses()
public void setFileSystem(java.lang.String fileSystem)
fileSystem
- can be RasterProcessorjob.HDFS or RasterProcessorJob.FS depending on where the mosaic output is expected to be stored.public java.lang.String getFileSystem()
public void setFileName(java.lang.String fileName)
fileName
- the name of the output mosaic filepublic java.lang.String getFileName()
public void setOrderAlgorithm(java.lang.String orderAlgorithm)
orderAlgorithm
- Ordering algorithm to be considered in this mosaic request.public java.lang.String getOrderAlgorithm()
public java.lang.String getCompactMosaic()
Copyright © 2016 Oracle and/or its affiliates. All Rights Reserved.