public final class SampleBucketId extends Object
Constructor and Description |
---|
SampleBucketId(UUID channelDataId,
int decimationLevel,
long bucketStartTime)
Create an identifier for a sample bucket.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getBucketStartTime()
Returns the start time of the sample bucket as the number of nanoseconds
since epoch (January 1st, 1970, 00:00:00 UTC).
|
UUID |
getChannelDataId()
Returns the unique identifier that is associated with the data (samples)
for the channel.
|
int |
getDecimationLevel()
Returns the decimation level for which the sample bucket stores data.
|
int |
hashCode() |
String |
toString() |
public SampleBucketId(UUID channelDataId, int decimationLevel, long bucketStartTime)
channelDataId
- unique identifier associated with the data (samples) for the
channel.decimationLevel
- decimation level for which the sample bucket stores data. The
decimation level is identified by the number of seconds
between two samples. A decimation level of zero specifies that
this decimation level stores (undecimated) raw samples, which
typically do not have a fixed period.bucketStartTime
- start time of the bucket. A bucket only stores samples that
have a time stamp that is greater than or equal to the
bucket's start-time. The start time is specified as the number
of nanoseconds since epoch (January 1st, 1970, 00:00:00 UTC).public long getBucketStartTime()
public UUID getChannelDataId()
public int getDecimationLevel()
Copyright © 2011–2017 aquenos GmbH. All rights reserved.