Package org.hibernate.sql
Class InFragment
- java.lang.Object
-
- org.hibernate.sql.InFragment
-
-
Constructor Summary
Constructors Constructor Description InFragment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InFragment
addValue(Object value)
InFragment
addValues(Object[] values)
List<Object>
getValues()
InFragment
setColumn(String columnName)
InFragment
setColumn(String alias, String columnName)
InFragment
setFormula(String alias, String formulaTemplate)
String
toFragmentString()
-
-
-
Field Detail
-
NULL
public static final String NULL
- See Also:
- Constant Field Values
-
NOT_NULL
public static final String NOT_NULL
- See Also:
- Constant Field Values
-
columnName
protected String columnName
-
-
Method Detail
-
addValue
public InFragment addValue(Object value)
- Parameters:
value
- an SQL literal, NULL, or NOT_NULL- Returns:
this
, for method chaining
-
addValues
public InFragment addValues(Object[] values)
-
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()
-
-