public class BaseDirectoryWrapper extends FilterDirectory
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 |
copyFrom(Directory from,
String src,
String dest,
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) |
createOutput, deleteFile, fileLength, getDelegate, listAll, makeLock, openInput, renameFile, sync, toString, unwrap
ensureOpen, openChecksumInput
public BaseDirectoryWrapper(Directory delegate)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
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 copyFrom(Directory from, String src, String dest, IOContext context) throws IOException
copyFrom
in class Directory
IOException
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.