JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Use
Tree
Deprecated
Index
Search
Help
Spring Data MongoDB - Core
org.springframework.data.mongodb.core.timeseries
Span
Contents
Description
Method Summary
Method Details
time()
of(Duration)
Hide sidebar
Show sidebar
Interface Span
public interface
Span
Since:
5.0
Author:
Christoph Strobl
Method Summary
All Methods
Static Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
static
Span
of
(
Duration
duration)
Simple factory to create a
Span
for the given
Duration
.
Duration
time
()
Defines the time between timestamps in the same bucket in a range between 1-31.536.000 seconds.
Method Details
time
Duration
time
()
Defines the time between timestamps in the same bucket in a range between 1-31.536.000 seconds.
of
static
Span
of
(
Duration
duration)
Simple factory to create a
Span
for the given
Duration
.
Parameters:
duration
- time between timestamps
Returns:
new instance of
Span
.