org.hibernate.sql
Class InFragment
java.lang.Object
org.hibernate.sql.InFragment
public class InFragment
- extends Object
An SQL IN expression.
... in(...)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NULL
public static final String NULL
- See Also:
- Constant Field Values
NOT_NULL
public static final String NOT_NULL
- See Also:
- Constant Field Values
InFragment
public InFragment()
addValue
public InFragment addValue(Object value)
- Parameters:
value
- an SQL literal, NULL, or NOT_NULL
- Returns:
this
, for method chaining
setColumn
public InFragment setColumn(String columnName)
setColumn
public InFragment setColumn(String alias,
String columnName)
setFormula
public InFragment setFormula(String alias,
String formulaTemplate)
toFragmentString
public String toFragmentString()
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.