Save This Page
Home » lucene-2.3.2-src » org.apache » lucene » index » [javadoc | source]
org.apache.lucene.index
final class: SegmentTermEnum [javadoc | source]
java.lang.Object
   org.apache.lucene.index.TermEnum
      org.apache.lucene.index.SegmentTermEnum

All Implemented Interfaces:
    Cloneable

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Field Summary
 FieldInfos fieldInfos     
 long size     
 long position     
 long indexPointer     
 int indexInterval     
 int skipInterval     
 int maxSkipLevels     
Constructor:
 SegmentTermEnum(IndexInput i,
    FieldInfos fis,
    boolean isi) throws IOException, CorruptIndexException 
Method from org.apache.lucene.index.SegmentTermEnum Summary:
clone,   close,   docFreq,   freqPointer,   next,   prev,   proxPointer,   scanTo,   seek,   term,   termInfo,   termInfo
Methods from org.apache.lucene.index.TermEnum:
close,   docFreq,   next,   skipTo,   term
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.index.SegmentTermEnum Detail:
 protected Object clone() 
 public final  void close() throws IOException 
    Closes the enumeration to further activity, freeing resources.
 public final int docFreq() 
    Returns the docFreq from the current TermInfo in the enumeration. Initially invalid, valid after next() called for the first time.
 final long freqPointer() 
 public final boolean next() throws IOException 
    Increments the enumeration to the next element. True if one exists.
 final Term prev() 
    Returns the previous Term enumerated. Initially null.
 final long proxPointer() 
 final  void scanTo(Term term) throws IOException 
    Optimized scan, without allocating new terms.
 final  void seek(long pointer,
    int p,
    Term t,
    TermInfo ti) throws IOException 
 public final Term term() 
    Returns the current Term in the enumeration. Initially invalid, valid after next() called for the first time.
 final TermInfo termInfo() 
    Returns the current TermInfo in the enumeration. Initially invalid, valid after next() called for the first time.
 final  void termInfo(TermInfo ti) 
    Sets the argument to the current TermInfo in the enumeration. Initially invalid, valid after next() called for the first time.