Home » lucene-3.0.1-src » org.apache » lucene » store » db » [javadoc | source]
org.apache.lucene.store.db
public class: DbIndexOutput [javadoc | source]
java.lang.Object
   org.apache.lucene.store.IndexOutput
      org.apache.lucene.store.db.DbIndexOutput

All Implemented Interfaces:
    Closeable

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
public static final  int BLOCK_SHIFT    The size of data blocks, currently 16k (2^14), is determined by this constant. 
public static final  int BLOCK_LEN     
public static final  int BLOCK_MASK     
protected  long position     
protected  long length     
protected  DbDirectory directory     
protected  Block block     
protected  File file     
Constructor:
 protected DbIndexOutput(DbDirectory directory,
    String name,
    boolean create) throws IOException 
Method from org.apache.lucene.store.db.DbIndexOutput Summary:
close,   flush,   getFilePointer,   length,   seek,   writeByte,   writeBytes
Methods from org.apache.lucene.store.IndexOutput:
close,   copyBytes,   flush,   getFilePointer,   length,   seek,   setLength,   writeByte,   writeBytes,   writeBytes,   writeChars,   writeChars,   writeInt,   writeLong,   writeString,   writeStringStringMap,   writeVInt,   writeVLong
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.store.db.DbIndexOutput Detail:
 public  void close() throws IOException 
 public  void flush() throws IOException 
 public long getFilePointer() 
 public long length() throws IOException 
 public  void seek(long pos) throws IOException 
 public  void writeByte(byte b) throws IOException 
 public  void writeBytes(byte[] b,
    int offset,
    int len) throws IOException