org.elasticsearch.index
Class Index

java.lang.Object
  extended by org.elasticsearch.index.Index
All Implemented Interfaces:
java.io.Serializable, Streamable

@Immutable
public class Index
extends java.lang.Object
implements java.io.Serializable, Streamable

See Also:
Serialized Form

Constructor Summary
Index(java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getName()
           
 int hashCode()
           
 java.lang.String name()
           
 void readFrom(StreamInput in)
           
static Index readIndexName(StreamInput in)
           
 java.lang.String toString()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Index

public Index(java.lang.String name)
Method Detail

name

public java.lang.String name()

getName

public java.lang.String getName()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

readIndexName

public static Index readIndexName(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