Package io.keikai.axyra.sheets
Record Class PivotValueFilter
java.lang.Object
java.lang.Record
io.keikai.axyra.sheets.PivotValueFilter
- Record Components:
dataField- 0-based position of the values-area field supplying the aggregatestype- the comparisonvalue1- the threshold (the lower bound forPivotValueFilterType.BETWEEN)value2- the upper bound forPivotValueFilterType.BETWEEN;0otherwise
public record PivotValueFilter(int dataField, PivotValueFilterType type, double value1, double value2)
extends Record
A value filter on a pivot row/column field, read back via
PivotTableView.valueFilter(String).-
Constructor Summary
ConstructorsConstructorDescriptionPivotValueFilter(int dataField, PivotValueFilterType type, double value1, double value2) Creates an instance of aPivotValueFilterrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thedataFieldrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.doublevalue1()Returns the value of thevalue1record component.doublevalue2()Returns the value of thevalue2record component.
-
Constructor Details
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
dataField
public int dataField()Returns the value of thedataFieldrecord component.- Returns:
- the value of the
dataFieldrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
value1
public double value1()Returns the value of thevalue1record component.- Returns:
- the value of the
value1record component
-
value2
public double value2()Returns the value of thevalue2record component.- Returns:
- the value of the
value2record component
-