public class HavingSridExpression extends Object implements org.hibernate.criterion.Criterion
Criterion constraining a geometry property to have a specified SRID.| Constructor and Description |
|---|
HavingSridExpression(String propertyName,
int srid)
Constructs an instance for the specified property and srid
|
| Modifier and Type | Method and Description |
|---|---|
org.hibernate.engine.spi.TypedValue[] |
getTypedValues(org.hibernate.Criteria criteria,
org.hibernate.criterion.CriteriaQuery criteriaQuery) |
String |
toSqlString(org.hibernate.Criteria criteria,
org.hibernate.criterion.CriteriaQuery criteriaQuery) |
public HavingSridExpression(String propertyName, int srid)
propertyName - The name of the property being constrainedsrid - The sridpublic String toSqlString(org.hibernate.Criteria criteria, org.hibernate.criterion.CriteriaQuery criteriaQuery) throws org.hibernate.HibernateException
toSqlString in interface org.hibernate.criterion.Criterionorg.hibernate.HibernateExceptionpublic org.hibernate.engine.spi.TypedValue[] getTypedValues(org.hibernate.Criteria criteria,
org.hibernate.criterion.CriteriaQuery criteriaQuery)
throws org.hibernate.HibernateException
getTypedValues in interface org.hibernate.criterion.Criterionorg.hibernate.HibernateExceptionCopyright © 2001-2019 Red Hat, Inc. All Rights Reserved.