Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • datasetID - defines the id of the data set. It can be set by the Code builder or it can be found in the URL of the data set.
  • is - defines the source of data which should be stored. It needs to be in a form of an input stream - see Reading as a stream for more information.
  • params - a Map of parameters which defines mapping and method of storing. 
    • mapping - list of String where each String is a code of a column from target data set. This means, that first column from the source input stream is mapped to first column in the list, second columns from the source input stream is mapped to second column in the list etc.
    • method - defines method of import which will be used for storing. If not defined, the data will be appended to the data already stored in the target data set. If defined as delete_all, all existing data in the target data set will be deleted and data from the input stream will be stored in the data set.