public class StreamUtils extends Object
Constructor and Description |
---|
StreamUtils() |
Modifier and Type | Method and Description |
---|---|
static DiskRangeInfo |
createDiskRangeInfo(EncodedColumnBatch.ColumnStreamData streamBuffer)
Converts stream buffers to disk ranges.
|
static SettableUncompressedStream |
createSettableUncompressedStream(String streamName,
EncodedColumnBatch.ColumnStreamData streamBuffer)
Create SettableUncompressedStream from stream buffer.
|
public static SettableUncompressedStream createSettableUncompressedStream(String streamName, EncodedColumnBatch.ColumnStreamData streamBuffer) throws IOException
streamName
- - stream namestreamBuffer
- - stream bufferIOException
public static DiskRangeInfo createDiskRangeInfo(EncodedColumnBatch.ColumnStreamData streamBuffer)
streamBuffer
- - stream bufferCopyright © 2016 The Apache Software Foundation. All rights reserved.