public class RESTImportTask extends AbstractRESTEntity
* The data being imported * The target store that is the destination of the import * The target layer * The data of a task, referred to as its source, is the data to be processed as part of the task. * The transformations that we need to apply to the data before it gets imported
This data comes in a variety of forms including:
* A spatial file (Shapefile, GeoTiff, KML, etc...) * A directory of spatial files * A table in a spatial database * A remote location that the server will download data from
A task is classified as either “direct” or “indirect”. A direct task is one in which the data being imported requires no transformation to be imported. It is imported directly. An example of such a task is one that involves simply importing an existing Shapefile as is. An indirect task is one that does require a transformation to the original import data. An example of an indirect task is one that involves importing a Shapefile into an existing PostGIS database. Another example of indirect task might involve taking a CSV file as an input, turning a x and y column into a Point, remapping a string column into a timestamp, and finally import the result into a PostGIS.
| Constructor and Description |
|---|
RESTImportTask()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
RESTData |
getData() |
String |
getErrorMessage() |
String |
getHref() |
Integer |
getId() |
RESTLayer |
getLayer() |
String |
getProgress() |
String |
getState() |
RESTTarget |
getTarget() |
RESTTransformChain |
getTransformChain() |
String |
getUpdateMode() |
void |
setData(RESTData data) |
void |
setErrorMessage(String errorMessage) |
void |
setHref(String href) |
void |
setId(Integer id) |
void |
setLayer(RESTLayer layer) |
void |
setProgress(String progress) |
void |
setState(String state) |
void |
setTarget(RESTTarget target) |
void |
setTransformChain(RESTTransformChain transformChain) |
void |
setUpdateMode(String updateMode) |
public Integer getId()
public void setId(Integer id)
id - the id to setpublic String getHref()
public void setHref(String href)
href - the href to setpublic String getState()
public void setState(String state)
state - the state to setpublic String getUpdateMode()
public void setUpdateMode(String updateMode)
updateMode - the updateMode to setpublic RESTData getData()
public void setData(RESTData data)
data - the data to setpublic RESTTarget getTarget()
public void setTarget(RESTTarget target)
target - the target to setpublic String getProgress()
public void setProgress(String progress)
progress - the progress to setpublic RESTLayer getLayer()
public void setLayer(RESTLayer layer)
layer - the layer to setpublic String getErrorMessage()
public void setErrorMessage(String errorMessage)
errorMessage - the errorMessage to setpublic RESTTransformChain getTransformChain()
public void setTransformChain(RESTTransformChain transformChain)
transformChain - the transformChain to setCopyright © 2020 terrestris GmbH & Co. KG. All rights reserved.