T
- Path and expression typepublic interface PathExpression<T> extends Path<T>, QueryExpression<T>, QueryProjection<T>
QueryExpression
wich represents a Path
.Path.Builder<T,B extends Path.Builder<T,B>>, Path.FinalPath<T>, Path.PathBuilder<T>
Expression.ExpressionResolverFunction<E extends Expression,R extends Expression>, Expression.InvalidExpressionException
PATH_HIERARCHY_SEPARATOR
DEFAULT_CONFIG_PROPERTY_PREFIX, PATH
Modifier and Type | Method and Description |
---|---|
default QuerySort |
asc()
Build a
QuerySort.SortDirection.ASCENDING sort using this property. |
static <T> PathExpression<T> |
create(String name,
Class<? extends T> type)
Create a
PathExpression . |
default QuerySort |
desc()
Build a
QuerySort.SortDirection.DESCENDING sort using this property. |
static <T> PathExpression<T> |
from(Path<T> path)
Create a
PathExpression from given Path . |
fullName, fullName, getName, getParent, isRootPath, of, relativeName, relativeName, stream
getDataPath, isDataMappable
between, count, eq, eq, goe, goe, gt, gt, in, in, in, isNotNull, isNull, loe, loe, lt, lt, max, min, neq, neq, nin, nin, nin
bean, constant, countAll, path, propertySet, propertySet
getTemporalType, getType, isCollectionExpression, isConverterExpression
validate
default QuerySort asc()
QuerySort.SortDirection.ASCENDING
sort using this property.QuerySort
default QuerySort desc()
QuerySort.SortDirection.DESCENDING
sort using this property.QuerySort
static <T> PathExpression<T> create(String name, Class<? extends T> type)
PathExpression
.T
- Path typename
- Path name (not null)type
- Path type (not null)PathExpression
static <T> PathExpression<T> from(Path<T> path)
PathExpression
from given Path
.T
- Path typepath
- Suorce pathPathExpression
with the same name, type and parent of the given pathCopyright © 2018 The Holon Platform. All rights reserved.