Record Class EvaluationError.QueryTooDeep
java.lang.Object
java.lang.Record
ca.marcusdunn.jsonlens.path.evaluator.EvaluationError.QueryTooDeep
- Record Components:
limit- the limit
- All Implemented Interfaces:
EvaluationError
- Enclosing interface:
EvaluationError
public static record EvaluationError.QueryTooDeep(int limit)
extends Record
implements EvaluationError
The query has more nested expressions than
JsonPathEvaluator.MAX_QUERY_DEPTH.-
Nested Class Summary
Nested classes/interfaces inherited from interface EvaluationError
EvaluationError.ExtensionResultMismatch, EvaluationError.IntegerOutOfRange, EvaluationError.NodelistTooLarge, EvaluationError.QueryTooDeep, EvaluationError.RegexTooComplex, EvaluationError.SignatureMismatch, EvaluationError.UnknownFunction -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intlimit()Returns the value of thelimitrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from interface EvaluationError
message
-
Constructor Details
-
QueryTooDeep
public QueryTooDeep(int limit) Creates an instance of aQueryTooDeeprecord class.- Parameters:
limit- the value for thelimitrecord 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. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
limit
-