public class ElementCopy extends java.lang.Object implements Continuous
Continuous.Abstract, Continuous.Concrete
Modifier | Constructor and Description |
---|---|
protected |
ElementCopy(Continuous source,
ElementCopyIterator.Action[] actions) |
Modifier and Type | Method and Description |
---|---|
TsIterator |
get(java.lang.Long start,
java.lang.Long end) |
TsIterator |
getExactly(long start,
long end)
create an iterator with values filling the interval (start, end),
missing timestamps are created with nan values
|
java.lang.String[] |
getSchema() |
Station |
getSourceStation() |
VirtualPlot |
getSourceVirtualPlot() |
long[] |
getTimestampInterval() |
boolean |
isConstantTimestep()
data stream aligned to time step
|
boolean |
isContinuous()
true => no time gaps in data stream, time steps do not need to be constant
|
static ElementCopy |
of(Continuous source,
ElementCopyIterator.Action[] actions) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
of
getSourceName, getSourcePlot, getTimestampBaseInterval, writeConsole, writeConsole, writeCSV
protected ElementCopy(Continuous source, ElementCopyIterator.Action[] actions)
public static ElementCopy of(Continuous source, ElementCopyIterator.Action[] actions)
public TsIterator get(java.lang.Long start, java.lang.Long end)
get
in interface Continuous
get
in interface Node
public Station getSourceStation()
getSourceStation
in interface Node
public boolean isContinuous()
Node
isContinuous
in interface Continuous
isContinuous
in interface Node
public boolean isConstantTimestep()
Node
isConstantTimestep
in interface Node
public VirtualPlot getSourceVirtualPlot()
getSourceVirtualPlot
in interface Node
public long[] getTimestampInterval()
getTimestampInterval
in interface Node
public TsIterator getExactly(long start, long end)
Continuous
getExactly
in interface Continuous