public final class GoogleCloudStorageLevelDbInputReader extends LevelDbInputReader
| Constructor and Description |
|---|
GoogleCloudStorageLevelDbInputReader(com.google.appengine.tools.cloudstorage.GcsFilename file,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
ReadableByteChannel |
createReadableByteChannel() |
long |
estimateMemoryRequirement()
Returns the estimated memory that will be used by this reader in bytes.
|
Double |
getProgress()
Returns the relative progress reading this input as a number from 0 to 1.
|
beginShard, beginSlice, endShard, getBytesRead, nextclose, endSlice, getContext, open, setContextpublic GoogleCloudStorageLevelDbInputReader(com.google.appengine.tools.cloudstorage.GcsFilename file,
int bufferSize)
file - File to be read.bufferSize - The buffersize to be used by the Gcs prefetching read channel.public Double getProgress()
InputReadergetProgress in class InputReader<ByteBuffer>public ReadableByteChannel createReadableByteChannel()
createReadableByteChannel in class LevelDbInputReaderpublic long estimateMemoryRequirement()
InputReaderestimateMemoryRequirement in class InputReader<ByteBuffer>Copyright © 2015 Google. All rights reserved.