Class HistoricalInfoMap.TagInfoList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<HistoricalTagInfo>
-
- com.inductiveautomation.gateway.tags.history.query.HistoricalInfoMap.TagInfoList
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<HistoricalTagInfo>
,java.util.Collection<HistoricalTagInfo>
,java.util.List<HistoricalTagInfo>
,java.util.RandomAccess
- Enclosing class:
- HistoricalInfoMap
public class HistoricalInfoMap.TagInfoList extends java.util.ArrayList<HistoricalTagInfo>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TagInfoList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(HistoricalTagInfo e)
protected void
createTimelines()
java.util.Set<java.lang.Integer>
getIds()
java.util.Set<java.lang.Integer>
getIdsAfterTime(long end)
java.util.Set<java.lang.Integer>
getIdsForTime(long start, long end, boolean compressedOnly)
Returns the tag ids that were in use during the span of time (inclusive).TimelineList<InterpolationMode>
getInterpolationTimeline()
long
getMaxTime()
long
getMinTime()
TimelineList<java.lang.Integer>
getScanclassIdTimeline()
protected void
maybeSortTagInfo()
-
Methods inherited from class java.util.ArrayList
add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
-
-
-
Method Detail
-
getIds
public java.util.Set<java.lang.Integer> getIds()
-
add
public boolean add(HistoricalTagInfo e)
- Specified by:
add
in interfacejava.util.Collection<HistoricalTagInfo>
- Specified by:
add
in interfacejava.util.List<HistoricalTagInfo>
- Overrides:
add
in classjava.util.ArrayList<HistoricalTagInfo>
-
getMinTime
public long getMinTime()
-
getMaxTime
public long getMaxTime()
-
maybeSortTagInfo
protected void maybeSortTagInfo()
-
createTimelines
protected void createTimelines()
-
getInterpolationTimeline
public TimelineList<InterpolationMode> getInterpolationTimeline()
-
getScanclassIdTimeline
public TimelineList<java.lang.Integer> getScanclassIdTimeline()
-
getIdsForTime
public java.util.Set<java.lang.Integer> getIdsForTime(long start, long end, boolean compressedOnly)
Returns the tag ids that were in use during the span of time (inclusive). If end==0, it will return the ids for the seed values.
-
getIdsAfterTime
public java.util.Set<java.lang.Integer> getIdsAfterTime(long end)
-
-