org.elasticsearch.cluster.metadata
Class AliasAction
java.lang.Object
org.elasticsearch.cluster.metadata.AliasAction
- All Implemented Interfaces:
- Streamable
public class AliasAction
- extends java.lang.Object
- implements Streamable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AliasAction
public AliasAction(AliasAction.Type actionType,
java.lang.String index,
java.lang.String alias)
actionType
public AliasAction.Type actionType()
index
public java.lang.String index()
alias
public java.lang.String alias()
readAliasAction
public static AliasAction readAliasAction(StreamInput in)
throws java.io.IOException
- Throws:
java.io.IOException
readFrom
public void readFrom(StreamInput in)
throws java.io.IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
java.io.IOException
writeTo
public void writeTo(StreamOutput out)
throws java.io.IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
java.io.IOException