public class SQLCondition extends Object implements SQLFragment
Modifier | Constructor and Description |
---|---|
protected |
SQLCondition(org.clazzes.util.sql.criteria.SQLCondition.OperationType op,
SQLFragment left,
SQLFragment right) |
protected SQLCondition(org.clazzes.util.sql.criteria.SQLCondition.OperationType op, SQLFragment left, SQLFragment right)
protected static SQLCondition and(SQLFragment operand1, SQLFragment operand2)
public static SQLCondition and(SQLFragment... operands)
protected static SQLCondition or(SQLFragment operand1, SQLFragment operand2)
public static SQLCondition or(SQLFragment... operands)
public static SQLCondition eq(SQLFragment operand1, SQLFragment operand2)
public static SQLCondition notEq(SQLFragment operand1, SQLFragment operand2)
public static SQLCondition gt(SQLFragment operand1, SQLFragment operand2)
public static SQLCondition gtEquals(SQLFragment operand1, SQLFragment operand2)
public static SQLCondition lt(SQLFragment operand1, SQLFragment operand2)
public static SQLCondition ltEquals(SQLFragment operand1, SQLFragment operand2)
public static SQLCondition isNull(SQLFragment operand1)
public static SQLCondition notNull(SQLFragment operand1)
public static SQLCondition like(SQLFragment operand1, SQLFragment operand2)
public static SQLCondition in(SQLFragment operand1, SQLFragment operand2)
public static SQLCondition notLike(SQLFragment operand1, SQLFragment operand2)
public String toSQL(SQLDialect dialect)
toSQL
in interface SQLFragment
Copyright © 2017 Clazzes.org. All rights reserved.