Class TextFormatStats

java.lang.Object
org.elasticsearch.xpack.esql.datasources.cache.TextFormatStats

public final class TextFormatStats extends Object
Builds a SourceStatistics from a cached ExternalStats.Stats for the line-oriented text-format readers (CSV / TSV / NDJSON).

Cache miss → row count + column statistics absent; sizeInBytes still published when derivable from StorageObject.length(). Cache hit → row count populated, plus stream-derived bytesRead fed into sizeInBytes when length() was unknown at the time of metadata resolution (stream-only compression sources), plus per-column statistics for every column whose name resolves to an attribute in the schema.