org.locationtech.geomesa.index.stats
Stores stats as metadata entries
Stores stats as metadata entries
Stat writer implementation
Stat writer implementation
Write stats
Write stats
simple feature type name
stats to write
Estimates the count for a given filter, based off the per-attribute metadata we have stored
Estimates the count for a given filter, based off the per-attribute metadata we have stored
simple feature type
filter to apply - should have been run through QueryPlanFilterVisitor so all props are right
estimated count, if available
Get the bounds for data that will be returned for a query
Get the bounds for data that will be returned for a query
simple feature type
cql filter
rough estimate, or precise bounds. note: precise bounds will likely be expensive.
bounds
Gets the number of features that will be returned for a query.
Gets the number of features that will be returned for a query. May return -1 if exact is false and estimate is unavailable.
simple feature type
cql filter
rough estimate, or precise count. note: precise count will likely be expensive.
count of features, if available - will always be Some if exact == true
Get an enumeration stat
Get an enumeration stat
attribute type - must correspond to attribute binding
simple feature type
attribute name to query
cql filter
rough estimates, or precise values. note: precise values will likely be expensive.
Get a frequency stat
Get a frequency stat
attribute type - must correspond to attribute binding
simple feature type
attribute name to query
precision of the estimate - @see org.locationtech.geomesa.utils.stats.Frequency
cql filter
rough estimates, or precise values. note: precise values will likely be expensive.
Get a histogram stat
Get a histogram stat
attribute type - must correspond to attribute binding
simple feature type
attribute name to query
number of buckets used to group values
minimum value used to create the initial histogram buckets
maximum value used to create the initial histogram buckets
cql filter
rough estimates, or precise values. note: precise values will likely be expensive.
Get the minimum and maximum values for the given attribute
Get the minimum and maximum values for the given attribute
attribute type - must correspond to attribute binding
simple feature type
attribute name to examine
cql filter
rough estimate, or precise values. note: precise values will likely be expensive.
mix/max values and overall cardinality. types will be consistent with the binding of the attribute
Gets arbitrary stats for multiple queries
Gets arbitrary stats for multiple queries
type bounds, must match stat query strings
simple feature type
stats strings
cql filter
rough estimate, or precise values. note: precise values will likely be expensive.
Get arbitrary stats
Get arbitrary stats
type bounds, must match stat query strings
simple feature type
stats string
cql filter
rough estimate, or precise values. note: precise values will likely be expensive.
stats, if any
Get a top k stat
Get a top k stat
attribute type - must correspond to attribute binding
simple feature type
attribute name to query
cql filter
rough estimates, or precise values. note: precise values will likely be expensive.
Get a Z3 histogram stat, where values are grouped based on combined geometry + date
Get a Z3 histogram stat, where values are grouped based on combined geometry + date
simple feature type
geometry attribute to query
date attribute to query
time period used to calculate bins for each value
number of buckets used to group values
cql filter
rough estimates, or precise values. note: precise values will likely be expensive.
Run an exact query against the data store
Run an exact query against the data store
stat type
simple feature type
filter
stat string
Gets a writer for updating stats
Gets a writer for updating stats
writer.clear
writer.analyze
getMinMax
getSeqStat(exact = false)
writer.rename
getStat/getSeqStat(exact = true)
writer.updater
Tracks stats via entries stored in metadata