Package org.hibernate.sql
Class ComparisonRestriction
- java.lang.Object
-
- org.hibernate.sql.ComparisonRestriction
-
- All Implemented Interfaces:
Restriction
@Internal public class ComparisonRestriction extends Object implements Restriction
A binary-comparison restriction
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classComparisonRestriction.Operator
-
Constructor Summary
Constructors Constructor Description ComparisonRestriction(String lhs)ComparisonRestriction(String lhs, String rhs)ComparisonRestriction(String lhs, ComparisonRestriction.Operator operator, String rhs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrender(StringBuilder sqlBuffer, RestrictionRenderingContext context)Render the restriction into the SQL buffer
-
-
-
Method Detail
-
render
public void render(StringBuilder sqlBuffer, RestrictionRenderingContext context)
Description copied from interface:RestrictionRender the restriction into the SQL buffer- Specified by:
renderin interfaceRestriction
-
-