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 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
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
static TimeRetentionPolicyConfig
fromXContent
(org.elasticsearch.xcontent.XContentParser parser) getField()
org.elasticsearch.core.TimeValue
getName()
Returns the name of the writeable objectint
hashCode()
org.elasticsearch.xcontent.XContentBuilder
toXContent
(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, wait
Methods 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:
toXContent
in interfaceorg.elasticsearch.xcontent.ToXContent
- Throws:
IOException
-
getField
-
getMaxAge
public org.elasticsearch.core.TimeValue getMaxAge() -
equals
-
hashCode
public int hashCode() -
getName
Description copied from interface:RetentionPolicyConfig
Returns the name of the writeable object- Specified by:
getName
in interfaceRetentionPolicyConfig
-
builder
-