The SDS Client Custom Index samples are introductory, language-specific examples of programming against the SDS Service. They are intended as instructional samples only.
There are some differences between these samples and the TimesSeries samples. The differences include the Type being used, compresssion settings, and many of the steps. Please check out the Sample Pattern and code of both samples to determine which sample is most appropriate for you. All of the SDS Client Custom Index samples are set up to use GZip compression.
All SDS Custom Index samples are console applications that follow the same sequence of events, allowing you to select the language with which you are most comfortable without missing any instructional features. The pattern followed is:
- Instantiate an SDS client and obtain an authentication token
- Create an SdsType to represent the data being stored
- Create an SdsStream to store event data in
- Create and insert events into the stream
- Retrieve events for a specified range
- Retrieve events in table format with headers
- Update events
- Replace events
- Retrieve events and interpolated events
- Retrieve filtered events
- Retrieve Sampled values
- Demonstrate SdsStream Property Overrides
- Use SdsStreamViews and SdsStreamViewMaps
- Use SdsStreamViews to update StreamType
- Filtering on types
- Create Tags & Metadata
- Update Metadata
- Delete events
- Create an SdsStream with a secondary index, update an existing stream to a secondary index and remove a secondary index
- Created an SdsType and SdsStream with Compound index
- Inserting and retreiving compound index data
- Delete objects
These steps illustrate the fundamental programming steps of SDS. Feel free to modify the samples and/or propose changes.
Step numbers are searchable in the code. For example, to find the relevant part of the code for filtering on types, search: step 15
Languages |
---|
.NET Libraries |
.NET REST API |
Java |
Angular |
NodeJS |
Python |
For the main ADH page ReadMe
For the main samples page ReadMe