public interface OCompression
register()
method. There are 2 versions:OCompressionFactory.INSTANCE.register()
for stateful implementations, a
new instance will be created for each storage/li>
OCompressionFactory.INSTANCE.register()
for stateless
implementations, the same instance will be shared across all the storages./li>
Modifier and Type | Method and Description |
---|---|
byte[] |
compress(byte[] content) |
byte[] |
compress(byte[] content,
int offset,
int length) |
OCompression |
configure(String iOptions) |
String |
name() |
byte[] |
uncompress(byte[] content) |
byte[] |
uncompress(byte[] content,
int offset,
int length) |
byte[] compress(byte[] content)
byte[] compress(byte[] content, int offset, int length)
byte[] uncompress(byte[] content)
byte[] uncompress(byte[] content, int offset, int length)
String name()
OCompression configure(String iOptions)
Copyright © 2009–2020 OrientDB. All rights reserved.