public class ConditionTransformer
extends java.lang.Object
Condition
by Spring Data repositories PartTree
Constructor and Description |
---|
ConditionTransformer() |
Modifier and Type | Method and Description |
---|---|
static Condition |
fromPartTree(org.springframework.data.repository.query.parser.PartTree parts,
java.util.List<java.lang.String> parameters)
Creates
Condition tree for data repository method by it's spring PartTree . |
@Nullable public static Condition fromPartTree(org.springframework.data.repository.query.parser.PartTree parts, java.util.List<java.lang.String> parameters)
Condition
tree for data repository method by it's spring PartTree
.
Also fills specified List
with parameter names required for queryparts
- PartTree to be converted to Conditionparameters
- collection to put parameter names for conditions