com.zepben.evolve.database.sqlite.metrics.tables.TableNetworkContainerMetrics.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of evolve-sdk Show documentation
Show all versions of evolve-sdk Show documentation
SDK for interaction with the evolve platform
/*
* Copyright 2024 Zeppelin Bend Pty Ltd
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
package com.zepben.evolve.database.sqlite.metrics.tables
import com.zepben.evolve.database.sqlite.cim.tables.Column
import com.zepben.evolve.database.sqlite.cim.tables.Column.Nullable.NOT_NULL
@Suppress("PropertyName")
class TableNetworkContainerMetrics : MultiJobTable() {
val HIERARCHY_ID: Column = Column(++columnIndex, "hierarchy_id", "TEXT", NOT_NULL)
val HIERARCHY_NAME: Column = Column(++columnIndex, "hierarchy_name", "TEXT", NOT_NULL)
val CONTAINER_TYPE: Column = Column(++columnIndex, "container_type", "TEXT", NOT_NULL)
val METRIC_NAME: Column = Column(++columnIndex, "metric_name", "TEXT", NOT_NULL)
val METRIC_VALUE: Column = Column(++columnIndex, "metric_value", "NUMBER", NOT_NULL)
override val uniqueIndexColumns: MutableList> = mutableListOf(
listOf(JOB_ID, HIERARCHY_ID, CONTAINER_TYPE, METRIC_NAME)
)
override val nonUniqueIndexColumns: MutableList> = mutableListOf(
listOf(HIERARCHY_ID, CONTAINER_TYPE, METRIC_NAME)
)
override val name: String = "network_container_metrics"
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy