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. val dataset: String

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

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

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

    Permalink
    Definition Classes
    MetadataStore
  11. val externalSourceRegistry: ExternalSourceRegistry

    Permalink
  12. 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
  13. def fetchExternal(joinRequests: Seq[Request]): Future[Seq[Response]]

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

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

    Permalink
    Definition Classes
    FetcherFetcherBase
  16. def fetchMergedStatsBetween(joinRequest: StatsRequest): Future[MergedStatsResponse]

    Permalink

    For a time interval determine the aggregated stats between an startTs and endTs.

    For a time interval determine the aggregated stats between an startTs and endTs. Particularly useful for determining data distributions between [startTs, endTs]

  17. 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.

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

    Permalink

    Main endpoint for fetching statistics over time available.

  19. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    MetadataStore
  22. def getConsistencyMetrics(joinConf: Join, fromDate: String): Future[Try[DataMetrics]]

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  28. val kvStore: KVStore

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

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

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

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

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

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

    Permalink
    Definition Classes
    MetadataStore
  35. def putConsistencyMetrics(joinConf: Join, metrics: DataMetrics): Unit

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. 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