Class ExpressionExtractUtils
- java.lang.Object
-
- org.apache.shardingsphere.sql.parser.sql.common.util.ExpressionExtractUtils
-
public final class ExpressionExtractUtils extends Object
Expression extract utility class.
-
-
Constructor Summary
Constructors Constructor Description ExpressionExtractUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Collection<AndPredicate>getAndPredicates(ExpressionSegment expression)Get and predicate collection.static List<ParameterMarkerExpressionSegment>getParameterMarkerExpressions(Collection<ExpressionSegment> expressions)Get parameter marker expression collection.
-
-
-
Method Detail
-
getAndPredicates
public static Collection<AndPredicate> getAndPredicates(ExpressionSegment expression)
Get and predicate collection.- Parameters:
expression- expression segment- Returns:
- and predicate collection
-
getParameterMarkerExpressions
public static List<ParameterMarkerExpressionSegment> getParameterMarkerExpressions(Collection<ExpressionSegment> expressions)
Get parameter marker expression collection.- Parameters:
expressions- expression collection- Returns:
- parameter marker expression collection
-
-