struct Query::Parser::Query
- Query::Parser::Query
- Struct
- Value
- Object
Defined in:
query/parser.crConstructors
Instance Method Summary
- #index : String
- #index=(index : String)
- #match : MatchType
- #match=(match : MatchType)
- #operator : OperatorType
- #operator=(operator : OperatorType)
- #terms : Array(Term)
- #terms=(terms : Array(Term))
-
#to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
Constructor Detail
def self.new(index : String, match : MatchType, terms : Array(Term), operator : OperatorType = OperatorType::AND)
#
Instance Method Detail
def to_s
#
Description copied from class Object
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO)
which can be overridden for custom implementations.
Also see #inspect
.