com.jn.sqlhelper.dialect.internal.PrestoDialect Maven / Gradle / Ivy
package com.jn.sqlhelper.dialect.internal;
import com.jn.sqlhelper.dialect.internal.limit.LimitOnlyLimitHandler;
/**
* reference: https://prestodb.github.io/docs/current/sql/select.html
*
*/
public class PrestoDialect extends AbstractDialect {
public PrestoDialect() {
super();
setLimitHandler(new LimitOnlyLimitHandler());
}
@Override
public boolean isSupportsLimitOffset() {
return false;
}
@Override
public boolean isSupportsLimit() {
return true;
}
}