org.elasticsearch.index
Class Index
java.lang.Object
org.elasticsearch.index.Index
- All Implemented Interfaces:
- Serializable, Streamable
public class Index
- extends Object
- implements Serializable, Streamable
- See Also:
- Serialized Form
Index
public Index(String name)
name
public String name()
getName
public String getName()
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
readIndexName
public static Index readIndexName(StreamInput in)
throws IOException
- Throws:
IOException
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.