public interface StoreClient
| Modifier and Type | Method and Description |
|---|---|
void |
addPlasmaHandler(StandalonePlasmaHandlerInterface handler) |
long |
delete(WriteToken token,
Metadata metadata,
long start,
long end) |
GTSDecoderIterator |
fetch(FetchRequest req) |
void |
store(GTSEncoder encoder) |
void store(GTSEncoder encoder) throws java.io.IOException
java.io.IOExceptionlong delete(WriteToken token, Metadata metadata, long start, long end) throws java.io.IOException
java.io.IOExceptionGTSDecoderIterator fetch(FetchRequest req) throws java.io.IOException
req - FetchRequest instance containing the following elements:
token Read token to use for reading data
metadatas List of Metadata for the GTS to fetch
now End timestamp (included)
thents Start timestamp (included)
count Number of datapoints to fetch. 0 is a valid value if you want to fetch only boundaries. Use -1 to specify you are not fetching by count.
skip Number of datapoints to skip before returning values
step Index offset between two datapoints, defaults to 1, i.e. return every data point
timestep Minimum time offset between datapoints, defaults to 1 time unit
sample Double value representing the sampling rate. Use 1.0D for returning all values. Valid values are ] 0.0D, 1.0D ]
preBoundary Size of the pre boundary in number of values
postBoundary Size of the post boundary in number of valuesjava.io.IOExceptionvoid addPlasmaHandler(StandalonePlasmaHandlerInterface handler)