Codota Logo
LogicalExpression
Code IndexAdd Codota to your IDE (free)

How to use
LogicalExpression
in
org.hibernate.criterion

Best Java code snippets using org.hibernate.criterion.LogicalExpression (Showing top 20 results out of 315)

  • Common ways to obtain LogicalExpression
private void myMethod () {
LogicalExpression l =
  • Codota IconCriterion lhs;Criterion rhs;String str;new LogicalExpression(lhs, rhs, str)
  • Smart code suggestions by Codota
}
origin: hibernate/hibernate-orm

/**
 * Return the disjuction of two expressions
 *
 * @param lhs One expression
 * @param rhs The other expression
 *
 * @return The Criterion
 */
public static LogicalExpression or(Criterion lhs, Criterion rhs) {
  return new LogicalExpression( lhs, rhs, "or" );
}
origin: hibernate/hibernate-orm

  @Override
  public String toString() {
    return lhs.toString() + ' ' + getOp() + ' ' + rhs.toString();
  }
}
origin: hibernate/hibernate-orm

/**
 * Return the conjuction of two expressions
 *
 * @param lhs One expression
 * @param rhs The other expression
 *
 * @return The Criterion
 */
public static LogicalExpression and(Criterion lhs, Criterion rhs) {
  return new LogicalExpression(lhs, rhs, "and");
}
/**
origin: hibernate/hibernate-orm

@Override
public String toSqlString(Criteria criteria, CriteriaQuery criteriaQuery) {
  return '('
      + lhs.toSqlString( criteria, criteriaQuery )
      + ' '
      + getOp()
      + ' '
      + rhs.toSqlString( criteria, criteriaQuery )
      + ')';
}
origin: org.hibernate/com.springsource.org.hibernate

/**
 * Return the conjuction of two expressions
 *
 * @param lhs
 * @param rhs
 * @return Criterion
 */
public static LogicalExpression and(Criterion lhs, Criterion rhs) {
  return new LogicalExpression(lhs, rhs, "and");
}
/**
origin: org.hibernate/com.springsource.org.hibernate

  public String toString() {
    return lhs.toString() + ' ' + getOp() + ' ' + rhs.toString();
  }
}
origin: org.hibernate/com.springsource.org.hibernate.core

/**
 * Return the conjuction of two expressions
 *
 * @param lhs
 * @param rhs
 * @return Criterion
 */
public static LogicalExpression and(Criterion lhs, Criterion rhs) {
  return new LogicalExpression(lhs, rhs, "and");
}
/**
origin: hibernate/hibernate

  public String toString() {
    return lhs.toString() + ' ' + getOp() + ' ' + rhs.toString();
  }
}
origin: hibernate/hibernate

/**
 * Return the conjuction of two expressions
 *
 * @param lhs
 * @param rhs
 * @return Criterion
 */
public static LogicalExpression and(Criterion lhs, Criterion rhs) {
  return new LogicalExpression(lhs, rhs, "and");
}
/**
origin: org.hibernate/com.springsource.org.hibernate.core

  public String toString() {
    return lhs.toString() + ' ' + getOp() + ' ' + rhs.toString();
  }
}
origin: jboss.jboss-embeddable-ejb3/hibernate-all

/**
 * Return the disjuction of two expressions
 *
 * @param lhs
 * @param rhs
 * @return Criterion
 */
public static LogicalExpression or(Criterion lhs, Criterion rhs) {
  return new LogicalExpression(lhs, rhs, "or");
}
/**
origin: jboss.jboss-embeddable-ejb3/hibernate-all

  public String toString() {
    return lhs.toString() + ' ' + getOp() + ' ' + rhs.toString();
  }
}
origin: jboss.jboss-embeddable-ejb3/hibernate-all

/**
 * Return the conjuction of two expressions
 *
 * @param lhs
 * @param rhs
 * @return Criterion
 */
public static LogicalExpression and(Criterion lhs, Criterion rhs) {
  return new LogicalExpression(lhs, rhs, "and");
}
/**
origin: org.hibernate/com.springsource.org.hibernate.core

public String toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
throws HibernateException {
  return '(' +
    lhs.toSqlString(criteria, criteriaQuery) +
    ' ' +
    getOp() +
    ' ' +
    rhs.toSqlString(criteria, criteriaQuery) +
    ')';
}
origin: org.hibernate/com.springsource.org.hibernate.core

/**
 * Return the disjuction of two expressions
 *
 * @param lhs
 * @param rhs
 * @return Criterion
 */
public static LogicalExpression or(Criterion lhs, Criterion rhs) {
  return new LogicalExpression(lhs, rhs, "or");
}
/**
origin: hibernate/hibernate

public String toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
throws HibernateException {
  return '(' +
    lhs.toSqlString(criteria, criteriaQuery) +
    ' ' +
    getOp() +
    ' ' +
    rhs.toSqlString(criteria, criteriaQuery) +
    ')';
}
origin: hibernate/hibernate

/**
 * Return the disjuction of two expressions
 *
 * @param lhs
 * @param rhs
 * @return Criterion
 */
public static LogicalExpression or(Criterion lhs, Criterion rhs) {
  return new LogicalExpression(lhs, rhs, "or");
}
/**
origin: jboss.jboss-embeddable-ejb3/hibernate-all

public String toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
throws HibernateException {
  return '(' +
    lhs.toSqlString(criteria, criteriaQuery) +
    ' ' +
    getOp() +
    ' ' +
    rhs.toSqlString(criteria, criteriaQuery) +
    ')';
}
origin: org.hibernate/com.springsource.org.hibernate

/**
 * Return the disjuction of two expressions
 *
 * @param lhs
 * @param rhs
 * @return Criterion
 */
public static LogicalExpression or(Criterion lhs, Criterion rhs) {
  return new LogicalExpression(lhs, rhs, "or");
}
/**
origin: org.hibernate/com.springsource.org.hibernate

public String toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
throws HibernateException {
  return '(' +
    lhs.toSqlString(criteria, criteriaQuery) +
    ' ' +
    getOp() +
    ' ' +
    rhs.toSqlString(criteria, criteriaQuery) +
    ')';
}
org.hibernate.criterionLogicalExpression

Javadoc

Superclass of binary logical expressions

Most used methods

  • <init>
  • getOp

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • runOnUiThread (Activity)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now