List of usage examples for org.springframework.data.elasticsearch.core.query SimpleField SimpleField
public SimpleField(String name)
From source file:org.springframework.data.elasticsearch.core.query.Criteria.java
/** * Creates a new CriterSimpleFieldia for the Filed with provided name * //from w w w. ja v a 2 s.c o m * @param fieldname */ public Criteria(String fieldname) { this(new SimpleField(fieldname)); }
From source file:org.springframework.data.elasticsearch.core.query.Criteria.java
protected Criteria(List<Criteria> criteriaChain, String fieldname) { this(criteriaChain, new SimpleField(fieldname)); }
From source file:org.springframework.data.elasticsearch.core.query.Criteria.java
/** * Static factory method to create a new Criteria for field with given name * //from w w w.j a v a2 s .c o m * @param field * @return */ public static Criteria where(String field) { return where(new SimpleField(field)); }
From source file:org.springframework.data.elasticsearch.core.query.Criteria.java
/** * Chain using {@code OR} * * @param fieldName * @return */ public Criteria or(String fieldName) { return or(new SimpleField(fieldName)); }