public class DefaultRecordCompressorFactory extends Object implements IRecordCompressorFactory<RecordCompressor>, Externalizable
RecordCompressor
.Modifier and Type | Field and Description |
---|---|
IRecordCompressorFactory<RecordCompressor> |
BEST_COMPRESSION
Instance configured for
Deflater.BEST_COMPRESSION . |
IRecordCompressorFactory<RecordCompressor> |
BEST_SPEED
Instance configured for
Deflater.BEST_SPEED . |
Modifier and Type | Method and Description |
---|---|
RecordCompressor |
getInstance()
Return an
IRecordCompressor instance. |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public IRecordCompressorFactory<RecordCompressor> BEST_SPEED
Deflater.BEST_SPEED
.public IRecordCompressorFactory<RecordCompressor> BEST_COMPRESSION
Deflater.BEST_COMPRESSION
.public RecordCompressor getInstance()
IRecordCompressorFactory
IRecordCompressor
instance.getInstance
in interface IRecordCompressorFactory<RecordCompressor>
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.