org.apache.lucene.store
public class BaseDirectoryWrapper extends FilterDirectory
Directory.IndexInputSlicer| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isOpen |
in| Constructor and Description |
|---|
BaseDirectoryWrapper(Directory delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
copy(Directory to,
String src,
String dest,
IOContext context) |
Directory.IndexInputSlicer |
createSlicer(String name,
IOContext context) |
boolean |
getCheckIndexOnClose() |
boolean |
getCrossCheckTermVectorsOnClose() |
boolean |
isOpen() |
void |
setCheckIndexOnClose(boolean value)
Set whether or not checkindex should be run
on close
|
void |
setCrossCheckTermVectorsOnClose(boolean value) |
clearLock, createOutput, deleteFile, fileExists, fileLength, getDelegate, getLockFactory, listAll, makeLock, openInput, setLockFactory, sync, toStringensureOpen, getLockIDpublic BaseDirectoryWrapper(Directory delegate)
public void close()
throws IOException
close in interface Closeableclose in class FilterDirectoryIOExceptionpublic boolean isOpen()
public void setCheckIndexOnClose(boolean value)
public boolean getCheckIndexOnClose()
public void setCrossCheckTermVectorsOnClose(boolean value)
public boolean getCrossCheckTermVectorsOnClose()
public void copy(Directory to, String src, String dest, IOContext context) throws IOException
copy in class DirectoryIOExceptionpublic Directory.IndexInputSlicer createSlicer(String name, IOContext context) throws IOException
createSlicer in class DirectoryIOExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.