java.lang.Object
org.elasticsearch.xpack.core.XPackFeatureUsage
org.elasticsearch.xpack.core.esql.EsqlFeatureSetUsage
- All Implemented Interfaces:
NamedWriteable,VersionedNamedWriteable,Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from class org.elasticsearch.xpack.core.XPackFeatureUsage
available, enabled, nameFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinnerXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) stats()static EsqlFeatureSetUsageReturns a feature set usage where the feature is not available or enabled, and has an empty stats.voidwriteTo(StreamOutput out) Methods inherited from class org.elasticsearch.xpack.core.XPackFeatureUsage
available, enabled, getWriteableName, name, toXContentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
EsqlFeatureSetUsage
- Throws:
IOException
-
EsqlFeatureSetUsage
-
-
Method Details
-
stats
-
innerXContent
protected void innerXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Overrides:
innerXContentin classXPackFeatureUsage- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classXPackFeatureUsage- Throws:
IOException
-
getMinimalSupportedVersion