Record Class WindowTransformField
java.lang.Object
java.lang.Record
smile.plot.vega.WindowTransformField
- Record Components:
op- The window or aggregation operation to apply within a window (e.g., "rank", "lead", "sum", "average" or "count").field- The data field for which to compute the aggregate or window function. This can be omitted for window functions that do not operate over a field such as "count", "rank", "dense_rank".param- Parameter values for the window functions. Parameter values can be omitted for operations that do not accept a parameter.as- The output name for the window operation.
-
Constructor Summary
ConstructorsConstructorDescriptionWindowTransformField(String op, String field, double param, String as) Creates an instance of aWindowTransformFieldrecord class. -
Method Summary
Modifier and TypeMethodDescriptionas()Returns the value of theasrecord component.final booleanIndicates whether some other object is "equal to" this one.field()Returns the value of thefieldrecord component.final inthashCode()Returns a hash code value for this object.op()Returns the value of theoprecord component.doubleparam()Returns the value of theparamrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
op
-
field
-
param
-
as
-