Class CompressedBinaryData

java.lang.Object
com.coveo.pushapiclient.CompressedBinaryData

public class CompressedBinaryData extends Object
The original binary item content, compressed using one of the supported compression types (Deflate, GZip, LZMA, Uncompressed, or ZLib), and then Base64 encoded.

You can use this parameter when you're pushing a compressed binary item (such as XML/HTML, PDF, Word, or binary) whose size is less than 5 MB.

Whenever you're pushing an item whose size is 5 MB or more, use the CompressedBinaryDataFileId property instead.

If you're pushing less than 5 MB of textual (non-binary) content, you can use the data property instead.

See https://docs.coveo.com/en/73 for more information.

  • Constructor Details

    • CompressedBinaryData

      public CompressedBinaryData(String data, CompressionType compressionType)
      Parameters:
      data - The base64 encoded binary data. Example: `eJxzrUjMLchJBQAK4ALN`
      compressionType - The compression type that was applied to your document.
  • Method Details