public static final class DirectoryFactory.UncloseableDirectory
extends org.apache.lucene.store.Directory
| Constructor and Description |
|---|
UncloseableDirectory(org.apache.lucene.store.Directory delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.lucene.store.IndexOutput |
createOutput(String name,
org.apache.lucene.store.IOContext context) |
void |
deleteFile(String s) |
long |
fileLength(String s) |
String[] |
listAll() |
org.apache.lucene.store.Lock |
obtainLock(String name) |
org.apache.lucene.store.IndexInput |
openInput(String name,
org.apache.lucene.store.IOContext context) |
void |
renameFile(String source,
String dest) |
void |
sync(Collection<String> names) |
String |
toString() |
public UncloseableDirectory(org.apache.lucene.store.Directory delegate)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.lucene.store.DirectoryIOExceptionpublic String[] listAll() throws IOException
listAll in class org.apache.lucene.store.DirectoryIOExceptionpublic void renameFile(String source, String dest) throws IOException
renameFile in class org.apache.lucene.store.DirectoryIOExceptionpublic void deleteFile(String s) throws IOException
deleteFile in class org.apache.lucene.store.DirectoryIOExceptionpublic long fileLength(String s) throws IOException
fileLength in class org.apache.lucene.store.DirectoryIOExceptionpublic org.apache.lucene.store.IndexOutput createOutput(String name, org.apache.lucene.store.IOContext context) throws IOException
createOutput in class org.apache.lucene.store.DirectoryIOExceptionpublic void sync(Collection<String> names) throws IOException
sync in class org.apache.lucene.store.DirectoryIOExceptionpublic org.apache.lucene.store.IndexInput openInput(String name, org.apache.lucene.store.IOContext context) throws IOException
openInput in class org.apache.lucene.store.DirectoryIOExceptionpublic org.apache.lucene.store.Lock obtainLock(String name) throws IOException
obtainLock in class org.apache.lucene.store.DirectoryIOExceptionpublic String toString()
toString in class org.apache.lucene.store.DirectoryCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.