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, getLockID, listAll, makeLock, openInput, setLockFactory, sync, toString
ensureOpen
public BaseDirectoryWrapper(Directory delegate)
public void close() throws IOException
close
in interface Closeable
close
in class FilterDirectory
IOException
public 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 Directory
IOException
public Directory.IndexInputSlicer createSlicer(String name, IOContext context) throws IOException
createSlicer
in class Directory
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.