Warwickshire captain Alex Davies reached 256 from 311 balls (28 fours, three fours) to post a career best.