Uses of Enum Class
org.springframework.data.mongodb.core.timeseries.Granularity
Packages that use Granularity
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of Granularity in org.springframework.data.mongodb.core.aggregation
Methods in org.springframework.data.mongodb.core.aggregation with parameters of type GranularityModifier and TypeMethodDescriptionstatic OutOperationAggregation.out(String outCollectionName, String timeField, @Nullable String metaField, @Nullable Granularity granularity) Creates a newOutOperationfor time series collections using the given collection name, time field, meta field, and granularity.OutOperation.timeSeries(String timeField, @Nullable String metaField, @Nullable Granularity granularity) Set the time series options for creating a time series collection with time field, meta field, and granularity. -
Uses of Granularity in org.springframework.data.mongodb.core.timeseries
Subclasses with type arguments of type Granularity in org.springframework.data.mongodb.core.timeseriesMethods in org.springframework.data.mongodb.core.timeseries that return GranularityModifier and TypeMethodDescriptionstatic GranularityReturns the enum constant of this class with the specified name.static Granularity[]Granularity.values()Returns an array containing the constants of this enum class, in the order they are declared.