Uses of Class
org.springframework.data.mongodb.core.CollectionOptions.TimeSeriesOptions
Packages that use CollectionOptions.TimeSeriesOptions
-
Uses of CollectionOptions.TimeSeriesOptions in org.springframework.data.mongodb.core
Methods in org.springframework.data.mongodb.core that return CollectionOptions.TimeSeriesOptionsModifier and TypeMethodDescriptionCollectionOptions.TimeSeriesOptions.granularity
(GranularityDefinition granularity) Select theGranularityDefinition
parameter to define how data in the time series collection is organized.Set the name of the field which contains metadata in each time series document.CollectionOptions.TimeSeriesOptions.timeSeries
(String timeField) Create a new instance ofCollectionOptions.TimeSeriesOptions
using the given field as its timeField.Methods in org.springframework.data.mongodb.core that return types with arguments of type CollectionOptions.TimeSeriesOptionsModifier and TypeMethodDescriptionCollectionOptions.getTimeSeriesOptions()
Get theCollectionOptions.TimeSeriesOptions
if available.Methods in org.springframework.data.mongodb.core with parameters of type CollectionOptions.TimeSeriesOptionsModifier and TypeMethodDescriptionCollectionOptions.timeSeries
(CollectionOptions.TimeSeriesOptions timeSeriesOptions) Create newCollectionOptions
with the givenCollectionOptions.TimeSeriesOptions
.