org.elasticsearch.index
Class Index

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

public class Index
extends Object
implements Serializable, Streamable

See Also:
Serialized Form

Constructor Summary
Index(String name)
           
 
Method Summary
 boolean equals(Object o)
           
 String getName()
           
 int hashCode()
           
 String name()
           
 void readFrom(StreamInput in)
           
static Index readIndexName(StreamInput in)
           
 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(String name)
Method Detail

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.