All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sksamuel.elastic4s.requests.searches.queries.matches.ZeroTermsQuery.scala Maven / Gradle / Ivy

There is a newer version: 8.15.4
Show newest version
package com.sksamuel.elastic4s.requests.searches.queries.matches

sealed trait ZeroTermsQuery

object ZeroTermsQuery {
  def valueOf(str: String): ZeroTermsQuery = str.toLowerCase match {
    case "none" => None
    case "all" => All
  }
  case object All extends ZeroTermsQuery
  case object None extends ZeroTermsQuery

  def ALL: All.type = All
  def NONE: None.type = None
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy