public class DataLoaderFilterFactory<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 sqlDataProvider and entityDataProvider for more details.
| Constructor and Description |
|---|
DataLoaderFilterFactory(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 sqlDataProvider and entityDataProvider for more details. |
| Modifier and Type | Method and Description |
|---|---|
com.github.mvysny.vokdataloader.Filter<T> |
and(java.util.Set<? extends com.github.mvysny.vokdataloader.Filter<T>> filters) |
com.github.mvysny.vokdataloader.EqFilter<T> |
eq(java.lang.String propertyName,
java.lang.Object value) |
com.github.mvysny.vokdataloader.OpFilter<T> |
ge(java.lang.String propertyName,
java.lang.Object value) |
java.lang.Class<T> |
getClazz()
the type of the entity,
|
com.github.mvysny.vokdataloader.ILikeFilter<T> |
ilike(java.lang.String propertyName,
java.lang.String value) |
com.github.mvysny.vokdataloader.OpFilter<T> |
le(java.lang.String propertyName,
java.lang.Object value) |
com.github.mvysny.vokdataloader.Filter<T> |
or(java.util.Set<? extends com.github.mvysny.vokdataloader.Filter<T>> filters) |
public DataLoaderFilterFactory(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 sqlDataProvider and entityDataProvider for more details.
clazz - the type of the entity, not null.clazz - the type of the entity, not null.public com.github.mvysny.vokdataloader.Filter<T> and(java.util.Set<? extends com.github.mvysny.vokdataloader.Filter<T>> filters)
public com.github.mvysny.vokdataloader.Filter<T> or(java.util.Set<? extends com.github.mvysny.vokdataloader.Filter<T>> filters)
public com.github.mvysny.vokdataloader.EqFilter<T> eq(java.lang.String propertyName,
java.lang.Object value)
public com.github.mvysny.vokdataloader.OpFilter<T> le(java.lang.String propertyName,
java.lang.Object value)
public com.github.mvysny.vokdataloader.OpFilter<T> ge(java.lang.String propertyName,
java.lang.Object value)
public com.github.mvysny.vokdataloader.ILikeFilter<T> ilike(java.lang.String propertyName,
java.lang.String value)
public java.lang.Class<T> getClazz()
the type of the entity,
not null.