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

cn.vertxup.graphic.domain.tables.daos.GEdgeDao 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.GEdge;
import cn.vertxup.graphic.domain.tables.records.GEdgeRecord;

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 GEdgeDao extends DAOImpl implements VertxDAO {

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

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

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

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

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

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

    /**
     * Fetch records that have TYPE IN (values)
     */
    public List fetchByType(String... values) {
        return fetch(GEdge.G_EDGE.TYPE, values);
    }

    /**
     * Fetch records that have SOURCE_KEY IN (values)
     */
    public List fetchBySourceKey(String... values) {
        return fetch(GEdge.G_EDGE.SOURCE_KEY, values);
    }

    /**
     * Fetch records that have TARGET_KEY IN (values)
     */
    public List fetchByTargetKey(String... values) {
        return fetch(GEdge.G_EDGE.TARGET_KEY, values);
    }

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * Fetch records that have KEY IN (values) asynchronously
     */
    public CompletableFuture> fetchByKeyAsync(List values) {
        return fetchAsync(GEdge.G_EDGE.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(GEdge.G_EDGE.NAME,values);
    }

    /**
     * Fetch records that have TYPE IN (values) asynchronously
     */
    public CompletableFuture> fetchByTypeAsync(List values) {
        return fetchAsync(GEdge.G_EDGE.TYPE,values);
    }

    /**
     * Fetch records that have SOURCE_KEY IN (values) asynchronously
     */
    public CompletableFuture> fetchBySourceKeyAsync(List values) {
        return fetchAsync(GEdge.G_EDGE.SOURCE_KEY,values);
    }

    /**
     * Fetch records that have TARGET_KEY IN (values) asynchronously
     */
    public CompletableFuture> fetchByTargetKeyAsync(List values) {
        return fetchAsync(GEdge.G_EDGE.TARGET_KEY,values);
    }

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

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

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

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

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

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

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

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

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

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

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

    /**
     * Fetch records that have UPDATED_BY IN (values) asynchronously
     */
    public CompletableFuture> fetchByUpdatedByAsync(List values) {
        return fetchAsync(GEdge.G_EDGE.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