private boolean isRestrictedByMultipleContains ( ColumnDefinition columnDef ) { if ( ! columnDef . type . isCollection ( ) ) return false ; Restriction restriction = metadataRestrictions . get ( columnDef . name ) ; if ( ! ( restriction instanceof Contains ) ) return false ; Contains contains = ( Contains ) restriction ; return ( contains . numberOfValues ( ) + contains . numberOfKeys ( ) ) > 1 ; }
Checks if the specified column is restricted by multiple contains or contains key .