Package org.rumbledb.context
Record Class ConstructorFunctionResolver.ResolvedConstructor
java.lang.Object
java.lang.Record
org.rumbledb.context.ConstructorFunctionResolver.ResolvedConstructor
- Enclosing class:
- ConstructorFunctionResolver
public static record ConstructorFunctionResolver.ResolvedConstructor(FunctionIdentifier identifier, FunctionSignature signature, boolean usesSchemaCaster)
extends Record
A resolved cast target and its function signature; it contains no runtime schema state.
-
Constructor Summary
ConstructorsConstructorDescriptionResolvedConstructor(FunctionIdentifier identifier, FunctionSignature signature, boolean usesSchemaCaster) Creates an instance of aResolvedConstructorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theidentifierrecord component.Returns the value of thesignaturerecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of theusesSchemaCasterrecord component.
-
Constructor Details
-
ResolvedConstructor
public ResolvedConstructor(FunctionIdentifier identifier, FunctionSignature signature, boolean usesSchemaCaster) Creates an instance of aResolvedConstructorrecord class.- Parameters:
identifier- the value for theidentifierrecord componentsignature- the value for thesignaturerecord componentusesSchemaCaster- the value for theusesSchemaCasterrecord component
-
-
Method Details
-
asBuiltinFunction
-
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 '=='. -
identifier
Returns the value of theidentifierrecord component.- Returns:
- the value of the
identifierrecord component
-
signature
Returns the value of thesignaturerecord component.- Returns:
- the value of the
signaturerecord component
-
usesSchemaCaster
public boolean usesSchemaCaster()Returns the value of theusesSchemaCasterrecord component.- Returns:
- the value of the
usesSchemaCasterrecord component
-