T - the class of the elements of the underlying time seriespublic interface UpdatableSeries<T> extends Series<T>, Updatable
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy the series.
|
void |
scanValue(ch.agent.t2.time.TimeIndex t,
Object value)
Add a value to the list of pending updates.
|
boolean |
setRange(ch.agent.t2.time.Range range)
Set the range of the series.
|
void |
setValue(ch.agent.t2.time.TimeIndex t,
T value)
Add a value to the list of pending updates.
|
void |
setValues(ch.agent.t2.timeseries.TimeAddressable<T> values)
Set the time series to the list of pending updates.
|
<S> UpdatableSeries<S> |
typeCheck(Class<S> type)
Cast the updatable series to the type specified.
|
edit, getAttribute, getAttributes, getChronicle, getDefinition, getDescription, getDescriptions, getFirstObservation, getLastObservation, getName, getNames, getNumber, getRange, getTimeDomain, getValue, getValues, getValues, getValueType, isSparsegetDatabase, getId, getSurrogate, inConstruction, isValidapplyUpdatesvoid destroy()
throws T2DBException
T2DBExceptionvoid scanValue(ch.agent.t2.time.TimeIndex t,
Object value)
throws ch.agent.t2.T2Exception,
T2DBException
t - a time indexvalue - a valueT2DBExceptionch.agent.t2.T2Exceptionvoid setValue(ch.agent.t2.time.TimeIndex t,
T value)
throws ch.agent.t2.T2Exception,
T2DBException
t - a time indexvalue - a valueT2DBExceptionch.agent.t2.T2Exceptionvoid setValues(ch.agent.t2.timeseries.TimeAddressable<T> values) throws ch.agent.t2.T2Exception, T2DBException
values - a time series of valuesT2DBExceptionch.agent.t2.T2Exceptionboolean setRange(ch.agent.t2.time.Range range)
throws ch.agent.t2.T2Exception,
T2DBException
range - a range or null to clear the rangech.agent.t2.T2ExceptionT2DBException<S> UpdatableSeries<S> typeCheck(Class<S> type) throws T2DBException
typeCheck in interface Series<T>type - the underlying type requiredT2DBExceptionCopyright © 2017. All rights reserved.