public static HashMode getPartitionHashColumns ( String name , String pkHashConfigs ) { if ( StringUtils . isEmpty ( pkHashConfigs ) ) { return null ; } List < PartitionData > datas = partitionDatas . get ( pkHashConfigs ) ; for ( PartitionData data : datas ) { if ( data . simpleName != null ) { if ( data . simpleName . equalsIgnoreCase ( name ) ) { return data . hashMode ; } } else { if ( data . regexFilter . filter ( name ) ) { return data . hashMode ; } } } return null ; }
match return List not match return null