Record Class EvaluationError.NodelistTooLarge
java.lang.Object
java.lang.Record
ca.marcusdunn.jsonlens.path.evaluator.EvaluationError.NodelistTooLarge
- Record Components:
limit- the limit
- All Implemented Interfaces:
EvaluationError
- Enclosing interface:
EvaluationError
public static record EvaluationError.NodelistTooLarge(int limit)
extends Record
implements EvaluationError
Overflow indication: a nodelist has more nodes than the limit (RFC 9535, Section 2.1).
-
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
ConstructorsConstructorDescriptionNodelistTooLarge(int limit) Creates an instance of aNodelistTooLargerecord class. -
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
-
NodelistTooLarge
public NodelistTooLarge(int limit) Creates an instance of aNodelistTooLargerecord 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
-