| Modifier and Type | Method and Description |
|---|---|
protected abstract java.net.URI |
HttpDataAdapterBase.craftFetchUri(java.lang.String path,
java.time.Instant begin,
java.time.Instant end) |
protected <R> R |
HttpDataAdapterBase.doHttpGet(java.net.URI requestUri,
org.apache.http.client.ResponseHandler<R> responseHandler) |
java.util.Map<TimeSeriesInfo<T>,TimeSeriesProcessor<T>> |
DataAdapter.fetchDecodedData(java.lang.String path,
java.time.Instant begin,
java.time.Instant end,
java.util.List<TimeSeriesInfo<T>> seriesInfo,
boolean bypassCache)
Gets decoded data from the source as a map of
TimeSeriesProcessor, for the time interval and TimeSeriesInfo specified. |
java.io.InputStream |
SimpleCachingDataAdapter.fetchRawData(java.lang.String path,
java.time.Instant begin,
java.time.Instant end,
boolean bypassCache) |
abstract java.io.InputStream |
DataAdapter.fetchRawData(java.lang.String path,
java.time.Instant begin,
java.time.Instant end,
boolean bypassCache)
Gets raw data from the source as an output stream, for the time interval specified.
|
abstract javafx.scene.control.TreeItem<TimeSeriesBinding<T>> |
DataAdapter.getBindingTree()
Return a hierarchical view of all the individual bindings exposed by the underlying source.
|
void |
HttpDataAdapterBase.loadParams(java.util.Map<java.lang.String,java.lang.String> params) |
abstract void |
DataAdapter.loadParams(java.util.Map<java.lang.String,java.lang.String> params)
Sets the parameters required to establish a connection to the underlying data source
|
abstract byte[] |
SimpleCachingDataAdapter.onCacheMiss(java.lang.String path,
java.time.Instant begin,
java.time.Instant end)
Gets raw data from the source as an output stream, for the time interval specified.
|
byte[] |
HttpDataAdapterBase.onCacheMiss(java.lang.String path,
java.time.Instant begin,
java.time.Instant end) |
void |
DataAdapter.onStart()
An api hook that is executed once, after parameters have been loaded and before any other call to the
DataAdapter is made. |
| Modifier and Type | Class and Description |
|---|---|
class |
CannotInitializeDataAdapterException
Signals that an error happened while trying to initialize a DataAdapter.
|
class |
DecodingDataFromAdapterException
Signals that an error occurred while decoding data received from the adapter.
|
class |
FetchingDataFromAdapterException
Signals that an error happened while fetching raw data from a source via the DataAdapter.
|
class |
InvalidAdapterParameterException
Signals that an invalid parameter value was passed to the adapter.
|
class |
NoAdapterFoundException
Signals that no valid DataAdapter could be found for a given UUID.
|
class |
SourceCommunicationException
Signals that an error happened while communicating with the source via the DataAdapter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Chart.fetchDataFromSources(java.time.ZonedDateTime startTime,
java.time.ZonedDateTime endTime,
boolean bypassCache)
Fills up the backend for all
TimeSeriesInfo in the worksheet with data from the adapter on the specified time interval |
| Modifier and Type | Method and Description |
|---|---|
protected abstract DataAdapter<?,?> |
DataAdapterDialog.getDataAdapter()
Returns an instance of
DataAdapter |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<TimeSeriesInfo<java.lang.Double>,TimeSeriesProcessor<java.lang.Double>> |
CsvFileAdapter.fetchDecodedData(java.lang.String path,
java.time.Instant begin,
java.time.Instant end,
java.util.List<TimeSeriesInfo<java.lang.Double>> seriesInfo,
boolean bypassCache) |
java.io.InputStream |
CsvFileAdapter.fetchRawData(java.lang.String path,
java.time.Instant begin,
java.time.Instant end,
boolean bypassCache) |
javafx.scene.control.TreeItem<TimeSeriesBinding<java.lang.Double>> |
CsvFileAdapter.getBindingTree() |
protected DataAdapter |
CsvFileAdapterDialog.getDataAdapter() |
protected java.util.SortedMap<java.lang.Long,DataSample<java.lang.Double>> |
CsvFileAdapter.getDataStore() |
void |
CsvFileAdapter.loadParams(java.util.Map<java.lang.String,java.lang.String> params) |
| Constructor and Description |
|---|
CsvFileAdapter()
Initializes a new instance of the
CsvFileAdapter class with a set of default values. |
CsvFileAdapter(java.lang.String csvPath,
java.time.ZoneId zoneId)
Initializes a new instance of the
CsvFileAdapter class for the provided file and time zone. |
CsvFileAdapter(java.lang.String csvPath,
java.time.ZoneId zoneId,
java.lang.String encoding,
java.lang.String dateTimePattern,
char delimiter)
Initializes a new instance of the
CsvFileAdapter class with the provided parameters. |
| Modifier and Type | Method and Description |
|---|---|
protected java.net.URI |
JrdsDataAdapter.craftFetchUri(java.lang.String path,
java.time.Instant begin,
java.time.Instant end) |
java.util.Collection<java.lang.String> |
JrdsDataAdapter.discoverFilters() |
static JrdsDataAdapter |
JrdsDataAdapter.fromUrl(java.lang.String address,
java.time.ZoneId zoneId,
JrdsTreeViewTab treeViewTab,
java.lang.String filter)
Builds a new instance of the
JrdsDataAdapter class from the provided parameters. |
javafx.scene.control.TreeItem<TimeSeriesBinding<java.lang.Double>> |
JrdsDataAdapter.getBindingTree() |
protected DataAdapter |
JrdsAdapterDialog.getDataAdapter() |
void |
JrdsDataAdapter.loadParams(java.util.Map<java.lang.String,java.lang.String> params) |
| Constructor and Description |
|---|
JrdsDataAdapter()
Default constructor
|
JrdsDataAdapter(java.net.URL baseURL,
java.time.ZoneId zoneId,
java.lang.String encoding,
JrdsTreeViewTab treeViewTab,
java.lang.String filter)
Initializes a new instance of the
JrdsDataAdapter class. |
Copyright © 2018 Frederic Thevenet. All rights reserved.