MaybeStatistics

com.phasmidsoftware.tableparser.core.table.MaybeStatistics

Sealed trait representing statistics that may be eager or lazy. Eager statistics are computed upfront (from Parquet metadata). Lazy statistics are deferred as a thunk (computed on demand).

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class EagerStatistics(stats: Statistics)

Eager statistics, computed upfront (typically from Parquet metadata).

Eager statistics, computed upfront (typically from Parquet metadata).

Value parameters

stats

the computed Statistics.

Attributes

final case class LazyStatistics(compute: () => Option[Statistics])

Lazy statistics, deferred as a thunk for later evaluation. Useful for expensive computations (e.g., column scan) that you may not need.

Lazy statistics, deferred as a thunk for later evaluation. Useful for expensive computations (e.g., column scan) that you may not need.

Value parameters

compute

a function that computes the Statistics when called.

Attributes