public class WriteQueryVisitor extends AbstractVisitor implements QueryVisitor
version, writer| Constructor and Description |
|---|
WriteQueryVisitor(com.fasterxml.jackson.core.JsonGenerator writer,
VersionComponents version) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
enterBoolQuery(BoolQuery bool) |
boolean |
enterExistsQuery(ExistsQuery exists) |
boolean |
enterFuzzyQuery(FuzzyQuery fuzzy) |
boolean |
enterGeoBoundingBoxQuery(GeoBoundingBoxQuery geoBoundingBox) |
boolean |
enterGeoDistanceQuery(GeoDistanceQuery geoDistance) |
boolean |
enterGeoPolygonQuery(GeoPolygonQuery geoPolygon) |
boolean |
enterGeoShapeQuery(GeoShapeQuery geoshape) |
boolean |
enterIdsQuery(IdsQuery ids) |
boolean |
enterMatchQuery(MatchQuery match) |
boolean |
enterMoreLikeThisQuery(MoreLikeThisQuery moreLikeThis) |
boolean |
enterPrefixQuery(PrefixQuery prefix) |
boolean |
enterQueryStringQuery(QueryStringQuery qs) |
boolean |
enterRangeQuery(RangeQuery range) |
boolean |
enterRegexpQuery(RegexpQuery regexp) |
boolean |
enterTermsQuery(TermsQuery terms) |
boolean |
enterWildcardQuery(WildcardQuery wildcard) |
writeArrayOf, writeFieldValue, writeFieldValue, writeFieldWithValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenter, leave, leaveBoolQuery, leaveExistsQuery, leaveFuzzyQuery, leaveGeoBoundingBoxQuery, leaveGeoDistanceQuery, leaveGeoPolygonQuery, leaveGeoShapeQuery, leaveIdsQuery, leaveMatchQuery, leaveMoreLikeThisQuery, leavePrefixQuery, leaveQueryStringQuery, leaveRangeQuery, leaveRegexpQuery, leaveTermsQuery, leaveWildcardQuerypublic WriteQueryVisitor(com.fasterxml.jackson.core.JsonGenerator writer,
VersionComponents version)
public boolean enterBoolQuery(BoolQuery bool)
enterBoolQuery in interface QueryVisitorpublic boolean enterExistsQuery(ExistsQuery exists)
enterExistsQuery in interface QueryVisitorpublic boolean enterFuzzyQuery(FuzzyQuery fuzzy)
enterFuzzyQuery in interface QueryVisitorpublic boolean enterGeoBoundingBoxQuery(GeoBoundingBoxQuery geoBoundingBox)
enterGeoBoundingBoxQuery in interface QueryVisitorpublic boolean enterGeoDistanceQuery(GeoDistanceQuery geoDistance)
enterGeoDistanceQuery in interface QueryVisitorpublic boolean enterGeoPolygonQuery(GeoPolygonQuery geoPolygon)
enterGeoPolygonQuery in interface QueryVisitorpublic boolean enterGeoShapeQuery(GeoShapeQuery geoshape)
enterGeoShapeQuery in interface QueryVisitorpublic boolean enterIdsQuery(IdsQuery ids)
enterIdsQuery in interface QueryVisitorpublic boolean enterMatchQuery(MatchQuery match)
enterMatchQuery in interface QueryVisitorpublic boolean enterMoreLikeThisQuery(MoreLikeThisQuery moreLikeThis)
enterMoreLikeThisQuery in interface QueryVisitorpublic boolean enterPrefixQuery(PrefixQuery prefix)
enterPrefixQuery in interface QueryVisitorpublic boolean enterQueryStringQuery(QueryStringQuery qs)
enterQueryStringQuery in interface QueryVisitorpublic boolean enterRangeQuery(RangeQuery range)
enterRangeQuery in interface QueryVisitorpublic boolean enterRegexpQuery(RegexpQuery regexp)
enterRegexpQuery in interface QueryVisitorpublic boolean enterTermsQuery(TermsQuery terms)
enterTermsQuery in interface QueryVisitorpublic boolean enterWildcardQuery(WildcardQuery wildcard)
enterWildcardQuery in interface QueryVisitor