Package | Description |
---|---|
ch.agent.crnickl.api |
Interfaces and classes for use by client applications.
|
ch.agent.crnickl.impl |
Generic implementation of the CrNiCKL API.
|
Modifier and Type | Method and Description |
---|---|
<T> UpdatableSeries<T> |
UpdatableChronicle.createSeries(String name)
Create an empty series with the given name.
|
UpdatableSeries<T> |
Series.edit()
Return an
UpdatableSeries corresponding to this series. |
<T> UpdatableSeries<T> |
Database.getUpdatableSeries(String name,
boolean mustExist)
Return an updatable series.
|
<S> UpdatableSeries<S> |
UpdatableSeries.typeCheck(Class<S> type)
Cast the updatable series to the type specified.
|
<T> UpdatableSeries<T> |
UpdatableChronicle.updateSeries(String name)
Return the updatable series with the given name if it exists.
|
Modifier and Type | Class and Description |
---|---|
class |
UpdatableSeriesImpl<T>
Default implementation of
UpdatableSeries . |
Modifier and Type | Method and Description |
---|---|
<T> UpdatableSeries<T> |
UpdatableChronicleImpl.createSeries(String seriesName) |
<T> UpdatableSeries<T> |
NameSpace.createSeries(String name)
Always throws an exception.
|
UpdatableSeries<T> |
UpdatableSeriesImpl.edit() |
UpdatableSeries<T> |
SeriesImpl.edit()
Return an
UpdatableSeries corresponding to this series. |
<T> UpdatableSeries<T> |
DatabaseBackendImpl.getUpdatableSeries(String name,
boolean mustExist) |
<S> UpdatableSeries<S> |
UpdatableSeriesImpl.typeCheck(Class<S> type) |
<T> UpdatableSeries<T> |
UpdatableChronicleImpl.updateSeries(String seriesName) |
<T> UpdatableSeries<T> |
NameSpace.updateSeries(String name)
Always throws an exception.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
DatabaseBackend.create(UpdatableSeries<T> series)
Create a series in the database.
|
boolean |
ChronicleUpdatePolicyImpl.deleteSeries(UpdatableSeries<?> series) |
boolean |
ChronicleUpdatePolicy.deleteSeries(UpdatableSeries<?> series)
Perform actions required as a consequence of deleting a series.
|
<T> void |
DatabaseBackend.deleteSeries(UpdatableSeries<T> series)
Delete a series from the database.
|
boolean |
ChronicleUpdatePolicyImpl.deleteValue(UpdatableSeries<?> series,
ch.agent.t2.time.TimeIndex index) |
boolean |
ChronicleUpdatePolicy.deleteValue(UpdatableSeries<?> series,
ch.agent.t2.time.TimeIndex index)
Perform actions required as a consequence of deleting a value.
|
<T> boolean |
DatabaseBackendImpl.deleteValue(UpdatableSeries<T> series,
ch.agent.t2.time.TimeIndex t) |
<T> boolean |
DatabaseBackend.deleteValue(UpdatableSeries<T> series,
ch.agent.t2.time.TimeIndex t)
Delete a value from a series in the database.
|
boolean |
ValueAccessMethods.deleteValue(UpdatableSeries<T> series,
ch.agent.t2.time.TimeIndex t,
ChronicleUpdatePolicy policy)
Delete the value at the time index, if the policy allows.
|
boolean |
ChronicleUpdatePolicyImpl.update(UpdatableSeries<?> series,
ch.agent.t2.time.Range range) |
boolean |
ChronicleUpdatePolicy.update(UpdatableSeries<?> series,
ch.agent.t2.time.Range range)
Perform actions required as a consequence of updating the range of a series.
|
<T> boolean |
DatabaseBackendImpl.update(UpdatableSeries<T> series,
ch.agent.t2.time.Range range) |
<T> boolean |
DatabaseBackend.update(UpdatableSeries<T> series,
ch.agent.t2.time.Range range)
Reduce the range of a series in the database.
|
<T> long |
DatabaseBackendImpl.update(UpdatableSeries<T> series,
ch.agent.t2.timeseries.TimeAddressable<T> values) |
<T> long |
DatabaseBackend.update(UpdatableSeries<T> series,
ch.agent.t2.timeseries.TimeAddressable<T> values)
Update a series in the database with values from a time series.
|
boolean |
ValueAccessMethods.updateSeries(UpdatableSeries<T> series,
ch.agent.t2.time.Range range,
ChronicleUpdatePolicy policy)
Reduce the range of the series, if the policy allows.
|
long |
ValueAccessMethods.updateValues(UpdatableSeries<T> series,
ch.agent.t2.timeseries.TimeAddressable<T> values,
ChronicleUpdatePolicy policy)
Update the series with the values in the time series, if the policy allows.
|
void |
ChronicleUpdatePolicyImpl.willDelete(UpdatableSeries<?> series) |
void |
ChronicleUpdatePolicy.willDelete(UpdatableSeries<?> series)
Throw an exception if the series cannot be deleted.
|
void |
ChronicleUpdatePolicyImpl.willDelete(UpdatableSeries<?> series,
ch.agent.t2.time.TimeIndex index) |
void |
ChronicleUpdatePolicy.willDelete(UpdatableSeries<?> series,
ch.agent.t2.time.TimeIndex index)
Throw an exception if the value cannot be deleted.
|
void |
ChronicleUpdatePolicyImpl.willUpdate(UpdatableSeries<?> series,
ch.agent.t2.time.Range range) |
void |
ChronicleUpdatePolicy.willUpdate(UpdatableSeries<?> series,
ch.agent.t2.time.Range range)
Throw an exception if the intended update is rejected.
|
Copyright © 2017. All rights reserved.