struct Query::Parser::Query

Defined in:

query/parser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(index : String, match : MatchType, terms : Array(Term), operator : OperatorType = OperatorType::AND) #

[View source]

Instance Method Detail

def index : String #

[View source]
def index=(index : String) #

[View source]
def match : MatchType #

[View source]
def match=(match : MatchType) #

[View source]
def operator : OperatorType #

[View source]
def operator=(operator : OperatorType) #

[View source]
def terms : Array(Term) #

[View source]
def terms=(terms : Array(Term)) #

[View source]
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.


[View source]