org.elasticsearch.common.lucene.all
Class AllEntries
java.lang.Object
java.io.Reader
org.elasticsearch.common.lucene.all.AllEntries
- All Implemented Interfaces:
- java.io.Closeable, java.lang.Readable
public class AllEntries
- extends java.io.Reader
Fields inherited from class java.io.Reader |
lock |
Methods inherited from class java.io.Reader |
mark, markSupported, read, read, read, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AllEntries
public AllEntries()
addText
public void addText(java.lang.String name,
java.lang.String text,
float boost)
clear
public void clear()
reset
public void reset()
- Overrides:
reset
in class java.io.Reader
buildText
public java.lang.String buildText()
entries
public java.util.List<AllEntries.Entry> entries()
fields
public java.util.Set<java.lang.String> fields()
current
public AllEntries.Entry current()
read
public int read(char[] cbuf,
int off,
int len)
throws java.io.IOException
- Specified by:
read
in class java.io.Reader
- Throws:
java.io.IOException
close
public void close()
- Specified by:
close
in interface java.io.Closeable
- Specified by:
close
in class java.io.Reader
ready
public boolean ready()
throws java.io.IOException
- Overrides:
ready
in class java.io.Reader
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object