public class EncryptedBlockData
extends Object
| Constructor and Description | 
|---|
| EncryptedBlockData(java.io.File file,
                  long blockSize,
                  SparkConf conf,
                  byte[] key) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | dispose() | 
| long | size() | 
| java.nio.ByteBuffer | toByteBuffer() | 
| org.apache.spark.util.io.ChunkedByteBuffer | toChunkedByteBuffer(scala.Function1<Object,java.nio.ByteBuffer> allocator) | 
| java.io.InputStream | toInputStream() | 
| Object | toNetty()Returns a Netty-friendly wrapper for the block's data. | 
public EncryptedBlockData(java.io.File file,
                          long blockSize,
                          SparkConf conf,
                          byte[] key)
public java.io.InputStream toInputStream()
public Object toNetty()
 Please see ManagedBuffer.convertToNetty() for more details.
public org.apache.spark.util.io.ChunkedByteBuffer toChunkedByteBuffer(scala.Function1<Object,java.nio.ByteBuffer> allocator)
public java.nio.ByteBuffer toByteBuffer()
public long size()
public void dispose()