Package org.apache.solr.rest
Class ManagedResourceStorage.FileStorageIO
- java.lang.Object
-
- org.apache.solr.rest.ManagedResourceStorage.FileStorageIO
-
- All Implemented Interfaces:
ManagedResourceStorage.StorageIO
- Enclosing class:
- ManagedResourceStorage
public static class ManagedResourceStorage.FileStorageIO extends Object implements ManagedResourceStorage.StorageIO
Local file-based storage implementation.
-
-
Constructor Summary
Constructors Constructor Description FileStorageIO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(SolrResourceLoader loader, org.apache.solr.common.util.NamedList<String> initArgs)
boolean
delete(String storedResourceId)
boolean
exists(String storedResourceId)
String
getInfo()
InputStream
openInputStream(String storedResourceId)
OutputStream
openOutputStream(String storedResourceId)
-
-
-
Method Detail
-
configure
public void configure(SolrResourceLoader loader, org.apache.solr.common.util.NamedList<String> initArgs) throws org.apache.solr.common.SolrException
- Specified by:
configure
in interfaceManagedResourceStorage.StorageIO
- Throws:
org.apache.solr.common.SolrException
-
exists
public boolean exists(String storedResourceId) throws IOException
- Specified by:
exists
in interfaceManagedResourceStorage.StorageIO
- Throws:
IOException
-
openInputStream
public InputStream openInputStream(String storedResourceId) throws IOException
- Specified by:
openInputStream
in interfaceManagedResourceStorage.StorageIO
- Throws:
IOException
-
openOutputStream
public OutputStream openOutputStream(String storedResourceId) throws IOException
- Specified by:
openOutputStream
in interfaceManagedResourceStorage.StorageIO
- Throws:
IOException
-
delete
public boolean delete(String storedResourceId) throws IOException
- Specified by:
delete
in interfaceManagedResourceStorage.StorageIO
- Throws:
IOException
-
getInfo
public String getInfo()
- Specified by:
getInfo
in interfaceManagedResourceStorage.StorageIO
-
-