DataPointReference class
Provide a data endpoint reference to a CARP Web Service.
Can be used to:
- Inheritance
-
- Object
- CarpReference
- DataPointReference
Properties
- dataEndpointUri → String
-
The URL for the data end point for this DataPointReference.
no setter
-
fileCachePath
→ Future<
String> -
The base path for storing all file cache to be uploaded.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- service ↔ CarpBaseService
-
getter/setter pairinherited
- studyDeploymentId → String
-
The study deployment id this data point reference.
no setter
Methods
-
batch(
List< DataPoint> batch) → Future<void> - Batch upload a list of DataPoints.
-
count(
[String query = '']) → Future< int> -
The number of data points matching the
query
for this deployment. -
delete(
int id) → Future< void> -
Delete a data point with the given
id
. -
get(
int id) → Future< DataPoint> -
Get a DataPoint based on its
id
from the CARP backend. -
getAll(
) → Future< List< DataPoint> > - Get all DataPoints for this study.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
post(
DataPoint data) → Future< int> -
Uploads
data
. -
query(
String query) → Future< List< DataPoint> > - Query for DataPoints from the CARP backend using REST SQL (RSQL).
-
toString(
) → String -
A string representation of this object.
inherited
-
upload(
File file) → Future< void> -
Batch upload the
file
containing a list of DataPoints to the CARP backend.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited