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

cn.vertxup.graphic.domain.tables.daos.GClusterDao Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show newest version
/*
 * This file is generated by jOOQ.
*/
package cn.vertxup.graphic.domain.tables.daos;


import cn.vertxup.graphic.domain.tables.GCluster;
import cn.vertxup.graphic.domain.tables.records.GClusterRecord;

import io.github.jklingsporn.vertx.jooq.future.VertxDAO;

import java.time.LocalDateTime;
import java.util.List;

import javax.annotation.Generated;

import org.jooq.Configuration;
import org.jooq.impl.DAOImpl;


import java.util.concurrent.CompletableFuture;
import io.github.jklingsporn.vertx.jooq.future.util.FutureTool;
/**
 * This class is generated by jOOQ.
 */
@Generated(
    value = {
        "http://www.jooq.org",
        "jOOQ version:3.10.8"
    },
    comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class GClusterDao extends DAOImpl implements VertxDAO {

    /**
     * Create a new GClusterDao without any configuration
     */
    public GClusterDao() {
        super(GCluster.G_CLUSTER, cn.vertxup.graphic.domain.tables.pojos.GCluster.class);
    }

    /**
     * Create a new GClusterDao with an attached configuration
     */
    public GClusterDao(Configuration configuration) {
        super(GCluster.G_CLUSTER, cn.vertxup.graphic.domain.tables.pojos.GCluster.class, configuration);
    }

    /**
     * {@inheritDoc}
     */
    @Override
    protected String getId(cn.vertxup.graphic.domain.tables.pojos.GCluster object) {
        return object.getKey();
    }

    /**
     * Fetch records that have KEY IN (values)
     */
    public List fetchByKey(String... values) {
        return fetch(GCluster.G_CLUSTER.KEY, values);
    }

    /**
     * Fetch a unique record that has KEY = value
     */
    public cn.vertxup.graphic.domain.tables.pojos.GCluster fetchOneByKey(String value) {
        return fetchOne(GCluster.G_CLUSTER.KEY, value);
    }

    /**
     * Fetch records that have NAME IN (values)
     */
    public List fetchByName(String... values) {
        return fetch(GCluster.G_CLUSTER.NAME, values);
    }

    /**
     * Fetch records that have X IN (values)
     */
    public List fetchByX(Integer... values) {
        return fetch(GCluster.G_CLUSTER.X, values);
    }

    /**
     * Fetch records that have Y IN (values)
     */
    public List fetchByY(Integer... values) {
        return fetch(GCluster.G_CLUSTER.Y, values);
    }

    /**
     * Fetch records that have GRAPHIC_ID IN (values)
     */
    public List fetchByGraphicId(String... values) {
        return fetch(GCluster.G_CLUSTER.GRAPHIC_ID, values);
    }

    /**
     * Fetch records that have UI IN (values)
     */
    public List fetchByUi(String... values) {
        return fetch(GCluster.G_CLUSTER.UI, values);
    }

    /**
     * Fetch records that have RECORD_KEY IN (values)
     */
    public List fetchByRecordKey(String... values) {
        return fetch(GCluster.G_CLUSTER.RECORD_KEY, values);
    }

    /**
     * Fetch records that have RECORD_DATA IN (values)
     */
    public List fetchByRecordData(String... values) {
        return fetch(GCluster.G_CLUSTER.RECORD_DATA, values);
    }

    /**
     * Fetch records that have SIGMA IN (values)
     */
    public List fetchBySigma(String... values) {
        return fetch(GCluster.G_CLUSTER.SIGMA, values);
    }

    /**
     * Fetch records that have LANGUAGE IN (values)
     */
    public List fetchByLanguage(String... values) {
        return fetch(GCluster.G_CLUSTER.LANGUAGE, values);
    }

    /**
     * Fetch records that have ACTIVE IN (values)
     */
    public List fetchByActive(Boolean... values) {
        return fetch(GCluster.G_CLUSTER.ACTIVE, values);
    }

    /**
     * Fetch records that have METADATA IN (values)
     */
    public List fetchByMetadata(String... values) {
        return fetch(GCluster.G_CLUSTER.METADATA, values);
    }

    /**
     * Fetch records that have CREATED_AT IN (values)
     */
    public List fetchByCreatedAt(LocalDateTime... values) {
        return fetch(GCluster.G_CLUSTER.CREATED_AT, values);
    }

    /**
     * Fetch records that have CREATED_BY IN (values)
     */
    public List fetchByCreatedBy(String... values) {
        return fetch(GCluster.G_CLUSTER.CREATED_BY, values);
    }

    /**
     * Fetch records that have UPDATED_AT IN (values)
     */
    public List fetchByUpdatedAt(LocalDateTime... values) {
        return fetch(GCluster.G_CLUSTER.UPDATED_AT, values);
    }

    /**
     * Fetch records that have UPDATED_BY IN (values)
     */
    public List fetchByUpdatedBy(String... values) {
        return fetch(GCluster.G_CLUSTER.UPDATED_BY, values);
    }

    /**
     * Fetch records that have KEY IN (values) asynchronously
     */
    public CompletableFuture> fetchByKeyAsync(List values) {
        return fetchAsync(GCluster.G_CLUSTER.KEY,values);
    }

    /**
     * Fetch a unique record that has KEY = value asynchronously
     */
    public CompletableFuture fetchOneByKeyAsync(String value) {
        return FutureTool.executeBlocking(h->h.complete(fetchOneByKey(value)),vertx());
    }

    /**
     * Fetch records that have NAME IN (values) asynchronously
     */
    public CompletableFuture> fetchByNameAsync(List values) {
        return fetchAsync(GCluster.G_CLUSTER.NAME,values);
    }

    /**
     * Fetch records that have X IN (values) asynchronously
     */
    public CompletableFuture> fetchByXAsync(List values) {
        return fetchAsync(GCluster.G_CLUSTER.X,values);
    }

    /**
     * Fetch records that have Y IN (values) asynchronously
     */
    public CompletableFuture> fetchByYAsync(List values) {
        return fetchAsync(GCluster.G_CLUSTER.Y,values);
    }

    /**
     * Fetch records that have GRAPHIC_ID IN (values) asynchronously
     */
    public CompletableFuture> fetchByGraphicIdAsync(List values) {
        return fetchAsync(GCluster.G_CLUSTER.GRAPHIC_ID,values);
    }

    /**
     * Fetch records that have UI IN (values) asynchronously
     */
    public CompletableFuture> fetchByUiAsync(List values) {
        return fetchAsync(GCluster.G_CLUSTER.UI,values);
    }

    /**
     * Fetch records that have RECORD_KEY IN (values) asynchronously
     */
    public CompletableFuture> fetchByRecordKeyAsync(List values) {
        return fetchAsync(GCluster.G_CLUSTER.RECORD_KEY,values);
    }

    /**
     * Fetch records that have RECORD_DATA IN (values) asynchronously
     */
    public CompletableFuture> fetchByRecordDataAsync(List values) {
        return fetchAsync(GCluster.G_CLUSTER.RECORD_DATA,values);
    }

    /**
     * Fetch records that have SIGMA IN (values) asynchronously
     */
    public CompletableFuture> fetchBySigmaAsync(List values) {
        return fetchAsync(GCluster.G_CLUSTER.SIGMA,values);
    }

    /**
     * Fetch records that have LANGUAGE IN (values) asynchronously
     */
    public CompletableFuture> fetchByLanguageAsync(List values) {
        return fetchAsync(GCluster.G_CLUSTER.LANGUAGE,values);
    }

    /**
     * Fetch records that have ACTIVE IN (values) asynchronously
     */
    public CompletableFuture> fetchByActiveAsync(List values) {
        return fetchAsync(GCluster.G_CLUSTER.ACTIVE,values);
    }

    /**
     * Fetch records that have METADATA IN (values) asynchronously
     */
    public CompletableFuture> fetchByMetadataAsync(List values) {
        return fetchAsync(GCluster.G_CLUSTER.METADATA,values);
    }

    /**
     * Fetch records that have CREATED_AT IN (values) asynchronously
     */
    public CompletableFuture> fetchByCreatedAtAsync(List values) {
        return fetchAsync(GCluster.G_CLUSTER.CREATED_AT,values);
    }

    /**
     * Fetch records that have CREATED_BY IN (values) asynchronously
     */
    public CompletableFuture> fetchByCreatedByAsync(List values) {
        return fetchAsync(GCluster.G_CLUSTER.CREATED_BY,values);
    }

    /**
     * Fetch records that have UPDATED_AT IN (values) asynchronously
     */
    public CompletableFuture> fetchByUpdatedAtAsync(List values) {
        return fetchAsync(GCluster.G_CLUSTER.UPDATED_AT,values);
    }

    /**
     * Fetch records that have UPDATED_BY IN (values) asynchronously
     */
    public CompletableFuture> fetchByUpdatedByAsync(List values) {
        return fetchAsync(GCluster.G_CLUSTER.UPDATED_BY,values);
    }

    private io.vertx.core.Vertx vertx;

    @Override
    public void setVertx(io.vertx.core.Vertx vertx) {
        this.vertx = vertx;
    }

    @Override
    public io.vertx.core.Vertx vertx() {
        return this.vertx;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy