Record Class ResultSegments
java.lang.Object
java.lang.Record
org.apache.cayenne.query.ResultSegments
- Record Components:
segments- result set segments in the order of their columnsarray- whether a result row is an Object[]. If false, there must be exactly one segment
A query result set mapping. Describes how a result set row is split into segments, and whether a result row is
an Object[] with one element per segment, or a single object of the only segment.
- Since:
- 5.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionResultSegments(List<ResultSegment> segments, boolean array) Creates an instance of aResultSegmentsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanarray()Returns the value of thearrayrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.segments()Returns the value of thesegmentsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
segments
-
array
-