org.elasticsearch.common.lucene.all
Class AllEntries

java.lang.Object
  extended by java.io.Reader
      extended by org.elasticsearch.common.lucene.all.AllEntries
All Implemented Interfaces:
java.io.Closeable, java.lang.Readable

public class AllEntries
extends java.io.Reader


Nested Class Summary
static class AllEntries.Entry
           
 
Field Summary
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
AllEntries()
           
 
Method Summary
 void addText(java.lang.String name, java.lang.String text, float boost)
           
 java.lang.String buildText()
           
 void clear()
           
 void close()
           
 AllEntries.Entry current()
           
 java.util.List<AllEntries.Entry> entries()
           
 java.util.Set<java.lang.String> fields()
           
 int read(char[] cbuf, int off, int len)
           
 boolean ready()
           
 void reset()
           
 java.lang.String toString()
           
 
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
 

Constructor Detail

AllEntries

public AllEntries()
Method Detail

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