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 denied so that it becomes unavailable except it's explicitly allowed.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–2022 Pivotal Software, Inc.. All rights reserved.