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