Class/Object

ai.chronon.online

Fetcher

Related Docs: object Fetcher | package online

Permalink

class Fetcher extends FetcherBase

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

Instance Constructors

  1. new Fetcher(kvStore: KVStore, metaDataSet: String, timeoutMillis: Long = 10000, logFunc: Consumer[LoggableResponse] = null, debug: Boolean = false, externalSourceRegistry: ExternalSourceRegistry = null)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def buildJoinCodec(joinConf: Join): JoinCodec

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def convertStatsResponseToSeriesResponse(joinRequest: StatsRequest, rawResponses: Future[Seq[StatsResponse]]): Future[SeriesStatsResponse]

    Permalink

    Given a sequence of stats responses for different time intervals, re arrange it into a map containing the time series for each statistic.

  8. val dataset: String

    Permalink
    Definition Classes
    MetadataStore
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. implicit val executionContext: ExecutionContext

    Permalink
    Definition Classes
    MetadataStore
  12. val externalSourceRegistry: ExternalSourceRegistry

    Permalink
  13. def fetchColumns(columnSpecs: Seq[ColumnSpec]): Future[Map[ColumnSpec, Response]]

    Permalink

    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

    Definition Classes
    FetcherBase
  14. def fetchConsistencyMetricsTimeseries(joinRequest: StatsRequest): Future[SeriesStatsResponse]

    Permalink
  15. def fetchExternal(joinRequests: Seq[Request]): Future[Seq[Response]]

    Permalink
  16. def fetchGroupBys(requests: Seq[Request]): Future[Seq[Response]]

    Permalink
    Definition Classes
    FetcherBase
  17. def fetchJoin(requests: Seq[Request]): Future[Seq[Response]]

    Permalink
    Definition Classes
    FetcherFetcherBase
  18. def fetchLogStatsTimeseries(joinRequest: StatsRequest): Future[SeriesStatsResponse]

    Permalink
  19. def fetchStats(joinRequest: StatsRequest): Future[Seq[StatsResponse]]

    Permalink

    Fetch all stats IRs available between startTs and endTs.

    Fetch all stats IRs available between startTs and endTs.

    Stats are stored in a single dataname for all joins. For each join TimedValues are obtained and filtered as needed.

  20. def fetchStatsTimeseries(joinRequest: StatsRequest): Future[SeriesStatsResponse]

    Permalink

    Main endpoint for fetching statistics over time available.

  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def getConf[T <: TBase[_, _]](confPathOrName: String)(implicit arg0: Manifest[T]): Try[T]

    Permalink
    Definition Classes
    MetadataStore
  24. lazy val getGroupByServingInfo: TTLCache[String, Try[GroupByServingInfoParsed]]

    Permalink
    Definition Classes
    MetadataStore
  25. lazy val getJoinCodecs: TTLCache[String, Try[JoinCodec]]

    Permalink
  26. lazy val getJoinConf: TTLCache[String, Try[JoinOps]]

    Permalink
    Definition Classes
    MetadataStore
  27. def getSchemaFromKVStore(dataset: String, key: String): AvroCodec

    Permalink
    Definition Classes
    MetadataStore
  28. lazy val getStatsSchemaFromKVStore: TTLCache[(String, String), AvroCodec]

    Permalink
    Definition Classes
    MetadataStore
  29. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. val kvStore: KVStore

    Permalink
  32. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. def parseName(path: String): Option[String]

    Permalink
    Definition Classes
    MetadataStore
  36. def pathToKey(confPath: String): String

    Permalink
    Definition Classes
    MetadataStore
  37. def putConf(configPath: String): Future[Seq[Boolean]]

    Permalink
    Definition Classes
    MetadataStore
  38. def putJoinConf(join: Join): Unit

    Permalink
    Definition Classes
    MetadataStore
  39. def reportKvResponse(ctx: Context, response: Seq[TimedValue], queryTsMillis: Long, latencyMillis: Long, totalResponseBytes: Int): Unit

    Permalink
    Definition Classes
    FetcherBase
  40. def setPartitionMeta(format: String): Unit

    Permalink
    Definition Classes
    MetadataStore
  41. def setPartitionMeta(format: String, spanMillis: Long): Unit

    Permalink
    Definition Classes
    MetadataStore
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  43. def toBatchIr(bytes: Array[Byte], gbInfo: GroupByServingInfoParsed): FinalBatchIr

    Permalink
    Definition Classes
    FetcherBase
  44. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  45. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from FetcherBase

Inherited from MetadataStore

Inherited from AnyRef

Inherited from Any

Ungrouped