class MigrationUtils {

    public static ShadowUser getRecordByUserId(String userId) {
        ShadowUser shadowUser=null;
        Response response = cassandraOperation.searchValueInList(JsonKey.SUNBIRD, JsonKey.SHADOW_USER, JsonKey.USERIDS, userId);
        if(!((List) response.getResult().get(JsonKey.RESPONSE)).isEmpty()) {
            shadowUser = mapper.convertValue(((List) response.getResult().get(JsonKey.RESPONSE)).get(0), ShadowUser.class);
        }
        return shadowUser;
    }

}