Package | Description |
---|---|
org.springframework.data.mongodb.core |
MongoDB core support.
|
Modifier and Type | Method and Description |
---|---|
CollectionOptions.TimeSeriesOptions |
CollectionOptions.TimeSeriesOptions.granularity(GranularityDefinition granularity)
Select the
GranularityDefinition parameter to define how data in the time series collection is organized. |
CollectionOptions.TimeSeriesOptions |
CollectionOptions.TimeSeriesOptions.metaField(String metaField)
Set the name of the field which contains metadata in each time series document.
|
static CollectionOptions.TimeSeriesOptions |
CollectionOptions.TimeSeriesOptions.timeSeries(String timeField)
Create a new instance of
CollectionOptions.TimeSeriesOptions using the given field as its timeField. |
Modifier and Type | Method and Description |
---|---|
Optional<CollectionOptions.TimeSeriesOptions> |
CollectionOptions.getTimeSeriesOptions()
Get the
CollectionOptions.TimeSeriesOptions if available. |
Modifier and Type | Method and Description |
---|---|
CollectionOptions |
CollectionOptions.timeSeries(CollectionOptions.TimeSeriesOptions timeSeriesOptions)
Create new
CollectionOptions with the given CollectionOptions.TimeSeriesOptions . |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.