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 theGranularityDefinitionparameter 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.TimeSeriesOptionsusing 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.TimeSeriesOptionsif available.Methods in org.springframework.data.mongodb.core with parameters of type CollectionOptions.TimeSeriesOptionsModifier and TypeMethodDescriptionCollectionOptions.timeSeries(CollectionOptions.TimeSeriesOptions timeSeriesOptions) Create newCollectionOptionswith the givenCollectionOptions.TimeSeriesOptions.