public CompressionProvider getCompressionProvider() { return compressionProvider; }
CompressionCodec(final CompressionProvider provider) { this.provider = provider; }
@Inject(optional = true) public void setCompressionProvider(@Curator final CompressionProvider compressionProvider) { this.builder.compressionProvider(compressionProvider); }
/** * Gets the {@link CompressionProvider} for this codec. * * @return the provider for this codec. */ public CompressionProvider getProvider() { return provider; }
/** * Returns a {@link CompressionProvider} to compress values with. * * @return the compression provider used to compress values. * * @see CompressionCodec */ @JsonIgnore public CompressionProvider getCompressionProvider() { return compression.getProvider(); }