]> git.basschouten.com Git - openhab-addons.git/blob
fc6d2e1825f4b5c2572b9577fa36dcc562ed8edf
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.persistence.influxdb.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * Constants used by this addon
19  *
20  * @author Joan Pujol Espinar - Initial contribution
21  */
22 @NonNullByDefault
23 public class InfluxDBConstants {
24     public static final String COLUMN_VALUE_NAME_V1 = "value";
25     public static final String COLUMN_VALUE_NAME_V2 = "_value";
26
27     public static final String COLUMN_TIME_NAME_V1 = "time";
28     public static final String COLUMN_TIME_NAME_V2 = "_time";
29
30     public static final String FIELD_VALUE_NAME = "value";
31     public static final String TAG_ITEM_NAME = "item";
32     public static final String TAG_CATEGORY_NAME = "category";
33     public static final String TAG_TYPE_NAME = "type";
34     public static final String TAG_LABEL_NAME = "label";
35     public static final String FIELD_MEASUREMENT_NAME = "_measurement";
36 }