org.apache.hadoop.fs
Class Options.CreateOpts
java.lang.Object
org.apache.hadoop.fs.Options.CreateOpts
- Direct Known Subclasses:
- Options.CreateOpts.BlockSize, Options.CreateOpts.BufferSize, Options.CreateOpts.BytesPerChecksum, Options.CreateOpts.ChecksumParam, Options.CreateOpts.CreateParent, Options.CreateOpts.Perms, Options.CreateOpts.Progress, Options.CreateOpts.ReplicationFactor
- Enclosing class:
- Options
public static class Options.CreateOpts
- extends Object
Class to support the varargs for create() options.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
blockSize
public static Options.CreateOpts.BlockSize blockSize(long bs)
bufferSize
public static Options.CreateOpts.BufferSize bufferSize(int bs)
repFac
public static Options.CreateOpts.ReplicationFactor repFac(short rf)
bytesPerChecksum
public static Options.CreateOpts.BytesPerChecksum bytesPerChecksum(short crc)
checksumParam
public static Options.CreateOpts.ChecksumParam checksumParam(Options.ChecksumOpt csumOpt)
perms
public static Options.CreateOpts.Perms perms(FsPermission perm)
createParent
public static Options.CreateOpts.CreateParent createParent()
donotCreateParent
public static Options.CreateOpts.CreateParent donotCreateParent()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.