T - Data record type.java.lang.AutoCloseable, DaqMXBeanDaqWriter<T>, NumericReader, NumericWriterpublic interface DaqReader<T extends java.io.Serializable> extends DaqMXBean, java.lang.AutoCloseable
| Modifier and Type | Method | Description |
|---|---|---|
DataRecord<T> |
fetchRecord(long tag,
long instant) |
Get a tag record by tag and timestamp.
|
java.util.List<DataRecord<T>> |
fetchRecords(long[] tags,
long from,
long to) |
Fetches all the records within the given time range.
|
java.util.Map<java.lang.Long,java.lang.String> |
hash(long from,
long to,
boolean includeData,
java.lang.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.
|
getRecordCountlong[] 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.java.util.List<DataRecord<T>> fetchRecords(long[] tags, long from, long to)
tags - Tags to be fetched.from - Lower bound (inclusive).to - Upper bound (exclusive).java.util.Map<java.lang.Long,java.lang.String> hash(long from,
long to,
boolean includeData,
java.lang.String algorithm)
from - Lower bound (inclusive).to - Upper bound (exclusive).includeData - Whether include data or not.algorithm - Digest algorithm (e.g. SHA-1 or MD5).Copyright © 2012–2018 MARID software development group. All rights reserved.