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
ConstructorsModifierConstructorDescriptionprotected
XmlTableArguments
(Expression xpath, Expression xmlDocument, boolean isXmlType, XmlTableColumnsClause columnsClause) Creates an instance of aXmlTableArguments
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecolumnsClause
record component.final boolean
Indicates whether some other object is "equal to" this one.extract
(List<? extends SqlAstNode> sqlAstArguments) final int
hashCode()
Returns a hash code value for this object.boolean
Returns the value of theisXmlType
record component.final String
toString()
Returns a string representation of this record class.Returns the value of thexmlDocument
record component.xpath()
Returns the value of thexpath
record component.
-
Constructor Details
-
XmlTableArguments
protected XmlTableArguments(Expression xpath, Expression xmlDocument, boolean isXmlType, XmlTableColumnsClause columnsClause) Creates an instance of aXmlTableArguments
record class.- Parameters:
xpath
- the value for thexpath
record componentxmlDocument
- the value for thexmlDocument
record componentisXmlType
- the value for theisXmlType
record componentcolumnsClause
- the value for thecolumnsClause
record 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 thexpath
record component.- Returns:
- the value of the
xpath
record component
-
xmlDocument
Returns the value of thexmlDocument
record component.- Returns:
- the value of the
xmlDocument
record component
-
isXmlType
public boolean isXmlType()Returns the value of theisXmlType
record component.- Returns:
- the value of the
isXmlType
record component
-
columnsClause
Returns the value of thecolumnsClause
record component.- Returns:
- the value of the
columnsClause
record component
-