case class SlidingWindowFeature(name: String, agg: AggregationSpec, windowSpec: WindowSpec, filterCondition: Option[String] = None, groupBy: Option[GroupBySpec] = None, lateralView: Option[LateralViewParams] = None) extends Serializable with Product
Defines a sliding window aggregated feature
- name
Name of the feature. Used to uniquely identify a column in the DataFrame
- agg
An AggregationSpec for the sliding window aggregated feature
- windowSpec
A WindowSpec for the sliding window aggregated feature
- filterCondition
Filter condition to determine if a given record should be considered in the sliding window aggregation. The String value should represent a Spark SQL column expression
- groupBy
An optional GroupBySpec for the sliding window aggregated feature
- Alphabetic
- By Inheritance
- SlidingWindowFeature
- Product
- Equals
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
SlidingWindowFeature(name: String, agg: AggregationSpec, windowSpec: WindowSpec, filterCondition: Option[String] = None, groupBy: Option[GroupBySpec] = None, lateralView: Option[LateralViewParams] = None)
- name
Name of the feature. Used to uniquely identify a column in the DataFrame
- agg
An AggregationSpec for the sliding window aggregated feature
- windowSpec
A WindowSpec for the sliding window aggregated feature
- filterCondition
Filter condition to determine if a given record should be considered in the sliding window aggregation. The String value should represent a Spark SQL column expression
- groupBy
An optional GroupBySpec for the sliding window aggregated feature
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val agg: AggregationSpec
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val filterCondition: Option[String]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val groupBy: Option[GroupBySpec]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lateralView: Option[LateralViewParams]
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val windowSpec: WindowSpec