Record Class JsonTableFunction.JsonTableArguments
java.lang.Object
java.lang.Record
org.hibernate.dialect.function.json.JsonTableFunction.JsonTableArguments
- Enclosing class:
JsonTableFunction
protected static record JsonTableFunction.JsonTableArguments(Expression jsonDocument, @Nullable Expression jsonPath, boolean isJsonType, @Nullable JsonPathPassingClause passingClause, @Nullable JsonTableErrorBehavior errorBehavior, JsonTableColumnsClause columnsClause)
extends Record
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsonTableArguments(Expression jsonDocument, @Nullable Expression jsonPath, boolean isJsonType, @Nullable JsonPathPassingClause passingClause, @Nullable JsonTableErrorBehavior errorBehavior, JsonTableColumnsClause columnsClause) Creates an instance of aJsonTableArgumentsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecolumnsClauserecord component.final booleanIndicates whether some other object is "equal to" this one.@Nullable JsonTableErrorBehaviorReturns the value of theerrorBehaviorrecord component.extract(List<? extends SqlAstNode> sqlAstArguments) final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisJsonTyperecord component.Returns the value of thejsonDocumentrecord component.@Nullable ExpressionjsonPath()Returns the value of thejsonPathrecord component.@Nullable JsonPathPassingClauseReturns the value of thepassingClauserecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
JsonTableArguments
protected JsonTableArguments(Expression jsonDocument, @Nullable Expression jsonPath, boolean isJsonType, @Nullable JsonPathPassingClause passingClause, @Nullable JsonTableErrorBehavior errorBehavior, JsonTableColumnsClause columnsClause) Creates an instance of aJsonTableArgumentsrecord class.- Parameters:
jsonDocument- the value for thejsonDocumentrecord componentjsonPath- the value for thejsonPathrecord componentisJsonType- the value for theisJsonTyperecord componentpassingClause- the value for thepassingClauserecord componenterrorBehavior- the value for theerrorBehaviorrecord componentcolumnsClause- the value for thecolumnsClauserecord component
-
-
Method Details
-
extract
public static JsonTableFunction.JsonTableArguments 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 '=='. -
jsonDocument
Returns the value of thejsonDocumentrecord component.- Returns:
- the value of the
jsonDocumentrecord component
-
jsonPath
Returns the value of thejsonPathrecord component.- Returns:
- the value of the
jsonPathrecord component
-
isJsonType
public boolean isJsonType()Returns the value of theisJsonTyperecord component.- Returns:
- the value of the
isJsonTyperecord component
-
passingClause
Returns the value of thepassingClauserecord component.- Returns:
- the value of the
passingClauserecord component
-
errorBehavior
Returns the value of theerrorBehaviorrecord component.- Returns:
- the value of the
errorBehaviorrecord component
-
columnsClause
Returns the value of thecolumnsClauserecord component.- Returns:
- the value of the
columnsClauserecord component
-