class FetcherBase extends MetadataStore with FetcherCache

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FetcherBase
  2. FetcherCache
  3. MetadataStore
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new FetcherBase(kvStore: KVStore, metaDataSet: String = ChrononMetadataKey, timeoutMillis: Long = 10000, debug: Boolean = false, flagStore: FlagStore = null, disableErrorThrows: Boolean = false, executionContextOverride: ExecutionContext = null)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val batchIrCacheName: String
    Definition Classes
    FetcherCache
  6. val caffeineMetricsContext: Context
    Attributes
    protected
    Definition Classes
    FetcherCache
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. val dataset: String
    Definition Classes
    MetadataStore
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. implicit val executionContext: ExecutionContext
    Definition Classes
    MetadataStore
  12. def fetchColumns(columnSpecs: Seq[ColumnSpec]): Future[Map[ColumnSpec, Response]]

    Fetch method to simulate a random access interface for Chronon by distributing requests to relevant GroupBys.

    Fetch method to simulate a random access interface for Chronon by distributing requests to relevant GroupBys. This is a batch API which allows the caller to provide a sequence of ColumnSpec queries and receive a mapping of results.

    TODO: Metrics TODO: Collection identifier for metrics TODO: Consider removing prefix interface for this method TODO: Consider using simpler response type since mapping is redundant

    columnSpecs

    – batch of ColumnSpec queries

    returns

    Future map of query to GroupBy response

  13. def fetchGroupBys(requests: Seq[Request]): Future[Seq[Response]]
  14. def fetchJoin(requests: Seq[Request], joinConf: Option[Join] = None): Future[Seq[Response]]
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. def getCachedRequests(groupByRequestToKvRequest: Seq[(Request, Try[GroupByRequestMeta])]): Map[GetRequest, CachedBatchResponse]

    Given a list of GetRequests, return a map of GetRequests to cached FinalBatchIrs.

    Given a list of GetRequests, return a map of GetRequests to cached FinalBatchIrs.

    Definition Classes
    FetcherCache
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getConf[T <: TBase[_, _]](confPathOrName: String)(implicit arg0: Manifest[T]): Try[T]
    Definition Classes
    MetadataStore
  19. def getEntityListByTeam[T <: TBase[_, _]](team: String)(implicit arg0: Manifest[T]): Try[Seq[String]]
    Definition Classes
    MetadataStore
  20. lazy val getGroupByListByTeam: TTLCache[String, Try[Seq[String]]]
    Definition Classes
    MetadataStore
  21. lazy val getGroupByServingInfo: TTLCache[String, Try[GroupByServingInfoParsed]]
    Definition Classes
    MetadataStore
  22. lazy val getJoinConf: TTLCache[String, Try[JoinOps]]
    Definition Classes
    MetadataStore
  23. lazy val getJoinListByTeam: TTLCache[String, Try[Seq[String]]]
    Definition Classes
    MetadataStore
  24. def getSchemaFromKVStore(dataset: String, key: String): AvroCodec
    Definition Classes
    MetadataStore
  25. lazy val getStatsSchemaFromKVStore: TTLCache[(String, String), AvroCodec]
    Definition Classes
    MetadataStore
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def isCacheSizeConfigured: Boolean
    Definition Classes
    FetcherCache
  28. def isCachingEnabled(groupBy: GroupBy): Boolean
    Definition Classes
    FetcherBaseFetcherCache
  29. def isEntityValidityCheckEnabled: Boolean
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. implicit lazy val logger: Logger
    Definition Classes
    MetadataStore
    Annotations
    @transient()
  32. val maybeBatchIrCache: Option[BatchIrCache]
    Definition Classes
    FetcherCache
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. def put(kVPairs: Map[String, Seq[String]], datasetName: String = ChrononMetadataKey, batchSize: Int = CONF_BATCH_SIZE): Future[Seq[Boolean]]
    Definition Classes
    MetadataStore
  37. def putJoinConf(join: Join): Unit
    Definition Classes
    MetadataStore
  38. def reportKvResponse(ctx: Context, response: Seq[TimedValue], queryTsMillis: Long, latencyMillis: Long, totalResponseBytes: Int): Unit
  39. def setPartitionMeta(format: String): Unit
    Definition Classes
    MetadataStore
  40. def setPartitionMeta(format: String, spanMillis: Long): Unit
    Definition Classes
    MetadataStore
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. def toBatchIr(bytes: Array[Byte], gbInfo: GroupByServingInfoParsed): FinalBatchIr

    Convert an array of bytes to a FinalBatchIr.

  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. def validateGroupByExist(team: String, name: String): Boolean
    Definition Classes
    MetadataStore
  45. def validateJoinExist(team: String, name: String): Boolean
    Definition Classes
    MetadataStore
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from FetcherCache

Inherited from MetadataStore

Inherited from AnyRef

Inherited from Any

Ungrouped