Module org.elasticsearch.xcore
Class DestAlias
java.lang.Object
org.elasticsearch.xpack.core.transform.transforms.DestAlias
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParseFieldstatic final ConstructingObjectParser<DestAlias, Void> static final ParseFieldstatic final ConstructingObjectParser<DestAlias, Void> Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic DestAliasfromXContent(XContentParser parser, boolean lenient) getAlias()inthashCode()booleantoXContent(XContentBuilder builder, ToXContent.Params params) validate(ActionRequestValidationException validationException) voidwriteTo(StreamOutput out) 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
-
ALIAS
-
MOVE_ON_CREATION
-
STRICT_PARSER
-
LENIENT_PARSER
-
-
Constructor Details
-
DestAlias
-
DestAlias
- Throws:
IOException
-
-
Method Details
-
getAlias
-
isMoveOnCreation
public boolean isMoveOnCreation() -
validate
public ActionRequestValidationException validate(ActionRequestValidationException validationException) -
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
fromXContent
- Throws:
IOException
-