T - Data record type.public interface DaqReader<T extends Serializable> extends DaqMXBean, AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
DataRecord<T> |
fetchRecord(long tag,
Instant instant)
Get a tag record by tag and timestamp.
|
List<DataRecord<T>> |
fetchRecords(long[] tags,
Instant from,
Instant to)
Fetches all the records within the given time range.
|
Map<Long,String> |
hash(Instant from,
Instant to,
boolean includeData,
String algorithm)
Hashes record range.
|
long |
tagCount(Instant from,
Instant to)
Get tag count within the given time range.
|
long[] |
tags(Instant from,
Instant to)
Get all tags within the given time range.
|
getRecordCountcloselong[] tags(Instant from, Instant to)
from - Lower bound (inclusive).to - Upper bound (exclusive).long tagCount(Instant from, Instant to)
from - Lower bound (inclusive).to - Upper bound (exclusive).DataRecord<T> fetchRecord(long tag, Instant instant)
tag - Record tag.instant - Timestamp.List<DataRecord<T>> fetchRecords(long[] tags, Instant from, Instant to)
tags - Tags to be fetched.from - Lower bound (inclusive).to - Upper bound (exclusive).Copyright © 2012–2017 MARID software development group. All rights reserved.