Abstract
Abstract
compressAbstract method that must be implemented by any class that extends
BaseDocumentCompressor
. This method takes an array of Document
objects and a query string as parameters and returns a Promise that
resolves with an array of compressed Document
objects.
An array of Document
objects to be compressed.
A query string.
Optional
callbacks: CallbacksA Promise that resolves with an array of compressed Document
objects.
Static
is
Base Document Compression class. All compressors should extend this class.