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, next
close, endSlice, getContext, open, setContext
public 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()
InputReader
getProgress
in class InputReader<ByteBuffer>
public ReadableByteChannel createReadableByteChannel()
createReadableByteChannel
in class LevelDbInputReader
public long estimateMemoryRequirement()
InputReader
estimateMemoryRequirement
in class InputReader<ByteBuffer>
Copyright © 2015 Google. All rights reserved.