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

com.jn.sqlhelper.dialect.internal.ArgoDBDialect Maven / Gradle / Ivy

package com.jn.sqlhelper.dialect.internal;

import com.jn.sqlhelper.dialect.internal.limit.LimitCommaLimitHandler;
import com.jn.sqlhelper.dialect.likeescaper.BackslashStyleEscaper;

/**
 * 星环科技开发:https://docs.transwarp.cn/#/documents-support/docs-detail/document/ARGODB-PLATFORM/2.1/030ArgoDBManual?docType=docs%3Fcategory%3DTDH%26index%3D0&docName=ArgoDB%E4%BD%BF%E7%94%A8%E6%89%8B%E5%86%8C
 *
 * ArgoDB支持MySQL和DB2中的分页语法。
 * 

* SELECT [ALL | DISTINCT] select_expression, select_expression, ... * FROM table_reference * [WHERE where_condition] * [GROUP BY col_list] * [CLUSTER BY col_list * | [DISTRIBUTE BY col_list] [SORT BY col_list] * ] * [LIMIT (M,)N * | [OFFSET M ROWS FETCH NEXT | FIRST] N ROWS ONLY]; */ public class ArgoDBDialect extends AbstractDialect { public ArgoDBDialect() { super(); setLimitHandler(new LimitCommaLimitHandler()); setLikeEscaper(BackslashStyleEscaper.INSTANCE); } @Override public boolean isSupportsLimit() { return true; } @Override public boolean isSupportsLimitOffset() { return true; } @Override public boolean isSupportsBatchUpdates() { return true; } @Override public boolean isSupportsBatchSql() { return true; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy