@Inherited @Retention(value=RUNTIME) @Target(value=TYPE) public @interface TimeSeries
| Modifier and Type | Required Element and Description |
|---|---|
String |
timeField
Name of the property which contains the date in each time series document.
|
| Modifier and Type | Optional Element and Description |
|---|---|
String |
collation
Defines the collation to apply when executing a query or creating indexes.
|
String |
collection
The collection the document representing the entity is supposed to be stored in.
|
Granularity |
granularity
Select the
granularity parameter to define how data in the time series collection is organized. |
String |
metaField
The name of the field which contains metadata in each time series document.
|
public abstract String timeField
annotated fieldnames will be considered during the mapping
process.@AliasFor(annotation=Document.class, attribute="collection") public abstract String collection
Document.collection()public abstract String metaField
timeField() nor point to an array or Collection. annotated fieldnames will be considered during the mapping
process.String by default.public abstract Granularity granularity
granularity parameter to define how data in the time series collection is organized.server default by default.@AliasFor(annotation=Document.class, attribute="collation") public abstract String collation
String by default.Document.collation()Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.