Searched defs:read (Results 1 - 25 of 47) sorted by relevance

12

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DReusableStringReader.java35 public int read(char[] c) { method in class:ReusableStringReader
36 return read(c, 0, c.length);
39 public int read(char[] c, int off, int len) { method in class:ReusableStringReader
H A DAbstractAllTermDocs.java62 public int read(int[] docs, int[] freqs) throws IOException { method in class:AbstractAllTermDocs
H A DTermDocs.java55 /** Attempts to read multiple entries from the enumeration, up to length of
60 * <p>Returns the number of entries read. Zero is only returned when the
62 int read(int[] docs, int[] freqs) throws IOException; method in interface:TermDocs
H A DTermBuffer.java29 private boolean dirty; // true if text was set externally (ie not read via UTF8 bytes)
54 /** Call this if the IndexInput passed to {@link #read}
61 public final void read(IndexInput input, FieldInfos fieldInfos) method in class:TermBuffer
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/fa/
H A DPersianCharFilter.java36 public int read(char[] cbuf, int off, int len) throws IOException { method in class:PersianCharFilter
37 final int charsRead = super.read(cbuf, off, len);
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/cz/
H A DTestCzechAnalyzer.java74 public int read() throws IOException { method in class:TestCzechAnalyzer.UnreliableInputStream
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/quality/trec/
H A DTrecTopicsReader.java60 * @param reader where queries are read from.
62 * @throws IOException if cannot read the queries.
68 while (null!=(sb=read(reader,"<top>",null,false,false))) {
71 sb = read(reader,"<num>",null,true,false);
75 sb = read(reader,"<title>",null,true,false);
79 read(reader,"<desc>",null,false,false);
114 // read until finding a line that starts with the specified prefix
115 private StringBuilder read (BufferedReader reader, String prefix, StringBuilder sb, boolean collectMatchLine, boolean collectAll) throws IOException { method in class:TrecTopicsReader
135 //System.out.println("read: "+sb);
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/util/
H A DUnsafeByteArrayInputStream.java78 * buffer[endPos] will never be read
115 * buffer[endPos] will never be read
134 public int read() throws IOException { method in class:UnsafeByteArrayInputStream
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/
H A DCharFilter.java61 public int read(char[] cbuf, int off, int len) throws IOException { method in class:CharFilter
62 return input.read(cbuf, off, len);
H A DCharReader.java53 public int read(char[] cbuf, int off, int len) throws IOException { method in class:CharReader
54 return input.read(cbuf, off, len);
H A DMappingCharFilter.java51 public int read() throws IOException { method in class:MappingCharFilter
83 return input.read();
121 public int read(char[] cbuf, int off, int len) throws IOException { method in class:MappingCharFilter
123 int l = input.read(tmp, 0, len);
130 int c = read();
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/analysis/
H A DMockCharFilter.java48 public int read() throws IOException { method in class:MockCharFilter
60 // otherwise actually read one
61 int ch = in.read();
76 public int read(char[] cbuf, int off, int len) throws IOException { method in class:MockCharFilter
79 int c = read();
H A DMockReaderWrapper.java27 * exceptions, and spoon feed read chars. */
60 public int read(char[] cbuf, int off, int len) throws IOException { method in class:MockReaderWrapper
64 final int read;
76 read = in.read(cbuf, off, Math.min(realLen, left));
77 assert read != -1;
78 readSoFar += read;
80 read = in.read(cbuf, off, realLen);
82 return read;
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/analysis/
H A DPatternReplaceCharFilter.java71 public int read(char[] cbuf, int off, int len) throws IOException { method in class:PatternReplaceCharFilter
76 for (int cnt = input.read(temp); cnt > 0; cnt = input.read(temp)) {
82 return transformedInput.read(cbuf, off, len);
H A DBufferedTokenStream.java43 * Token t2 = read();
88 * Process a token. Subclasses may read more tokens from the input stream,
101 Token t = read();
113 protected Token read() throws IOException { method in class:BufferedTokenStream
123 * be returned by a future call to <code>read()</code>
136 * <code>read()</code> from the stream.
/lucene-3.6.0/lucene/contrib/icu/src/java/org/apache/lucene/analysis/icu/segmentation/
H A DICUTokenizer.java92 if (length <= 0) // no more bytes to read;
121 * Text is read from the input stream in 4kB chunks. Within a 4kB chunk of
154 int returned = read(input, buffer, leftover, requested);
158 else { /* still more data to be read, find a safe-stopping place */
173 private static int read(Reader input, char[] buffer, int offset, int length) throws IOException { method in class:ICUTokenizer
179 int count = input.read( buffer, offset + location, remaining );
/lucene-3.6.0/lucene/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/
H A DInstantiatedTermDocs.java77 public int read(int[] docs, int[] freqs) { method in class:InstantiatedTermDocs
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/store/
H A DNativePosixUtil.java39 public static native FileDescriptor open_direct(String filename, boolean read) throws IOException; argument
H A DWindowsDirectory.java94 bytesRead = WindowsDirectory.read(fd, b, offset, length, getFilePointer());
102 throw new EOFException("read past EOF: " + this);
136 private static native int read(long fd, byte bytes[], int offset, int length, long pos) throws IOException; method in class:WindowsDirectory
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/fst/
H A DByteSequenceOutputs.java119 public BytesRef read(DataInput in) throws IOException { method in class:ByteSequenceOutputs
H A DIntSequenceOutputs.java121 public IntsRef read(DataInput in) throws IOException { method in class:IntSequenceOutputs
H A DNoOutputs.java82 public Object read(DataInput in) { method in class:NoOutputs
H A DOutputs.java54 public abstract T read(DataInput in) throws IOException; method in class:Outputs
H A DPositiveIntOutputs.java101 public Long read(DataInput in) throws IOException { method in class:PositiveIntOutputs
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/
H A DReadTokensTask.java34 * read all tokens out of that stream.
56 return "read " + recsCount + " docs; " + totalTokenCount + " tokens";
125 public int read(char[] c) { method in class:ReadTokensTask.ReusableStringReader
126 return read(c, 0, c.length);
129 public int read(char[] c, int off, int len) { method in class:ReadTokensTask.ReusableStringReader

Completed in 35 milliseconds

12