All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ai.platon.pulsar.rest.api.common.NormXSQL.kt Maven / Gradle / Ivy

The newest version!
package ai.platon.pulsar.rest.api.common

import ai.platon.pulsar.common.config.AppConstants
import ai.platon.pulsar.common.urls.UrlUtils

open class NormXSQL(
    val url: String,
    val args: String,
    val sql: String
) {
    val configuredUrl get() = UrlUtils.mergeUrlArgs(url, args)
}

class DegenerateXSQL(uuid: String, sql: String) : NormXSQL("${AppConstants.EXAMPLE_URL}/$uuid", "", sql)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy