Class SearchStats.UnsupportedSearchStats
java.lang.Object
org.elasticsearch.xpack.esql.stats.SearchStats.UnsupportedSearchStats
- All Implemented Interfaces:
SearchStats
- Enclosing interface:
SearchStats
public abstract static class SearchStats.UnsupportedSearchStats
extends Object
implements SearchStats
A default implementat that throws
UnsupportedOperationException on all methods. Implemetors can override only the methods
they know would be called.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xpack.esql.stats.SearchStats
SearchStats.EmptySearchStats, SearchStats.UnsupportedSearchStats -
Field Summary
Fields inherited from interface org.elasticsearch.xpack.esql.stats.SearchStats
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongcount()longcount(FieldAttribute.FieldName field) longcount(FieldAttribute.FieldName field, org.apache.lucene.util.BytesRef value) booleanexists(FieldAttribute.FieldName field) booleanbooleanbooleanbooleanmax(FieldAttribute.FieldName field) min(FieldAttribute.FieldName field) booleansupportsLoaderConfig(FieldAttribute.FieldName name, BlockLoaderFunctionConfig config, MappedFieldType.FieldExtractPreference preference) Do all fields with the matching name support this loader config?Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xpack.esql.stats.SearchStats
constantValue, fieldType
-
Constructor Details
-
UnsupportedSearchStats
public UnsupportedSearchStats()
-
-
Method Details
-
exists
- Specified by:
existsin interfaceSearchStats
-
isIndexed
- Specified by:
isIndexedin interfaceSearchStats
-
hasDocValues
- Specified by:
hasDocValuesin interfaceSearchStats
-
hasExactSubfield
- Specified by:
hasExactSubfieldin interfaceSearchStats
-
supportsLoaderConfig
public boolean supportsLoaderConfig(FieldAttribute.FieldName name, BlockLoaderFunctionConfig config, MappedFieldType.FieldExtractPreference preference) Description copied from interface:SearchStatsDo all fields with the matching name support this loader config?- Specified by:
supportsLoaderConfigin interfaceSearchStats
-
count
public long count()- Specified by:
countin interfaceSearchStats
-
count
- Specified by:
countin interfaceSearchStats
-
count
- Specified by:
countin interfaceSearchStats
-
min
- Specified by:
minin interfaceSearchStats
-
max
- Specified by:
maxin interfaceSearchStats
-
isSingleValue
- Specified by:
isSingleValuein interfaceSearchStats
-
canUseEqualityOnSyntheticSourceDelegate
- Specified by:
canUseEqualityOnSyntheticSourceDelegatein interfaceSearchStats
-