2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.persistence.influxdb.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
18 * Constants used by this addon
20 * @author Joan Pujol Espinar - Initial contribution
23 public class InfluxDBConstants {
24 public static final String COLUMN_VALUE_NAME_V1 = "value";
25 public static final String COLUMN_VALUE_NAME_V2 = "_value";
27 public static final String COLUMN_TIME_NAME_V1 = "time";
28 public static final String COLUMN_TIME_NAME_V2 = "_time";
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";