Package io.trino.sql.routine
Record Class SqlRoutineAnalysis
java.lang.Object
java.lang.Record
io.trino.sql.routine.SqlRoutineAnalysis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalysis()Returns the value of theanalysisrecord component.Returns the value of theargumentsrecord component.booleanReturns the value of thecalledOnNullrecord component.comment()Returns the value of thecommentrecord component.booleanReturns the value of thedeterministicrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.Returns the value of thereturnTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SqlRoutineAnalysis
public SqlRoutineAnalysis(String name, Map<String, Type> arguments, Type returnType, boolean calledOnNull, boolean deterministic, Optional<String> comment, Analysis analysis) Creates an instance of aSqlRoutineAnalysisrecord class.- Parameters:
name- the value for thenamerecord componentarguments- the value for theargumentsrecord componentreturnType- the value for thereturnTyperecord componentcalledOnNull- the value for thecalledOnNullrecord componentdeterministic- the value for thedeterministicrecord componentcomment- the value for thecommentrecord componentanalysis- the value for theanalysisrecord component
-
-
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 '=='. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
arguments
-
returnType
Returns the value of thereturnTyperecord component.- Returns:
- the value of the
returnTyperecord component
-
calledOnNull
public boolean calledOnNull()Returns the value of thecalledOnNullrecord component.- Returns:
- the value of the
calledOnNullrecord component
-
deterministic
public boolean deterministic()Returns the value of thedeterministicrecord component.- Returns:
- the value of the
deterministicrecord component
-
comment
-
analysis
Returns the value of theanalysisrecord component.- Returns:
- the value of the
analysisrecord component
-