public class QuerydslBindings.AliasingPathBinder<P extends com.querydsl.core.types.Path<? extends T>,T> extends QuerydslBindings.PathBinder<P,T>
QuerydslBindings.PathBinder
that additionally registers the binding under a dedicated alias. The original path is
still registered but blacklisted so that it becomes unavailable except it's explicitly whitelisted.Modifier and Type | Method and Description |
---|---|
QuerydslBindings.AliasingPathBinder<P,T> |
as(String alias)
Aliases the current binding to be available under the given path.
|
protected void |
registerBinding(org.springframework.data.querydsl.binding.QuerydslBindings.PathAndBinding<P,T> binding) |
void |
withDefaultBinding()
Registers the current aliased binding to use the default binding.
|
all, first, firstOptional
public QuerydslBindings.AliasingPathBinder<P,T> as(String alias)
alias
- must not be null.public void withDefaultBinding()
protected void registerBinding(org.springframework.data.querydsl.binding.QuerydslBindings.PathAndBinding<P,T> binding)
registerBinding
in class QuerydslBindings.PathBinder<P extends com.querydsl.core.types.Path<? extends T>,T>
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.