File to use
the lock factory to use
the ID of the shard used to get the index name
Elasticsearch client
NodeKeyProviderComponent to provide the key provider
Returns a FileHeader.
Returns a FileHeader. This method is currently hardcoded to return a HmacFileHeader. The user can rewrite or override this method to customize the FileHeader.
file pointer
Creates and returns an AESReader.
Creates and returns an AESReader.
File to use
file to create
number of 16-byte blocks per page
encryption key information getter
creates the file header
Creates and returns an AESWriter.
Creates and returns an AESWriter.
File to use
file to create
number of 16-byte blocks per page
encryption key information getter
creates the file header
Creates and returns an IndexOutput for the file.
Creates and returns an IndexOutput for the file.
file name
object whose information is used to create a new IndexOutput
Creates and returns an IndexInput for the file.
Creates and returns an IndexInput for the file.
file name
object whose information is used to create a new IndexInput
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
This class extends org.apache.lucene.store.NIOFSDirectory and overrides createOutput() and openInput() to include encryption and decryption via AESIndexOutput and AESIndexInput respectively. Code is based on the existing implementation in NIOFSDirectory: Much of this code is based on the existing implementation in NIOFSDirectory.
https://www.elastic.co/guide/en/elasticsearch/reference/1.7/index-modules-store.html#default_fs https://github.com/apache/lucene-solr/blob/master/lucene/core/src/java/org/apache/lucene/store/NIOFSDirectory.java