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, isSparse
getDatabase, getId, getSurrogate, inConstruction, isValid
applyUpdates
void destroy() throws T2DBException
T2DBException
void scanValue(ch.agent.t2.time.TimeIndex t, Object value) throws ch.agent.t2.T2Exception, T2DBException
t
- a time indexvalue
- a valueT2DBException
ch.agent.t2.T2Exception
void setValue(ch.agent.t2.time.TimeIndex t, T value) throws ch.agent.t2.T2Exception, T2DBException
t
- a time indexvalue
- a valueT2DBException
ch.agent.t2.T2Exception
void setValues(ch.agent.t2.timeseries.TimeAddressable<T> values) throws ch.agent.t2.T2Exception, T2DBException
values
- a time series of valuesT2DBException
ch.agent.t2.T2Exception
boolean setRange(ch.agent.t2.time.Range range) throws ch.agent.t2.T2Exception, T2DBException
range
- a range or null to clear the rangech.agent.t2.T2Exception
T2DBException
<S> UpdatableSeries<S> typeCheck(Class<S> type) throws T2DBException
typeCheck
in interface Series<T>
type
- the underlying type requiredT2DBException
Copyright © 2017. All rights reserved.