Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithSQLStyle ¶
func WithSQLStyle(sqlStyle SQL_STYLE) func(s *SqlConvertor)
func WithSchema ¶
func WithSchema(mappings *esMapping.PropertyMapping) func(s *SqlConvertor)
func WithTokenizer ¶
func WithTokenizer(field string, tokenizer Tokenizer) func(s *SqlConvertor)
Types ¶
type SQL ¶
type SQL struct {
// contains filtered or unexported fields
}
func (*SQL) AddAndClause ¶
func (*SQL) AddORClause ¶
func (*SQL) AddSubClause ¶
type SqlConvertor ¶
type SqlConvertor struct {
// contains filtered or unexported fields
}
func NewSqlConvertor ¶
func NewSqlConvertor(options ...func(s *SqlConvertor)) *SqlConvertor
func (*SqlConvertor) LuceneToSql ¶
func (c *SqlConvertor) LuceneToSql(query string) (string, error)
Click to show internal directories.
Click to hide internal directories.