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:
Closeable, Readable

public class AllEntries
extends 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(String name, String text, float boost)
           
 String buildText()
           
 void clear()
           
 void close()
           
 AllEntries.Entry current()
           
 boolean customBoost()
           
 List<AllEntries.Entry> entries()
           
 Set<String> fields()
           
 int read(char[] cbuf, int off, int len)
           
 boolean ready()
           
 void reset()
           
 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(String name,
                    String text,
                    float boost)

customBoost

public boolean customBoost()

clear

public void clear()

reset

public void reset()
Overrides:
reset in class Reader

buildText

public String buildText()

entries

public List<AllEntries.Entry> entries()

fields

public Set<String> fields()

current

public AllEntries.Entry current()

read

public int read(char[] cbuf,
                int off,
                int len)
         throws IOException
Specified by:
read in class Reader
Throws:
IOException

close

public void close()
Specified by:
close in interface Closeable
Specified by:
close in class Reader

ready

public boolean ready()
              throws IOException
Overrides:
ready in class Reader
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012. All Rights Reserved.