Class

com.salesforce.op.aggregators

GenericFeatureAggregator

Related Doc: package aggregators

Permalink

case class GenericFeatureAggregator[I, E <: FeatureType, A, O <: FeatureType](extractFn: (I) ⇒ E, aggregator: MonoidAggregator[Event[E], A, O], isResponse: Boolean, specialTimeWindow: Option[Duration])(implicit evidence$1: scala.reflect.api.JavaUniverse.WeakTypeTag[E], evidence$2: scala.reflect.api.JavaUniverse.WeakTypeTag[O]) extends FeatureAggregator[I, E, A, O] with Product with Serializable

Generic Feature Aggregator

I

the type of the raw data from which the feature will be extracted

E

the type of the data extracted into the event to be aggregated

A

the type of the data that has been prepared for monoid aggregation

O

the final type of the feature returned

extractFn

function defining how to extract feature from the raw data type

aggregator

monoid defining how feature should be aggregated

isResponse

boolean describing whether feature is a response or predictor for aggregation purposes

specialTimeWindow

time window for integration specific to this feature (will override time windows defined by reader)

Linear Supertypes
Product, Equals, FeatureAggregator[I, E, A, O], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GenericFeatureAggregator
  2. Product
  3. Equals
  4. FeatureAggregator
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GenericFeatureAggregator(extractFn: (I) ⇒ E, aggregator: MonoidAggregator[Event[E], A, O], isResponse: Boolean, specialTimeWindow: Option[Duration])(implicit arg0: scala.reflect.api.JavaUniverse.WeakTypeTag[E], arg1: scala.reflect.api.JavaUniverse.WeakTypeTag[O])

    Permalink

    extractFn

    function defining how to extract feature from the raw data type

    aggregator

    monoid defining how feature should be aggregated

    isResponse

    boolean describing whether feature is a response or predictor for aggregation purposes

    specialTimeWindow

    time window for integration specific to this feature (will override time windows defined by reader)

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. val aggregator: MonoidAggregator[Event[E], A, O]

    Permalink

    monoid defining how feature should be aggregated

    monoid defining how feature should be aggregated

    Definition Classes
    GenericFeatureAggregatorFeatureAggregator
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. final def extract(records: Iterable[I], timeStampFn: Option[(I) ⇒ Long], cutOffTime: CutOffTime, responseWindow: Option[Duration] = None, predictorWindow: Option[Duration] = None): O

    Permalink
    Definition Classes
    FeatureAggregator
  9. val extractFn: (I) ⇒ E

    Permalink

    function defining how to extract feature from the raw data type

    function defining how to extract feature from the raw data type

    Definition Classes
    GenericFeatureAggregatorFeatureAggregator
  10. final def filterByDateWithCutoff(date: Long, cutOffTime: CutOffTime, isResponse: Boolean, timeWindow: Option[Duration]): Boolean

    Permalink
  11. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    Any
  14. val isResponse: Boolean

    Permalink

    boolean describing whether feature is a response or predictor for aggregation purposes

    boolean describing whether feature is a response or predictor for aggregation purposes

    Definition Classes
    GenericFeatureAggregatorFeatureAggregator
  15. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  18. val specialTimeWindow: Option[Duration]

    Permalink

    time window for integration specific to this feature (will override time windows defined by reader)

  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. final def wait(): Unit

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

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

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

Inherited from Product

Inherited from Equals

Inherited from FeatureAggregator[I, E, A, O]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped