public class TSnappyElasticFramedTransport extends TCompressedElasticFramedTransport
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TSnappyElasticFramedTransport.Factory |
i32buf, readBuffer, thriftDefaultBufferSize, thriftMaxFrameSize, underlying, writeBuffer| 构造器和说明 |
|---|
TSnappyElasticFramedTransport(org.apache.thrift.transport.TTransport underlying) |
TSnappyElasticFramedTransport(org.apache.thrift.transport.TTransport underlying,
int thriftDefaultBufferSize,
int thriftMaxFrameSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected int |
compress(byte[] input,
int inOff,
int len,
byte[] output,
int outOff) |
protected int |
maxCompressedLength(int len) |
protected void |
uncompress(byte[] input,
int inOff,
int size,
byte[] output,
int outOff) |
protected int |
uncompressedLength(byte[] buf,
int off,
int len) |
flush, readFramecheckReadBytesAvailable, close, getConfiguration, isOpen, open, read, updateKnownMessageSize, writepublic TSnappyElasticFramedTransport(org.apache.thrift.transport.TTransport underlying)
public TSnappyElasticFramedTransport(org.apache.thrift.transport.TTransport underlying,
int thriftDefaultBufferSize,
int thriftMaxFrameSize)
protected int uncompressedLength(byte[] buf,
int off,
int len)
throws IOException
protected int maxCompressedLength(int len)
protected int compress(byte[] input,
int inOff,
int len,
byte[] output,
int outOff)
throws IOException
compress 在类中 TCompressedElasticFramedTransportIOExceptionprotected void uncompress(byte[] input,
int inOff,
int size,
byte[] output,
int outOff)
throws IOException
uncompress 在类中 TCompressedElasticFramedTransportIOExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.