Record Class XmlTableFunction.XmlTableArguments
java.lang.Object
java.lang.Record
org.hibernate.dialect.function.xml.XmlTableFunction.XmlTableArguments
- Enclosing class:
XmlTableFunction
protected static record XmlTableFunction.XmlTableArguments(Expression xpath, Expression xmlDocument, boolean isXmlType, XmlTableColumnsClause columnsClause)
extends Record
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedXmlTableArguments(Expression xpath, Expression xmlDocument, boolean isXmlType, XmlTableColumnsClause columnsClause) Creates an instance of aXmlTableArgumentsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecolumnsClauserecord component.final booleanIndicates whether some other object is "equal to" this one.extract(List<? extends SqlAstNode> sqlAstArguments) final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisXmlTyperecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thexmlDocumentrecord component.xpath()Returns the value of thexpathrecord component.
-
Constructor Details
-
XmlTableArguments
protected XmlTableArguments(Expression xpath, Expression xmlDocument, boolean isXmlType, XmlTableColumnsClause columnsClause) Creates an instance of aXmlTableArgumentsrecord class.- Parameters:
xpath- the value for thexpathrecord componentxmlDocument- the value for thexmlDocumentrecord componentisXmlType- the value for theisXmlTyperecord componentcolumnsClause- the value for thecolumnsClauserecord component
-
-
Method Details
-
extract
public static XmlTableFunction.XmlTableArguments extract(List<? extends SqlAstNode> sqlAstArguments) -
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 '=='. -
xpath
Returns the value of thexpathrecord component.- Returns:
- the value of the
xpathrecord component
-
xmlDocument
Returns the value of thexmlDocumentrecord component.- Returns:
- the value of the
xmlDocumentrecord component
-
isXmlType
public boolean isXmlType()Returns the value of theisXmlTyperecord component.- Returns:
- the value of the
isXmlTyperecord component
-
columnsClause
Returns the value of thecolumnsClauserecord component.- Returns:
- the value of the
columnsClauserecord component
-