Class: JayAPI::Elasticsearch::QueryBuilder::QueryClauses::QueryClause
- Inherits:
-
Object
- Object
- JayAPI::Elasticsearch::QueryBuilder::QueryClauses::QueryClause
- Defined in:
- lib/jay_api/elasticsearch/query_builder/query_clauses/query_clause.rb
Overview
This is the base class for all the query types that Elasticsearch can handle. See the subclasses for info on each of the query types.
Direct Known Subclasses
Bool, Exists, MatchAll, MatchNone, MatchPhrase, QueryString, Range, Regexp, Term, Terms, Wildcard
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
10 11 12 |
# File 'lib/jay_api/elasticsearch/query_builder/query_clauses/query_clause.rb', line 10 def to_h raise NotImplementedError, "Please implement the #to_h method in the #{self.class} class" end |