T - Data record type.public interface DaqReader<T extends Serializable> extends DaqMXBean, AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
DataRecord<T> |
fetchRecord(String tag,
Instant instant)
Get a tag record by tag and timestamp.
|
List<DataRecord<T>> |
fetchRecords(Set<String> tags,
Instant from,
Instant to)
Fetches all the records within the given time range.
|
Map<String,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.
|
Set<String> |
tags(Instant from,
Instant to)
Get all tags within the given time range.
|
Set<String> |
tagsWithPrefix(String prefix)
Get all tags with the given prefix.
|
Set<String> |
tagsWithSuffix(String suffix)
Get all tags with the given suffix.
|
getRecordCountcloseSet<String> tags(Instant from, Instant to)
from - Lower bound (inclusive).to - Upper bound (exclusive).Set<String> tagsWithPrefix(String prefix)
prefix - Tag prefix.Set<String> tagsWithSuffix(String suffix)
suffix - Tag suffix.long tagCount(Instant from, Instant to)
from - Lower bound (inclusive).to - Upper bound (exclusive).DataRecord<T> fetchRecord(String tag, Instant instant)
tag - Record tag.instant - Timestamp.List<DataRecord<T>> fetchRecords(Set<String> tags, Instant from, Instant to)
tags - Tags to be fetched.from - Lower bound (inclusive).to - Upper bound (exclusive).Copyright © 2012–2016 MARID software development group. All rights reserved.