Uses of Interface
org.apache.hadoop.io.Writable
Packages that use Writable
Package
Description
Configuration of system parameters.
An abstract file system API.
This package provides support for HDFS permission and ACL.
This package is for classes to be shared across object stores; for internal
use within the hadoop-* modules only.
Generic i/o code for use when reading and writing data to the network,
to databases, and to files.
This package provides a mechanism for using different serialization frameworks
in Hadoop.
Tools to help define network clients and servers.
Classes for hadoop security.
Support for service-level authorization.
Support for delegation tokens.
ZooKeeper secret manager for TokenIdentifiers and DelegationKeys.
Common utilities.
-
Uses of Writable in org.apache.hadoop.conf
Classes in org.apache.hadoop.conf that implement WritableModifier and TypeClassDescriptionclassProvides access to configuration parameters.classLogs access toConfiguration. -
Uses of Writable in org.apache.hadoop.crypto.key.kms
Classes in org.apache.hadoop.crypto.key.kms that implement WritableModifier and TypeClassDescriptionstatic classDelegationTokenIdentifier used for the KMS. -
Uses of Writable in org.apache.hadoop.fs
Classes in org.apache.hadoop.fs that implement WritableModifier and TypeClassDescriptionclassComposite CRC.classStore the summary of a content (a directory or a file).classAn abstract class representing file checksums for files.classInterface that represents the client side information for a file.classProvides server default configuration values to clients.classThis class is used to represent the capacity, free and used space on aFileSystem.classThis class defines a FileStatus that includes a file's block locations.classFor CRC32 with the Castagnoli polynomialclassMD5 of MD5 of CRC32.classFor CRC32 with the Gzip polynomial -
Uses of Writable in org.apache.hadoop.fs.permission
Classes in org.apache.hadoop.fs.permission that implement WritableModifier and TypeClassDescriptionfinal classA class that stores both masked and unmasked create modes and is a drop-in replacement for masked permission.classA class for file/directory permissions.classStore permission related information. -
Uses of Writable in org.apache.hadoop.fs.store
Classes in org.apache.hadoop.fs.store that implement Writable -
Uses of Writable in org.apache.hadoop.io
Subinterfaces of Writable in org.apache.hadoop.ioClasses in org.apache.hadoop.io that implement WritableModifier and TypeClassDescriptionclassAbstract base class for MapWritable and SortedMapWritable Unlike org.apache.nutch.crawl.MapWritable, this class allows creation of MapWritable<Writable, MapWritable> so the CLASS_TO_ID and ID_TO_CLASS maps travel with the class instead of being static.classThis is a wrapper class.classA Writable for arrays containing instances of a class.classA WritableComparable for booleans.classA byte sequence that is usable as a key or value.classA WritableComparable for a single byte.classA base-class for Writables which store themselves compressed and lazily inflate on field access.classWritable for Double values.classEnumSetWritable<E extends Enum<E>>A Writable wrapper for EnumSet.classA WritableComparable for floats.classA wrapper for Writable instances.classA WritableComparable for ints.classA WritableComparable for longs.classA Writable Map.classA Writable for MD5 hash values.classSingleton Writable with no data.classA polymorphic Writable that writes an instance with it's class name.static classThe class encapsulating with the metadata of a file.classA WritableComparable for shorts.classSortedMapWritable<K extends WritableComparable<? super K>>A Writable SortedMap.classThis class stores text using standard UTF8 encoding.classA Writable for 2D arrays containing a matrix of instances of a class.classDeprecated.replaced by TextclassA base class for Writables that provides version checking.classA WritableComparable for integer values stored in variable-length format.classA WritableComparable for longs in a variable-length format.Methods in org.apache.hadoop.io with type parameters of type WritableModifier and TypeMethodDescriptionstatic <T extends Writable>
TWritableUtils.clone(T orig, Configuration conf) Make a copy of a writable object using serialization to a buffer.Methods in org.apache.hadoop.io that return WritableModifier and TypeMethodDescriptionReturn thenth value in the file.Writable[]ArrayWritable.get()BloomMapFile.Reader.get(WritableComparable key, Writable val) Fast version of theMapFile.Reader.get(WritableComparable, Writable)method.GenericWritable.get()Return the wrapped instance.MapFile.Reader.get(WritableComparable key, Writable val) Return the value for the named key, or null if none exists.Writable[][]TwoDArrayWritable.get()static WritableWritableFactories.newInstance(Class<? extends Writable> c) Create a new instance of a class with a defined factory.static WritableWritableFactories.newInstance(Class<? extends Writable> c, Configuration conf) Create a new instance of a class with a defined factory.WritableFactory.newInstance()Read and return the next value in the file.Methods in org.apache.hadoop.io that return types with arguments of type WritableModifier and TypeMethodDescriptionMapWritable.entrySet()MapWritable.entrySet()SortedMapWritable.entrySet()GenericWritable.getTypes()Return all classes that may be wrapped.ArrayWritable.getValueClass()MapWritable.keySet()MapWritable.values()SortedMapWritable.values()Methods in org.apache.hadoop.io with parameters of type WritableModifier and TypeMethodDescriptionvoidAppend a value to the file.voidBloomMapFile.Writer.append(WritableComparable key, Writable val) voidMapFile.Writer.append(WritableComparable key, Writable val) Append a key/value pair to the map.voidAppend a key/value pair.static voidDeprecated.use ReflectionUtils.cloneInto instead.protected voidUsed by child copy constructors.Return thenth value in the file.BloomMapFile.Reader.get(WritableComparable key, Writable val) Fast version of theMapFile.Reader.get(WritableComparable, Writable)method.MapFile.Reader.get(WritableComparable key, Writable val) Return the value for the named key, or null if none exists.MapFile.Reader.getClosest(WritableComparable key, Writable val) Finds the record that is the closest match to the specified key.MapFile.Reader.getClosest(WritableComparable key, Writable val, boolean before) Finds the record that is the closest match to the specified key.voidSequenceFile.Reader.getCurrentValue(Writable val) Get the 'value' corresponding to the last read 'key'.Read and return the next value in the file.booleanMapFile.Reader.next(WritableComparable key, Writable val) Read the next key/value pair in the map intokeyandval.booleanbooleanRead the next key/value pair in the file intokeyandval.voidvoidSet the instance that is wrapped.voidstatic byte[]WritableUtils.toByteArray(Writable... writables) Convert writables to a byte array.Method parameters in org.apache.hadoop.io with type arguments of type WritableModifier and TypeMethodDescriptionstatic longMapFile.fix(FileSystem fs, Path dir, Class<? extends Writable> keyClass, Class<? extends Writable> valueClass, boolean dryrun, Configuration conf) This method attempts to fix a corrupt MapFile by re-creating its index.static WritableWritableFactories.newInstance(Class<? extends Writable> c) Create a new instance of a class with a defined factory.static WritableWritableFactories.newInstance(Class<? extends Writable> c, Configuration conf) Create a new instance of a class with a defined factory.voidvoidvoidConstructors in org.apache.hadoop.io with parameters of type WritableModifierConstructorDescriptionArrayWritable(Class<? extends Writable> valueClass, Writable[] values) TwoDArrayWritable(Class valueClass, Writable[][] values) Constructor parameters in org.apache.hadoop.io with type arguments of type WritableModifierConstructorDescriptionArrayWritable(Class<? extends Writable> valueClass) ArrayWritable(Class<? extends Writable> valueClass, Writable[] values) Writer(Configuration conf, FileSystem fs, String file, Class<? extends Writable> valClass) Create the named file for values of the named class.Writer(Configuration conf, FileSystem fs, String file, Class<? extends Writable> valClass, SequenceFile.CompressionType compress, Progressable progress) Create the named file for values of the named class. -
Uses of Writable in org.apache.hadoop.io.serializer
Methods in org.apache.hadoop.io.serializer that return types with arguments of type WritableModifier and TypeMethodDescriptionWritableSerialization.getDeserializer(Class<Writable> c) WritableSerialization.getSerializer(Class<Writable> c) Method parameters in org.apache.hadoop.io.serializer with type arguments of type WritableModifier and TypeMethodDescriptionWritableSerialization.getDeserializer(Class<Writable> c) WritableSerialization.getSerializer(Class<Writable> c) -
Uses of Writable in org.apache.hadoop.ipc
Classes in org.apache.hadoop.ipc that implement WritableModifier and TypeClassDescriptionclassA RpcWritable wrapper for unshaded protobuf messages.classclassstatic classadapter to allow decoding of writables and protobufs from a byte buffer.Methods in org.apache.hadoop.ipc with type parameters of type WritableModifier and TypeMethodDescriptionstatic <T extends Writable>
AsyncGet<T,IOException> Client.getAsyncRpcResponse()static <T extends Writable>
CompletableFuture<T>Client.getResponseFuture()Retrieves the current response future from the thread-local storage.Methods in org.apache.hadoop.ipc that return WritableModifier and TypeMethodDescriptionClient.call(RPC.RpcKind rpcKind, Writable rpcRequest, Client.ConnectionId remoteId, AtomicBoolean fallbackToSimpleAuth) Make a call, passingrpcRequest, to the IPC server defined byremoteId, returning the rpc respond.Client.call(RPC.RpcKind rpcKind, Writable rpcRequest, Client.ConnectionId remoteId, AtomicBoolean fallbackToSimpleAuth, AlignmentContext alignmentContext) RPC.Server.call(RPC.RpcKind rpcKind, String protocol, Writable rpcRequest, long receiveTime) Deprecated.UseServer.call(RPC.RpcKind, String, Writable, long)insteadabstract WritableServer.call(RPC.RpcKind rpcKind, String protocol, Writable param, long receiveTime) Called for each call.protected WritableProtobufRpcEngine.Invoker.constructRpcRequest(Method method, com.google.protobuf.Message theRequest) protected WritableProtobufRpcEngine2.Invoker.constructRpcRequest(Method method, org.apache.hadoop.thirdparty.protobuf.Message theRequest) Methods in org.apache.hadoop.ipc that return types with arguments of type WritableModifier and TypeMethodDescriptionServer.getRpcRequestWrapper(org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RpcKindProto rpcKind) Methods in org.apache.hadoop.ipc with parameters of type WritableModifier and TypeMethodDescriptionClient.call(RPC.RpcKind rpcKind, Writable rpcRequest, Client.ConnectionId remoteId, AtomicBoolean fallbackToSimpleAuth) Make a call, passingrpcRequest, to the IPC server defined byremoteId, returning the rpc respond.Client.call(RPC.RpcKind rpcKind, Writable rpcRequest, Client.ConnectionId remoteId, AtomicBoolean fallbackToSimpleAuth, AlignmentContext alignmentContext) RPC.Server.call(RPC.RpcKind rpcKind, String protocol, Writable rpcRequest, long receiveTime) Deprecated.UseServer.call(RPC.RpcKind, String, Writable, long)insteadabstract WritableServer.call(RPC.RpcKind rpcKind, String protocol, Writable param, long receiveTime) Called for each call.voidServer.Call.setDeferredResponse(Writable response) Method parameters in org.apache.hadoop.ipc with type arguments of type WritableModifier and TypeMethodDescriptionClientCache.getClient(Configuration conf, SocketFactory factory, Class<? extends Writable> valueClass) Construct & cache an IPC client with the user-provided SocketFactory if no cached client exists.static voidServer.registerProtocolEngine(RPC.RpcKind rpcKind, Class<? extends Writable> rpcRequestWrapperClass, org.apache.hadoop.ipc.RPC.RpcInvoker rpcInvoker) Register a RPC kind and the class to deserialize the rpc request.Constructor parameters in org.apache.hadoop.ipc with type arguments of type WritableModifierConstructorDescriptionClient(Class<? extends Writable> valueClass, Configuration conf) Construct an IPC client with the default SocketFactory.Client(Class<? extends Writable> valueClass, Configuration conf, SocketFactory factory) Construct an IPC client whose values are of the givenWritableclass.protectedServer(String bindAddress, int port, Class<? extends Writable> paramClass, int handlerCount, int numReaders, int queueSizePerHandler, Configuration conf, String serverName, SecretManager<? extends TokenIdentifier> secretManager, String portRangeConfig) protectedServer(String bindAddress, int port, Class<? extends Writable> rpcRequestClass, int handlerCount, int numReaders, int queueSizePerHandler, Configuration conf, String serverName, SecretManager<? extends TokenIdentifier> secretManager) protectedServer(String bindAddress, int port, Class<? extends Writable> rpcRequestClass, int handlerCount, int numReaders, int queueSizePerHandler, Configuration conf, String serverName, SecretManager<? extends TokenIdentifier> secretManager, String portRangeConfig) Constructs a server listening on the named port and address.protectedServer(String bindAddress, int port, Class<? extends Writable> paramClass, int handlerCount, Configuration conf) -
Uses of Writable in org.apache.hadoop.security
Classes in org.apache.hadoop.security that implement WritableModifier and TypeClassDescriptionclassA class that provides the facilities of reading and writing secret keys and Tokens. -
Uses of Writable in org.apache.hadoop.security.authorize
Classes in org.apache.hadoop.security.authorize that implement WritableModifier and TypeClassDescriptionclassClass representing a configured access control list. -
Uses of Writable in org.apache.hadoop.security.token
Classes in org.apache.hadoop.security.token that implement WritableModifier and TypeClassDescriptionclassToken<T extends TokenIdentifier>The client-side form of the token.classAn identifier that identifies a token, may contain public information about a token, including its kind (or type). -
Uses of Writable in org.apache.hadoop.security.token.delegation
Classes in org.apache.hadoop.security.token.delegation that implement WritableModifier and TypeClassDescriptionclassstatic classClass to encapsulate a token's renew date and password.classKey used for generating and verifying delegation tokens -
Uses of Writable in org.apache.hadoop.security.token.delegation.web
Classes in org.apache.hadoop.security.token.delegation.web that implement WritableModifier and TypeClassDescriptionclassConcrete delegation token identifier used byDelegationTokenManager,KerberosDelegationTokenAuthenticationHandlerandDelegationTokenAuthenticationFilter. -
Uses of Writable in org.apache.hadoop.util
Methods in org.apache.hadoop.util with parameters of type WritableModifier and TypeMethodDescriptionstatic voidReflectionUtils.cloneWritableInto(Writable dst, Writable src) Deprecated. -
Uses of Writable in org.apache.hadoop.util.bloom
Classes in org.apache.hadoop.util.bloom that implement WritableModifier and TypeClassDescriptionclassImplements a Bloom filter, as defined by Bloom in 1970.final classImplements a counting Bloom filter, as defined by Fan et al. in a ToN 2000 paper.classImplements a dynamic Bloom filter, as defined in the INFOCOM 2006 paper.classDefines the general behavior of a filter.classThe general behavior of a key that must be stored in a filter.final classImplements a retouched Bloom filter, as defined in the CoNEXT 2006 paper.