Module org.elasticsearch.xcore
Class RollupFeatureSetUsage
java.lang.Object
org.elasticsearch.xpack.core.XPackFeatureUsage
org.elasticsearch.xpack.core.rollup.RollupFeatureSetUsage
- 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
ConstructorsConstructorDescriptionRollupFeatureSetUsage(int numberOfRollupJobs) RollupFeatureSetUsage(StreamInput input) -
Method Summary
Modifier and TypeMethodDescriptionintprotected voidinnerXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) 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
isFragmentMethods inherited from interface org.elasticsearch.common.io.stream.VersionedNamedWriteable
supportsVersion
-
Constructor Details
-
RollupFeatureSetUsage
- Throws:
IOException
-
RollupFeatureSetUsage
public RollupFeatureSetUsage(int numberOfRollupJobs)
-
-
Method Details
-
getNumberOfRollupJobs
public int getNumberOfRollupJobs() -
writeTo
- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classXPackFeatureUsage- Throws:
IOException
-
innerXContent
protected void innerXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Overrides:
innerXContentin classXPackFeatureUsage- Throws:
IOException
-
getMinimalSupportedVersion
-