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

io.army.criteria.impl.PostgreUnaryExpOperator Maven / Gradle / Ivy

There is a newer version: 0.6.6
Show newest version
package io.army.criteria.impl;

import io.army.dialect.Database;

enum PostgreUnaryExpOperator implements Operator.SqlUnaryExpOperator {

    /**
     * @see |/ double precision → double precision
* Square root *
*/ VERTICAL_SLASH(" |/"), /** * @see ||/ double precision → double precision
* Cube root *
*/ DOUBLE_VERTICAL_SLASH(" ||/"), /** * @see @-@ geometric_type → double precision
* Computes the total length. Available for lseg, path. *
*/ AT_HYPHEN_AT(" @-@"), /** * @see Absolute value operator */ AT(" @"), /** * @see @@ geometric_type → point
* Computes the center point. Available for box, lseg, polygon, circle. *
*/ AT_AT(" @@"), /** * @see !! tsquery → tsquery
* Negates a tsquery, producing a query that matches documents that do not match the input query. *
*/ DOUBLE_EXCLAMATION(" !!"), /** * @see # geometric_type → integer
* Returns the number of points. Available for path, polygon. *
*/ POUND(" #"); private final String spaceOperator; PostgreUnaryExpOperator(String spaceOperator) { this.spaceOperator = spaceOperator; } @Override public final String spaceRender() { return this.spaceOperator; } @Override public final Database database() { return Database.PostgreSQL; } @Override public final String toString() { return CriteriaUtils.enumToString(this); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy