added SprdQuery to support cache id calculation for extra attributes