Package io.trino.sql.analyzer
Record Class Analysis.JsonTableAnalysis
java.lang.Object
java.lang.Record
io.trino.sql.analyzer.Analysis.JsonTableAnalysis
- Enclosing class:
Analysis
public static record Analysis.JsonTableAnalysis(CatalogHandle catalogHandle, ConnectorTransactionHandle transactionHandle, RowType parametersType, List<NodeRef<JsonTableColumnDefinition>> orderedOutputColumns)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionJsonTableAnalysis(CatalogHandle catalogHandle, ConnectorTransactionHandle transactionHandle, RowType parametersType, List<NodeRef<JsonTableColumnDefinition>> orderedOutputColumns) Creates an instance of aJsonTableAnalysisrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecatalogHandlerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theorderedOutputColumnsrecord component.Returns the value of theparametersTyperecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransactionHandlerecord component.
-
Constructor Details
-
JsonTableAnalysis
public JsonTableAnalysis(CatalogHandle catalogHandle, ConnectorTransactionHandle transactionHandle, RowType parametersType, List<NodeRef<JsonTableColumnDefinition>> orderedOutputColumns) Creates an instance of aJsonTableAnalysisrecord class.- Parameters:
catalogHandle- the value for thecatalogHandlerecord componenttransactionHandle- the value for thetransactionHandlerecord componentparametersType- the value for theparametersTyperecord componentorderedOutputColumns- the value for theorderedOutputColumnsrecord 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). -
catalogHandle
Returns the value of thecatalogHandlerecord component.- Returns:
- the value of the
catalogHandlerecord component
-
transactionHandle
Returns the value of thetransactionHandlerecord component.- Returns:
- the value of the
transactionHandlerecord component
-
parametersType
Returns the value of theparametersTyperecord component.- Returns:
- the value of the
parametersTyperecord component
-
orderedOutputColumns
Returns the value of theorderedOutputColumnsrecord component.- Returns:
- the value of the
orderedOutputColumnsrecord component
-