Package org.umlg.sqlg.sql.parse
Record Class SqlgFunctionConfig
java.lang.Object
java.lang.Record
org.umlg.sqlg.sql.parse.SqlgFunctionConfig
-
Constructor Summary
ConstructorsConstructorDescriptionSqlgFunctionConfig
(String col, PropertyDefinition propertyDefinition, Function<Object, String> function) Creates an instance of aSqlgFunctionConfig
record class. -
Method Summary
Modifier and TypeMethodDescriptioncol()
Returns the value of thecol
record component.final boolean
Indicates whether some other object is "equal to" this one.function()
Returns the value of thefunction
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of thepropertyDefinition
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
SqlgFunctionConfig
public SqlgFunctionConfig(String col, PropertyDefinition propertyDefinition, Function<Object, String> function) Creates an instance of aSqlgFunctionConfig
record class.- Parameters:
col
- the value for thecol
record componentpropertyDefinition
- the value for thepropertyDefinition
record componentfunction
- the value for thefunction
record component
-
-
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
col
Returns the value of thecol
record component.- Returns:
- the value of the
col
record component
-
propertyDefinition
Returns the value of thepropertyDefinition
record component.- Returns:
- the value of the
propertyDefinition
record component
-
function
Returns the value of thefunction
record component.- Returns:
- the value of the
function
record component
-