Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.mysema.query.sql.SQLOps Maven / Gradle / Ivy
/*
* Copyright 2013, Mysema Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.mysema.query.sql;
import com.google.common.collect.ImmutableList;
import com.mysema.query.QueryFlag;
import com.mysema.query.QueryFlag.Position;
import com.mysema.query.types.Expression;
import com.mysema.query.types.OperationImpl;
import com.mysema.query.types.Operator;
import com.mysema.query.types.OperatorImpl;
/**
* SQLOps provides SQL specific operators
*
* @author tiwe
*
*/
public final class SQLOps {
private static final String NS = SQLOps.class.getName();
public static final Operator ALL = new OperatorImpl(NS, "ALL");
public static final Operator CAST = new OperatorImpl(NS, "CAST");
public static final Operator CORR = new OperatorImpl(NS, "CORR");
public static final Operator COVARPOP = new OperatorImpl(NS, "COVARPOP");
public static final Operator COVARSAMP = new OperatorImpl(NS, "COVARSAMP");
public static final Operator CUMEDIST = new OperatorImpl(NS, "CUMEDIST");
public static final Operator CUMEDIST2 = new OperatorImpl(NS, "CUMEDIST2");
public static final Operator DENSERANK = new OperatorImpl(NS, "DENSERANK");
public static final Operator DENSERANK2 = new OperatorImpl(NS, "DENSERANK2");
public static final Operator FIRSTVALUE = new OperatorImpl(NS, "FIRSTVALUE");
public static final Operator FOR_SHARE = new OperatorImpl(NS, "FOR_SHARE");
public static final Operator FOR_UPDATE = new OperatorImpl(NS, "FOR_UPDATE");
public static final Operator LAG = new OperatorImpl(NS, "LAG");
public static final Operator LASTVALUE = new OperatorImpl(NS, "LASTVALUE");
public static final Operator LEAD = new OperatorImpl(NS, "LEAD");
public static final Operator LISTAGG = new OperatorImpl(NS, "LISTAGG");
public static final Operator NEXTVAL = new OperatorImpl(NS, "NEXTVAL");
public static final Operator NO_WAIT = new OperatorImpl(NS, "NO_WAIT");
public static final Operator NTHVALUE = new OperatorImpl(NS, "NTHVALUE");
public static final Operator NTILE = new OperatorImpl(NS, "NTILE");
public static final Operator PERCENTRANK = new OperatorImpl(NS, "PERCENTRANK");
public static final Operator PERCENTRANK2 = new OperatorImpl(NS, "PERCENTRANK2");
public static final Operator PERCENTILECONT = new OperatorImpl(NS, "PERCENTILECONT");
public static final Operator PERCENTILEDISC = new OperatorImpl(NS, "PERCENTILEDISC");
public static final Operator QUALIFY = new OperatorImpl(NS, "QUALIFY");
public static final Operator RANK = new OperatorImpl(NS, "RANK");
public static final Operator RANK2 = new OperatorImpl(NS, "RANK2");
public static final Operator REGR_SLOPE = new OperatorImpl(NS, "REGR_SLOPE");
public static final Operator REGR_INTERCEPT = new OperatorImpl(NS, "REGR_INTERCEPT");
public static final Operator REGR_COUNT = new OperatorImpl(NS, "REGR_COUNT");
public static final Operator REGR_R2 = new OperatorImpl(NS, "REGR_R2");
public static final Operator REGR_AVGX = new OperatorImpl(NS, "REGR_AVGX");
public static final Operator REGR_AVGY = new OperatorImpl(NS, "REGR_AVGY");
public static final Operator REGR_SXX = new OperatorImpl(NS, "REGR_SXX");
public static final Operator REGR_SYY = new OperatorImpl(NS, "REGR_SYY");
public static final Operator REGR_SXY = new OperatorImpl(NS, "REGR_SXY");
public static final Operator RATIOTOREPORT = new OperatorImpl(NS, "RATIOTOREPORT");
public static final Operator ROWNUMBER = new OperatorImpl(NS, "ROWNUMBER");
public static final Operator STDDEV = new OperatorImpl(NS, "STDDEV");
public static final Operator STDDEVPOP = new OperatorImpl(NS, "STDDEVPOP");
public static final Operator STDDEVSAMP = new OperatorImpl(NS, "STDDEVSAMP");
public static final Operator STDDEV_DISTINCT = new OperatorImpl(NS, "STDDEV_DISTINCT");
public static final Operator UNION = new OperatorImpl(NS, "UNION");
public static final Operator UNION_ALL = new OperatorImpl(NS, "UNION_ALL");
public static final Operator VARIANCE = new OperatorImpl(NS, "VARIANCE");
public static final Operator VARPOP = new OperatorImpl(NS, "VARPOP");
public static final Operator VARSAMP = new OperatorImpl(NS, "VARSAMP");
public static final Operator WITH_ALIAS = new OperatorImpl(NS, "WITH_ALIAS");
public static final Operator WITH_COLUMNS = new OperatorImpl(NS, "WITH_COLUMNS");
public static final QueryFlag FOR_SHARE_FLAG = new QueryFlag(Position.END, new OperationImpl(
Object.class, FOR_SHARE, ImmutableList.>of()));
public static final QueryFlag FOR_UPDATE_FLAG = new QueryFlag(Position.END, new OperationImpl(
Object.class, FOR_UPDATE, ImmutableList.>of()));
public static final QueryFlag NO_WAIT_FLAG = new QueryFlag(Position.END, new OperationImpl(
Object.class, NO_WAIT, ImmutableList.>of()));
private SQLOps() {}
}