redis dal added applyConstraints private method