
com.sksamuel.elastic4s.requests.common.FetchSourceContext.scala Maven / Gradle / Ivy
package com.sksamuel.elastic4s.requests.common
case class FetchSourceContext(fetchSource: Boolean,
includes: Set[String] = Set.empty,
excludes: Set[String] = Set.empty)
object FetchSourceContext {
def apply(fetchSource: Boolean,
includes: Array[String],
excludes: Array[String]): FetchSourceContext =
FetchSourceContext(fetchSource, includes.toSet, excludes.toSet)
def apply(fetchSource: Boolean, includes: Array[String]): FetchSourceContext =
FetchSourceContext(fetchSource, includes.toSet)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy