public class SqlFilterFactory<T>
Produces filters defined by the VoK-ORM library. This will allow us to piggyback on the ability of VoK-ORM filters to produce
SQL92 WHERE clause. See DataProvidersKt.sqlDataProvider and Dao.dataProvider for more details.
DataProvidersKt.sqlDataProvider| Constructor and Description |
|---|
SqlFilterFactory(java.lang.Class<T> clazz)
Produces filters defined by the
VoK-ORM library. This will allow us to piggyback on the ability of VoK-ORM filters to produce
SQL92 WHERE clause. See DataProvidersKt.sqlDataProvider and Dao.dataProvider for more details. |
| Modifier and Type | Method and Description |
|---|---|
com.github.vokorm.Filter<T> |
and(java.util.Set<? extends com.github.vokorm.Filter<T>> filters) |
com.github.vokorm.EqFilter<T> |
eq(java.lang.String propertyName,
java.lang.Object value) |
com.github.vokorm.OpFilter<T> |
ge(java.lang.String propertyName,
java.lang.Object value) |
java.lang.Class<T> |
getClazz()
the type of the entity,
|
com.github.vokorm.ILikeFilter<T> |
ilike(java.lang.String propertyName,
java.lang.String value) |
com.github.vokorm.OpFilter<T> |
le(java.lang.String propertyName,
java.lang.Object value) |
com.github.vokorm.Filter<T> |
or(java.util.Set<? extends com.github.vokorm.Filter<T>> filters) |
public SqlFilterFactory(java.lang.Class<T> clazz)
Produces filters defined by the VoK-ORM library. This will allow us to piggyback on the ability of VoK-ORM filters to produce
SQL92 WHERE clause. See DataProvidersKt.sqlDataProvider and Dao.dataProvider for more details.
clazz - the type of the entity, not null.clazz - the type of the entity, not null.DataProvidersKt.sqlDataProviderpublic com.github.vokorm.Filter<T> and(java.util.Set<? extends com.github.vokorm.Filter<T>> filters)
public com.github.vokorm.Filter<T> or(java.util.Set<? extends com.github.vokorm.Filter<T>> filters)
public com.github.vokorm.EqFilter<T> eq(java.lang.String propertyName,
java.lang.Object value)
public com.github.vokorm.OpFilter<T> le(java.lang.String propertyName,
java.lang.Object value)
public com.github.vokorm.OpFilter<T> ge(java.lang.String propertyName,
java.lang.Object value)
public com.github.vokorm.ILikeFilter<T> ilike(java.lang.String propertyName,
java.lang.String value)
public java.lang.Class<T> getClazz()
the type of the entity,
not null.