public class GridLuceneDirectory
extends BaseDirectory
Directory implementation.| Modifier and Type | Field and Description |
|---|---|
protected Map<String,GridLuceneFile> |
fileMap |
protected AtomicLong |
sizeInBytes |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
IndexOutput |
createOutput(String name,
IOContext context) |
IndexOutput |
createTempOutput(String prefix,
String suffix,
IOContext ctx) |
void |
deleteFile(String name) |
long |
fileLength(String name) |
Collection<Accountable> |
getChildResources() |
String[] |
listAll() |
IndexInput |
openInput(String name,
IOContext context) |
long |
ramBytesUsed() |
void |
rename(String source,
String dest) |
void |
sync(Collection<String> names) |
void |
syncMetaData() |
protected final Map<String,GridLuceneFile> fileMap
protected final AtomicLong sizeInBytes
public final String[] listAll()
public void rename(String source, String dest) throws IOException
IOExceptionpublic void syncMetaData()
throws IOException
IOExceptionpublic IndexOutput createTempOutput(String prefix, String suffix, IOContext ctx) throws IOException
IOExceptionpublic final long fileLength(String name) throws IOException
IOExceptionpublic void deleteFile(String name) throws IOException
IOExceptionpublic IndexOutput createOutput(String name, IOContext context) throws IOException
IOExceptionpublic void sync(Collection<String> names) throws IOException
IOExceptionpublic IndexInput openInput(String name, IOContext context) throws IOException
IOExceptionpublic void close()
public long ramBytesUsed()
public Collection<Accountable> getChildResources()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2-p3 Release Date : April 25 2019