Package app.babylon.table.transform
Record Class TransformConcat.Part
java.lang.Object
java.lang.Record
app.babylon.table.transform.TransformConcat.Part
- Enclosing class:
TransformConcat
public static record TransformConcat.Part(ColumnName columnName, String literalValue)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPart(ColumnName columnName, String literalValue) Creates an instance of aPartrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic TransformConcat.Partcolumn(ColumnName columnName) Returns the value of thecolumnNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisColumn()static TransformConcat.PartReturns the value of theliteralValuerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Part
Creates an instance of aPartrecord class.- Parameters:
columnName- the value for thecolumnNamerecord componentliteralValue- the value for theliteralValuerecord component
-
-
Method Details
-
column
-
literal
-
isColumn
public boolean isColumn() -
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. All components in this record class are compared withObjects::equals(Object,Object). -
columnName
Returns the value of thecolumnNamerecord component.- Returns:
- the value of the
columnNamerecord component
-
literalValue
Returns the value of theliteralValuerecord component.- Returns:
- the value of the
literalValuerecord component
-