/** * Static factory method to create a Criteria using the provided key * * @param key filed name * @return the new criteria */ public static Criteria where(String key) { return new Criteria(ValueNode.toValueNode(prefixPath(key))); }
/** * Static factory method to create a Criteria using the provided key * * @param key ads new filed to criteria * @return the criteria builder */ public Criteria and(String key) { checkComplete(); return new Criteria(this.criteriaChain, ValueNode.toValueNode(prefixPath(key))); }
/** * Static factory method to create a Criteria using the provided key * * @param key filed name * @return the new criteria */ public static Criteria where(String key) { return new Criteria(ValueNode.toValueNode(prefixPath(key))); }
/** * Static factory method to create a Criteria using the provided key * * @param key ads new filed to criteria * @return the criteria builder */ public Criteria and(String key) { checkComplete(); return new Criteria(this.criteriaChain, ValueNode.toValueNode(prefixPath(key))); }
/** * Static factory method to create a Criteria using the provided key * * @param key filed name * @return the new criteria */ public static Criteria where(String key) { return new Criteria(ValueNode.toValueNode(prefixPath(key))); }
/** * Static factory method to create a Criteria using the provided key * * @param key ads new filed to criteria * @return the criteria builder */ public Criteria and(String key) { checkComplete(); return new Criteria(this.criteriaChain, ValueNode.toValueNode(prefixPath(key))); }