Class TimeRetentionPolicyConfig
java.lang.Object
org.elasticsearch.client.transform.transforms.TimeRetentionPolicyConfig
- All Implemented Interfaces:
RetentionPolicyConfig,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params -
Field Summary
FieldsFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanstatic TimeRetentionPolicyConfigfromXContent(org.elasticsearch.xcontent.XContentParser parser) getField()org.elasticsearch.core.TimeValuegetName()Returns the name of the writeable objectinthashCode()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
NAME
- See Also:
-
-
Method Details
-
fromXContent
public static TimeRetentionPolicyConfig fromXContent(org.elasticsearch.xcontent.XContentParser parser) -
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
getField
-
getMaxAge
public org.elasticsearch.core.TimeValue getMaxAge() -
equals
-
hashCode
public int hashCode() -
getName
Description copied from interface:RetentionPolicyConfigReturns the name of the writeable object- Specified by:
getNamein interfaceRetentionPolicyConfig
-
builder
-