Package | Description |
---|---|
tachyon.client |
Modifier and Type | Field and Description |
---|---|
protected ReadType |
InStream.READ_TYPE |
Modifier and Type | Method and Description |
---|---|
static ReadType |
ReadType.getOpType(String op)
Parse the read type
|
static ReadType |
ReadType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReadType[] |
ReadType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static BlockInStream |
BlockInStream.get(TachyonFile tachyonFile,
ReadType readType,
int blockIndex)
Get a new BlockInStream of the given block without under file system configuration.
|
static BlockInStream |
BlockInStream.get(TachyonFile tachyonFile,
ReadType readType,
int blockIndex,
Object ufsConf)
Get a new BlockInStream of the given block with the under file system configuration.
|
InStream |
TachyonFile.getInStream(ReadType readType)
Return the InStream of this file, use the specified read type.
|
Constructor and Description |
---|
FileInStream(TachyonFile file,
ReadType opType) |
FileInStream(TachyonFile file,
ReadType opType,
Object ufsConf) |
Copyright © 2014. All rights reserved.