Package | Description |
---|---|
org.wattdepot.client |
Various WattDepot clients.
|
org.wattdepot.client.http.api |
Restlet implementations of WattDepot clients for the HTTP API.
|
org.wattdepot.client.http.api.collector |
Collectors are the processes that query Sensors, produce Measurements and send the
Measurements to the WattDepot Server.
|
org.wattdepot.client.http.api.performance |
Classes used to run performance evaluation for WattDepot.
|
org.wattdepot.common.domainmodel |
WattDepot models the domain of measurement collection, storage, and analysis through the following conceptual entities.
|
org.wattdepot.common.http.api |
Provides classes and interfaces relevant to the REST/HTTP contract between the clients and
the server.
|
org.wattdepot.common.util.csv |
CSV factory to convert domain model object into CSV entries and vise versa.
|
org.wattdepot.server |
The WattDepot Server classes.
|
org.wattdepot.server.depository.impl.hibernate |
Provides the Hibernate
http://www.hibernate.org
implementation of WattDepot persistence.
|
org.wattdepot.server.http.api |
Provides HTTP API for WattDepot using the Restlet framework
http://www.restlet.org
|
Modifier and Type | Method and Description |
---|---|
Sensor |
WattDepotInterface.getSensor(String id)
Retrieves the Sensor with the given id from the WattDepot Server.
|
Modifier and Type | Method and Description |
---|---|
void |
WattDepotInterface.deleteSensor(Sensor sensor)
Deletes the given Sensor.
|
InterpolatedValueList |
WattDepotInterface.getAverageValues(Depository depository,
Sensor sensor,
Date start,
Date end,
Integer interval,
Boolean usePointValues) |
InterpolatedValueList |
WattDepotInterface.getDailyValues(Depository depository,
Sensor sensor,
Date start,
Date end,
Boolean usePointValues) |
DescriptiveStats |
WattDepotInterface.getDescriptiveStats(Depository depository,
Sensor sensor,
Date timestamp,
Boolean daily,
Integer samples,
Boolean pointValues) |
InterpolatedValue |
WattDepotInterface.getEarliestValue(Depository depository,
Sensor sensor) |
InterpolatedValueList |
WattDepotInterface.getHistoricalValues(Depository depository,
Sensor sensor,
Date timestamp,
Boolean daily,
Integer samples,
Boolean pointValues) |
InterpolatedValueList |
WattDepotInterface.getHourlyValues(Depository depository,
Sensor sensor,
Date start,
Date end,
Boolean usePointValues) |
InterpolatedValue |
WattDepotInterface.getLatestValue(Depository depository,
Sensor sensor) |
InterpolatedValueList |
WattDepotInterface.getMaximumValues(Depository depository,
Sensor sensor,
Date start,
Date end,
Integer interval,
Boolean usePointValues) |
MeasurementList |
WattDepotInterface.getMeasurements(Depository depository,
Sensor sensor,
Date start,
Date end) |
InterpolatedValueList |
WattDepotInterface.getMinimumValues(Depository depository,
Sensor sensor,
Date start,
Date end,
Integer interval,
Boolean usePointValues) |
SensorStatus |
WattDepotInterface.getSensorStatus(Depository depository,
Sensor sensor) |
Double |
WattDepotInterface.getValue(Depository depository,
Sensor sensor,
Date timestamp) |
Double |
WattDepotInterface.getValue(Depository depository,
Sensor sensor,
Date start,
Date end) |
Double |
WattDepotInterface.getValue(Depository depository,
Sensor sensor,
Date start,
Date end,
Long gapSeconds) |
Double |
WattDepotInterface.getValue(Depository depository,
Sensor sensor,
Date timestamp,
Long gapSeconds) |
InterpolatedValueList |
WattDepotInterface.getValues(Depository depository,
Sensor sensor,
Date start,
Date end,
Integer interval,
Boolean usePointValues) |
void |
WattDepotInterface.putSensor(Sensor sensor)
Stores the given Sensor in the WattDepot Server.
|
void |
WattDepotInterface.updateSensor(Sensor sensor)
Updates the given Sensor in the WattDepot Server.
|
Modifier and Type | Method and Description |
---|---|
Sensor |
WattDepotClient.getSensor(String id) |
Modifier and Type | Method and Description |
---|---|
void |
WattDepotClient.deleteSensor(Sensor sensor) |
InterpolatedValueList |
WattDepotClient.getAverageValues(Depository depository,
Sensor sensor,
Date start,
Date end,
Integer interval,
Boolean usePointValues) |
InterpolatedValueList |
WattDepotClient.getDailyValues(Depository depository,
Sensor sensor,
Date start,
Date end,
Boolean usePointValues) |
DescriptiveStats |
WattDepotClient.getDescriptiveStats(Depository depository,
Sensor sensor,
Date timestamp,
Boolean daily,
Integer samples,
Boolean pointValues) |
InterpolatedValue |
WattDepotClient.getEarliestValue(Depository depository,
Sensor sensor) |
InterpolatedValueList |
WattDepotClient.getHistoricalValues(Depository depository,
Sensor sensor,
Date timestamp,
Boolean daily,
Integer samples,
Boolean pointValues) |
InterpolatedValueList |
WattDepotClient.getHourlyValues(Depository depository,
Sensor sensor,
Date start,
Date end,
Boolean usePointValues) |
InterpolatedValue |
WattDepotClient.getLatestValue(Depository depository,
Sensor sensor) |
InterpolatedValueList |
WattDepotClient.getMaximumValues(Depository depository,
Sensor sensor,
Date start,
Date end,
Integer interval,
Boolean usePointValues) |
MeasurementList |
WattDepotClient.getMeasurements(Depository depository,
Sensor sensor,
Date start,
Date end) |
InterpolatedValueList |
WattDepotClient.getMinimumValues(Depository depository,
Sensor sensor,
Date start,
Date end,
Integer interval,
Boolean usePointValues) |
SensorStatus |
WattDepotClient.getSensorStatus(Depository depository,
Sensor sensor) |
Double |
WattDepotClient.getValue(Depository depository,
Sensor sensor,
Date timestamp) |
Double |
WattDepotClient.getValue(Depository depository,
Sensor sensor,
Date start,
Date end) |
Double |
WattDepotClient.getValue(Depository depository,
Sensor sensor,
Date start,
Date end,
Long gapSeconds) |
Double |
WattDepotClient.getValue(Depository depository,
Sensor sensor,
Date timestamp,
Long gapSeconds) |
InterpolatedValueList |
WattDepotClient.getValues(Depository depository,
Sensor sensor,
Date start,
Date end,
Integer interval,
Boolean usePointValues) |
void |
WattDepotClient.putSensor(Sensor sensor) |
void |
WattDepotClient.updateSensor(Sensor sensor) |
Constructor and Description |
---|
EGaugeCollector(String serverUri,
String username,
String orgId,
String password,
Sensor sensor,
Long pollingInterval,
Depository depository,
boolean debug) |
NOAAWeatherCollector(String serverUri,
String username,
String orgId,
String password,
Sensor sensor,
Long pollingInterval,
Depository depository,
boolean debug) |
Modifier and Type | Field and Description |
---|---|
protected Sensor |
PerformanceTimedTask.sensor
The sensor to get the latest value for.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<Sensor> |
SensorList.getSensors() |
Modifier and Type | Method and Description |
---|---|
void |
SensorList.setSensors(ArrayList<Sensor> groups) |
Modifier and Type | Method and Description |
---|---|
Sensor |
SensorResource.retrieve()
Defines GET /wattdepot/sensor/{sensor-id} API call.
|
Modifier and Type | Method and Description |
---|---|
void |
SensorPutResource.store(Sensor sensor)
Defines the PUT /wattdepot/sensor/ API call.
|
void |
SensorResource.update(Sensor sensor)
Defines the POST /wattdepot/sensor/{sensor-id} API call.
|
Modifier and Type | Method and Description |
---|---|
static Sensor |
CSVObjectFactory.buildSensor(String csv) |
Modifier and Type | Method and Description |
---|---|
Set<Sensor> |
DefinitionFileWriter.getSensors() |
Set<Sensor> |
DefinitionFileReader.getSensors() |
Modifier and Type | Method and Description |
---|---|
boolean |
DefinitionFileWriter.add(Sensor arg0) |
static String |
CSVObjectFactory.toCSV(Sensor sensor) |
Modifier and Type | Method and Description |
---|---|
void |
DefinitionFileWriter.setSensors(Set<Sensor> sensors) |
Modifier and Type | Method and Description |
---|---|
abstract Sensor |
WattDepotPersistence.defineSensor(String id,
String name,
String uri,
String modelId,
Set<Property> properties,
String orgId) |
abstract Sensor |
WattDepotPersistence.getSensor(String id,
String orgId,
boolean check) |
abstract Sensor |
WattDepotPersistence.updateSensor(Sensor sensor)
Updates the given sensor in the persistent store.
|
Modifier and Type | Method and Description |
---|---|
abstract List<Sensor> |
WattDepotPersistence.getSensors(String orgId,
boolean check) |
Modifier and Type | Method and Description |
---|---|
abstract Sensor |
WattDepotPersistence.updateSensor(Sensor sensor)
Updates the given sensor in the persistent store.
|
Modifier and Type | Method and Description |
---|---|
Sensor |
WattDepotPersistenceImpl.defineSensor(String id,
String name,
String uri,
String modelId,
Set<Property> properties,
String orgId) |
Sensor |
PersistenceCache.deleteSensor(Sensor sensor)
Deletes the Sensor from the cache.
|
Sensor |
PersistenceCache.getSensor(String sensorId,
String orgId)
Gets the Sensor defined by the sensorId and orgId.
|
Sensor |
WattDepotPersistenceImpl.getSensor(String id,
String orgId,
boolean check) |
Sensor |
PersistenceCache.putSensor(Sensor sensor)
Stores the sensor in the cache.
|
Sensor |
SensorImpl.toSensor() |
Sensor |
WattDepotPersistenceImpl.updateSensor(Sensor sensor) |
Modifier and Type | Method and Description |
---|---|
List<Sensor> |
WattDepotPersistenceImpl.getSensors(String orgId,
boolean check) |
Modifier and Type | Method and Description |
---|---|
Sensor |
PersistenceCache.deleteSensor(Sensor sensor)
Deletes the Sensor from the cache.
|
Sensor |
PersistenceCache.putSensor(Sensor sensor)
Stores the sensor in the cache.
|
Sensor |
WattDepotPersistenceImpl.updateSensor(Sensor sensor) |
Modifier and Type | Method and Description |
---|---|
Sensor |
SensorServerResource.retrieve() |
Modifier and Type | Method and Description |
---|---|
void |
SensorPutServerResource.store(Sensor sensor) |
void |
SensorServerResource.update(Sensor sensor) |
Copyright © 2015 Collaborative Software Development Laboratory. All rights reserved.