Timeserie Downsampler Builder
Defined a search over timeseries
constructor
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| parent | InternalOpenGateAPI |
❌ | Instance of our InternalOpenGateAPI |
addColumn(name, interpolation, aggregation, alias)
Add column that will be requested
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| name | string |
❌ | |
| interpolation | string |
❌ | |
| aggregation | string |
❌ | |
| alias | string |
❌ |
Retorna
Tip
Tipo: TimeserieDownsamplerBuilder
bucketTime(bucketTime)
The bucket for the downsampling (must be higher than the time series bucket)
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| bucketTime | number |
❌ |
Retorna
Tip
Tipo: TimeserieDownsamplerBuilder
build()
Build a instance of Search
Retorna
Tip
Tipo: Search
Ejemplos
columns(columns)
Add columns that will be requested
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| columns | array |
❌ |
Retorna
Tip
Tipo: TimeserieDownsamplerBuilder
select(select)
The search request will have this select
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| select | object |
❌ |
Retorna
Tip
Tipo: TimeserieDownsamplerBuilder
start(start)
The start time for the downsampling
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| start | string |
❌ |
Retorna
Tip
Tipo: TimeserieDownsamplerBuilder