Class QueryBuilders.TermQueryBuilder

    • Field Summary

      Modifier and Type Field Description
      private java.lang.String fieldName  
      private java.lang.Object value  
    • Constructor Summary

      Modifier Constructor Description
      private TermQueryBuilder​(java.lang.String fieldName, java.lang.Object value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void writeJson​(com.fasterxml.jackson.core.JsonGenerator generator)
      Convert existing query to JSON format using jackson API.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • fieldName

        private final java.lang.String fieldName
      • value

        private final java.lang.Object value
    • Constructor Detail

      • TermQueryBuilder

        private TermQueryBuilder​(java.lang.String fieldName,
                                 java.lang.Object value)
    • Method Detail

      • writeJson

        void writeJson​(com.fasterxml.jackson.core.JsonGenerator generator)
        Description copied from class: QueryBuilders.QueryBuilder
        Convert existing query to JSON format using jackson API.
        Specified by:
        writeJson in class QueryBuilders.QueryBuilder
        generator - used to generate JSON elements
        Throws: - if IO error occurred