private FilterClause populateFilterClause ( ComparisonExpression conditionalExpression ) { String property = ( ( StateFieldPathExpression ) conditionalExpression . getLeftExpression ( ) ) . getPath ( 1 ) ; String condition = conditionalExpression . getComparisonOperator ( ) ; Expression rightExpression = conditionalExpression . getRightExpression ( ) ; Object value = ( rightExpression instanceof InputParameter ) ? kunderaQuery . getParametersMap ( ) . get ( ( rightExpression ) . toParsedText ( ) ) : rightExpression . toParsedText ( ) ; return ( condition != null && property != null ) ? kunderaQuery . new FilterClause ( property , condition , value , property ) : null ; }
Populate filter clause .