Record Class PageEncodingStats
java.lang.Object
java.lang.Record
dev.hardwood.metadata.PageEncodingStats
- Record Components:
pageType- the kind of page countedencoding- the encoding those pages were written withcount- the number of pages written with this page type and encoding
The number of pages a writer produced for one combination of page type and encoding within a column chunk.
A chunk's full set of these is available from ColumnMetaData.encodingStats(); the field is
optional in the format, so it may be absent. When present it is complete: the counts account
for every page in the chunk. A file that encodes the field in some other way than the format
defines reads as absent rather than as a partial list.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPageEncodingStats(PageType pageType, Encoding encoding, int count) Creates an instance of aPageEncodingStatsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintcount()Returns the value of thecountrecord component.encoding()Returns the value of theencodingrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.pageType()Returns the value of thepageTyperecord 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. -
pageType
-
encoding
-
count
-