Skip to content

IDataSourceAdapters

Type interface

Defines adapters for DataSource.

Sources

IDataSourceAdapters is an interface: it describes a shape of data and is not imported on its own.

Properties

dateFields

Type string[]

Applied to the array that lists fields in data that hold date-based values.

incremental

Type boolean

Applied to incremental setting.

incrementalParams

Type object

Applied to incrementalParams setting.

keepCount

Type boolean

Applied to keepCount setting.

numberFields

Type string[]

Applied to the array that lists fields in data that hold numeric values.

parsedData

Type any

Applied to the loaded data after it was parsed by a parser.

parser

Type DataParser

Applied to a parser type, before parsing starts.

Can be used to supply different parser than the one set/determined by Data Loader.

parserOptions

Type any

Applied to parser options.

reloadTimeout

Type number

Applied to the timeout setting.

requestOptions

Type INetRequestOptions

Applied to the custom request options object.

unparsedData

Type string

Applied to the loaded data before it is passed to parser.

updateCurrentData

Type boolean

Applied to updateCurrentData setting.

url

Type string

Applied to a data source URL before it is loaded.