@Internal public class InExpressionBuilder extends Object
Modifier and Type | Method and Description |
---|---|
String |
buildInExpressionString()
If required, split up the IN/NOT-IN expression into smaller partitions which are within the IN clause limitations.
|
static InExpressionBuilder |
getInExpressionBuilderCustomLimit(String fieldName,
String parameterName,
List<String> parameterValues,
int inExpressionLimit) |
static InExpressionBuilder |
getInExpressionBuilderDefaultLimit(String fieldName,
String parameterName,
List<String> parameterValues) |
static InExpressionBuilder |
getNotInExpressionBuilderCustomLimit(String fieldName,
String parameterName,
List<String> parameterValues,
int inExpressionLimit) |
static InExpressionBuilder |
getNotInExpressionBuilderDefaultLimit(String fieldName,
String parameterName,
List<String> parameterValues) |
void |
substituteInExpressionParameters(org.hibernate.query.Query query)
Takes in a Query and substitutes actual values into the parameter lists, according to the IN clause limitations.
|
public static InExpressionBuilder getInExpressionBuilderDefaultLimit(String fieldName, String parameterName, List<String> parameterValues)
public static InExpressionBuilder getInExpressionBuilderCustomLimit(String fieldName, String parameterName, List<String> parameterValues, int inExpressionLimit)
public static InExpressionBuilder getNotInExpressionBuilderDefaultLimit(String fieldName, String parameterName, List<String> parameterValues)
public static InExpressionBuilder getNotInExpressionBuilderCustomLimit(String fieldName, String parameterName, List<String> parameterValues, int inExpressionLimit)
public String buildInExpressionString()
public void substituteInExpressionParameters(org.hibernate.query.Query query)
query
- The query to substitute actual parameter values into.Copyright © 2003–2020 Atlassian. All rights reserved.