Class WhereExtractUtils
- java.lang.Object
-
- org.apache.shardingsphere.sql.parser.sql.common.util.WhereExtractUtils
-
public final class WhereExtractUtils extends Object
Where extract utility class.
-
-
Constructor Summary
Constructors Constructor Description WhereExtractUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Collection<WhereSegment>getJoinWhereSegments(SelectStatement selectStatement)Get join where segment from SelectStatement.static Collection<WhereSegment>getSubqueryWhereSegments(SelectStatement selectStatement)Get subquery where segment from SelectStatement.
-
-
-
Method Detail
-
getJoinWhereSegments
public static Collection<WhereSegment> getJoinWhereSegments(SelectStatement selectStatement)
Get join where segment from SelectStatement.- Parameters:
selectStatement- SelectStatement- Returns:
- join where segment collection
-
getSubqueryWhereSegments
public static Collection<WhereSegment> getSubqueryWhereSegments(SelectStatement selectStatement)
Get subquery where segment from SelectStatement.- Parameters:
selectStatement- SelectStatement- Returns:
- subquery where segment collection
-
-