public interface VariableRestrictionQueryHintFactory
Factory interface for variable restriction hint creation.
Modifier and Type | Method and Description |
---|---|
QueryHint |
matching(Predicate predicate)
Creates a query hint which restricts the variables to be loaded based on the given predicate (white list semantics).
|
QueryHint |
matching(String... variableNames)
Creates a query hint which restricts the variables to be loaded based on the given names.
|
QueryHint |
matching(String variableName)
Creates a query hint which restricts the variable to be loaded based on the given name.
|
QueryHint |
matching(ValueAccessor<?>... valueAccessors)
Creates a query hint which restricts the variables to be loaded based on the given value accessors.
|
QueryHint matching(String variableName)
Creates a query hint which restricts the variable to be loaded based on the given name.
Note
|
this method does not support variables that are backed by a List or Map .
If the results may contain such variables then you should either use an unrestricted query
or the ValueAccessor variant.
|
variableName
- the variable name to be loadedQueryHint matching(String... variableNames)
Creates a query hint which restricts the variables to be loaded based on the given names.
Note
|
this method does not support variables that are backed by a List or Map .
If the results may contain such variables then you should either use an unrestricted query
or the ValueAccessor variant.
|
variableNames
- the variable name to be loadedQueryHint matching(ValueAccessor<?>... valueAccessors)
Creates a query hint which restricts the variables to be loaded based on the given value accessors.
Note
|
it is not currently possible to restrict the results to contain variables that are
backed by a Map , so requests containing such variables will result in an unrestricted query hint.
|
valueAccessors
- the value accessors for the variables to be loadedCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.