cn.vertxup.graphic.domain.tables.daos.GNodeDao Maven / Gradle / Ivy
/*
* This file is generated by jOOQ.
*/
package cn.vertxup.graphic.domain.tables.daos;
import cn.vertxup.graphic.domain.tables.GNode;
import cn.vertxup.graphic.domain.tables.records.GNodeRecord;
import io.github.jklingsporn.vertx.jooq.future.VertxDAO;
import java.math.BigDecimal;
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 GNodeDao extends DAOImpl implements VertxDAO {
/**
* Create a new GNodeDao without any configuration
*/
public GNodeDao() {
super(GNode.G_NODE, cn.vertxup.graphic.domain.tables.pojos.GNode.class);
}
/**
* Create a new GNodeDao with an attached configuration
*/
public GNodeDao(Configuration configuration) {
super(GNode.G_NODE, cn.vertxup.graphic.domain.tables.pojos.GNode.class, configuration);
}
/**
* {@inheritDoc}
*/
@Override
protected String getId(cn.vertxup.graphic.domain.tables.pojos.GNode object) {
return object.getKey();
}
/**
* Fetch records that have KEY IN (values)
*/
public List fetchByKey(String... values) {
return fetch(GNode.G_NODE.KEY, values);
}
/**
* Fetch a unique record that has KEY = value
*/
public cn.vertxup.graphic.domain.tables.pojos.GNode fetchOneByKey(String value) {
return fetchOne(GNode.G_NODE.KEY, value);
}
/**
* Fetch records that have NAME IN (values)
*/
public List fetchByName(String... values) {
return fetch(GNode.G_NODE.NAME, values);
}
/**
* Fetch records that have X IN (values)
*/
public List fetchByX(BigDecimal... values) {
return fetch(GNode.G_NODE.X, values);
}
/**
* Fetch records that have Y IN (values)
*/
public List fetchByY(BigDecimal... values) {
return fetch(GNode.G_NODE.Y, values);
}
/**
* Fetch records that have UI IN (values)
*/
public List fetchByUi(String... values) {
return fetch(GNode.G_NODE.UI, values);
}
/**
* Fetch records that have GRAPHIC_ID IN (values)
*/
public List fetchByGraphicId(String... values) {
return fetch(GNode.G_NODE.GRAPHIC_ID, values);
}
/**
* Fetch records that have RECORD_DATA IN (values)
*/
public List fetchByRecordData(String... values) {
return fetch(GNode.G_NODE.RECORD_DATA, values);
}
/**
* Fetch records that have RECORD_KEY IN (values)
*/
public List fetchByRecordKey(String... values) {
return fetch(GNode.G_NODE.RECORD_KEY, values);
}
/**
* Fetch records that have RECORD_COMPONENT IN (values)
*/
public List fetchByRecordComponent(String... values) {
return fetch(GNode.G_NODE.RECORD_COMPONENT, values);
}
/**
* Fetch records that have RECORD_CLASS IN (values)
*/
public List fetchByRecordClass(String... values) {
return fetch(GNode.G_NODE.RECORD_CLASS, values);
}
/**
* Fetch records that have SIGMA IN (values)
*/
public List fetchBySigma(String... values) {
return fetch(GNode.G_NODE.SIGMA, values);
}
/**
* Fetch records that have LANGUAGE IN (values)
*/
public List fetchByLanguage(String... values) {
return fetch(GNode.G_NODE.LANGUAGE, values);
}
/**
* Fetch records that have ACTIVE IN (values)
*/
public List fetchByActive(Boolean... values) {
return fetch(GNode.G_NODE.ACTIVE, values);
}
/**
* Fetch records that have METADATA IN (values)
*/
public List fetchByMetadata(String... values) {
return fetch(GNode.G_NODE.METADATA, values);
}
/**
* Fetch records that have CREATED_AT IN (values)
*/
public List fetchByCreatedAt(LocalDateTime... values) {
return fetch(GNode.G_NODE.CREATED_AT, values);
}
/**
* Fetch records that have CREATED_BY IN (values)
*/
public List fetchByCreatedBy(String... values) {
return fetch(GNode.G_NODE.CREATED_BY, values);
}
/**
* Fetch records that have UPDATED_AT IN (values)
*/
public List fetchByUpdatedAt(LocalDateTime... values) {
return fetch(GNode.G_NODE.UPDATED_AT, values);
}
/**
* Fetch records that have UPDATED_BY IN (values)
*/
public List fetchByUpdatedBy(String... values) {
return fetch(GNode.G_NODE.UPDATED_BY, values);
}
/**
* Fetch records that have KEY IN (values)
asynchronously
*/
public CompletableFuture> fetchByKeyAsync(List values) {
return fetchAsync(GNode.G_NODE.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(GNode.G_NODE.NAME,values);
}
/**
* Fetch records that have X IN (values)
asynchronously
*/
public CompletableFuture> fetchByXAsync(List values) {
return fetchAsync(GNode.G_NODE.X,values);
}
/**
* Fetch records that have Y IN (values)
asynchronously
*/
public CompletableFuture> fetchByYAsync(List values) {
return fetchAsync(GNode.G_NODE.Y,values);
}
/**
* Fetch records that have UI IN (values)
asynchronously
*/
public CompletableFuture> fetchByUiAsync(List values) {
return fetchAsync(GNode.G_NODE.UI,values);
}
/**
* Fetch records that have GRAPHIC_ID IN (values)
asynchronously
*/
public CompletableFuture> fetchByGraphicIdAsync(List values) {
return fetchAsync(GNode.G_NODE.GRAPHIC_ID,values);
}
/**
* Fetch records that have RECORD_DATA IN (values)
asynchronously
*/
public CompletableFuture> fetchByRecordDataAsync(List values) {
return fetchAsync(GNode.G_NODE.RECORD_DATA,values);
}
/**
* Fetch records that have RECORD_KEY IN (values)
asynchronously
*/
public CompletableFuture> fetchByRecordKeyAsync(List values) {
return fetchAsync(GNode.G_NODE.RECORD_KEY,values);
}
/**
* Fetch records that have RECORD_COMPONENT IN (values)
asynchronously
*/
public CompletableFuture> fetchByRecordComponentAsync(List values) {
return fetchAsync(GNode.G_NODE.RECORD_COMPONENT,values);
}
/**
* Fetch records that have RECORD_CLASS IN (values)
asynchronously
*/
public CompletableFuture> fetchByRecordClassAsync(List values) {
return fetchAsync(GNode.G_NODE.RECORD_CLASS,values);
}
/**
* Fetch records that have SIGMA IN (values)
asynchronously
*/
public CompletableFuture> fetchBySigmaAsync(List values) {
return fetchAsync(GNode.G_NODE.SIGMA,values);
}
/**
* Fetch records that have LANGUAGE IN (values)
asynchronously
*/
public CompletableFuture> fetchByLanguageAsync(List values) {
return fetchAsync(GNode.G_NODE.LANGUAGE,values);
}
/**
* Fetch records that have ACTIVE IN (values)
asynchronously
*/
public CompletableFuture> fetchByActiveAsync(List values) {
return fetchAsync(GNode.G_NODE.ACTIVE,values);
}
/**
* Fetch records that have METADATA IN (values)
asynchronously
*/
public CompletableFuture> fetchByMetadataAsync(List values) {
return fetchAsync(GNode.G_NODE.METADATA,values);
}
/**
* Fetch records that have CREATED_AT IN (values)
asynchronously
*/
public CompletableFuture> fetchByCreatedAtAsync(List values) {
return fetchAsync(GNode.G_NODE.CREATED_AT,values);
}
/**
* Fetch records that have CREATED_BY IN (values)
asynchronously
*/
public CompletableFuture> fetchByCreatedByAsync(List values) {
return fetchAsync(GNode.G_NODE.CREATED_BY,values);
}
/**
* Fetch records that have UPDATED_AT IN (values)
asynchronously
*/
public CompletableFuture> fetchByUpdatedAtAsync(List values) {
return fetchAsync(GNode.G_NODE.UPDATED_AT,values);
}
/**
* Fetch records that have UPDATED_BY IN (values)
asynchronously
*/
public CompletableFuture> fetchByUpdatedByAsync(List values) {
return fetchAsync(GNode.G_NODE.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