Uses of Class
org.apache.hadoop.io.Text
Packages that use Text
Package
Description
Generic i/o code for use when reading and writing data to the network,
to databases, and to files.
Tools to help define network clients and servers.
IPC internal classes not for any use by libraries outside
the apache hadoop source tree.
Classes for hadoop security.
Support for delegation tokens.
ZooKeeper secret manager for TokenIdentifiers and DelegationKeys.
Common utilities.
-
Uses of Text in org.apache.hadoop.crypto.key.kms
Fields in org.apache.hadoop.crypto.key.kms declared as TextModifier and TypeFieldDescriptionstatic final TextKMSClientProvider.TOKEN_KINDstatic final TextKMSDelegationToken.TOKEN_KINDMethods in org.apache.hadoop.crypto.key.kms that return TextModifier and TypeMethodDescriptionprotected static TextKMSClientProvider.getDtService(URI uri) KMSDelegationToken.KMSDelegationTokenIdentifier.getKind()Methods in org.apache.hadoop.crypto.key.kms with parameters of type TextModifier and TypeMethodDescriptionbooleanKMSClientProvider.KMSTokenRenewer.handleKind(Text kind) protected static Token<?>KMSClientProvider.selectDelegationToken(Credentials creds, Text service) -
Uses of Text in org.apache.hadoop.io
Methods in org.apache.hadoop.io that return TextMethods in org.apache.hadoop.io that return types with arguments of type TextModifier and TypeMethodDescriptionSequenceFile.Metadata.getMetadata()SequenceFile.Metadata.getMetadata()Methods in org.apache.hadoop.io with parameters of type TextModifier and TypeMethodDescriptionvoidvoidCopy a text.Constructors in org.apache.hadoop.io with parameters of type TextConstructor parameters in org.apache.hadoop.io with type arguments of type Text -
Uses of Text in org.apache.hadoop.ipc
Methods in org.apache.hadoop.ipc with parameters of type TextModifier and TypeMethodDescriptionstatic org.apache.hadoop.thirdparty.protobuf.ByteStringProtobufHelper.getFixedByteString(Text key) Deprecated.Get the ByteString for frequently used fixed and small set strings. -
Uses of Text in org.apache.hadoop.ipc.internal
Methods in org.apache.hadoop.ipc.internal with parameters of type TextModifier and TypeMethodDescriptionstatic org.apache.hadoop.thirdparty.protobuf.ByteStringShadedProtobufHelper.getFixedByteString(Text key) Get the ByteString for frequently used fixed and small set strings. -
Uses of Text in org.apache.hadoop.security
Methods in org.apache.hadoop.security that return TextModifier and TypeMethodDescriptionstatic TextSecurityUtil.buildTokenService(InetSocketAddress addr) Construct the service key for a tokenstatic TextSecurityUtil.buildTokenService(URI uri) Construct the service key for a tokenMethods in org.apache.hadoop.security that return types with arguments of type TextModifier and TypeMethodDescriptionCredentials.getAllSecretKeys()Return all the secret key entries in the in-memory map.Credentials.getSecretKeyMap()Returns an unmodifiable version of the full map of aliases to secret keys.Map<Text,Token<? extends TokenIdentifier>> Credentials.getTokenMap()Returns an unmodifiable version of the full map of aliases to Tokens.Methods in org.apache.hadoop.security with parameters of type TextModifier and TypeMethodDescriptionvoidCredentials.addSecretKey(Text alias, byte[] key) Set the key for an alias.voidCredentials.addToken(Text alias, Token<? extends TokenIdentifier> t) Add a token in the storage (in memory).booleanUserGroupInformation.addToken(Text alias, Token<? extends TokenIdentifier> token) Add a named token to this UGIbyte[]Credentials.getSecretKey(Text alias) Returns the key bytes for the alias.Token<? extends TokenIdentifier>Returns the Token object for the alias.voidCredentials.removeSecretKey(Text alias) Remove the key for a given alias.voidCredentials.removeToken(Text alias) Remove a token from the storage (in memory).voidUserGroupInformation.removeToken(Text alias) Remove a named token from this UGI. -
Uses of Text in org.apache.hadoop.security.token
Methods in org.apache.hadoop.security.token that return TextModifier and TypeMethodDescriptionToken.getKind()Get the token kind.protected TextToken.TrivialRenewer.getKind()abstract TextTokenIdentifier.getKind()Get the token kindToken.getService()Get the service on which the token is supposed to be used.DtFetcher.getServiceName()Return a key used to identify the object/service implementation.Methods in org.apache.hadoop.security.token with parameters of type TextModifier and TypeMethodDescriptionstatic voidDtFileOperations.aliasTokenFile(File tokenFile, String fileFormat, Text alias, Text service, Configuration conf) Alias a token from a file and save back to file in the local filesystem.static voidDtFileOperations.getTokenFile(File tokenFile, String fileFormat, Text alias, Text service, String url, String renewer, Configuration conf) Fetch a token from a service and save to file in the local filesystem.booleanToken.TrivialRenewer.handleKind(Text kind) abstract booleanTokenRenewer.handleKind(Text kind) Does this renewer handle this kind of token?static voidDtFileOperations.importTokenFile(File tokenFile, String fileFormat, Text alias, String base64, Configuration conf) Import a token from a base64 encoding into the local filesystem.booleanToken.isPrivateCloneOf(Text thePublicService) Whether this is a private clone of a public token.static voidDtFileOperations.printCredentials(Credentials creds, Text alias, PrintStream out) Print out a Credentials object.static voidDtFileOperations.printTokenFile(File tokenFile, Text alias, Configuration conf, PrintStream out) Print out a Credentials file from the local filesystem.Token.privateClone(Text newService) Create a private clone of a public token.static voidDtFileOperations.removeTokenFromFile(boolean cancel, File tokenFile, String fileFormat, Text alias, Configuration conf) Remove a token from a file in the local filesystem, matching alias.static voidDtFileOperations.renewTokenFile(File tokenFile, String fileFormat, Text alias, Configuration conf) Renew a token from a file in the local filesystem, matching alias.TokenSelector.selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens) voidSet the token kind.voidToken.setService(Text newService) Set the service on which the token is supposed to be used.Constructors in org.apache.hadoop.security.token with parameters of type Text -
Uses of Text in org.apache.hadoop.security.token.delegation
Methods in org.apache.hadoop.security.token.delegation that return TextModifier and TypeMethodDescriptionabstract TextAbstractDelegationTokenIdentifier.getKind()AbstractDelegationTokenIdentifier.getOwner()AbstractDelegationTokenIdentifier.getRealUser()AbstractDelegationTokenIdentifier.getRenewer()Methods in org.apache.hadoop.security.token.delegation with parameters of type TextModifier and TypeMethodDescriptionAbstractDelegationTokenSelector.selectToken(Text service, Collection<Token<? extends TokenIdentifier>> tokens) voidvoidAbstractDelegationTokenIdentifier.setRealUser(Text realUser) voidAbstractDelegationTokenIdentifier.setRenewer(Text renewer) Constructors in org.apache.hadoop.security.token.delegation with parameters of type TextModifierConstructorDescriptionAbstractDelegationTokenIdentifier(Text owner, Text renewer, Text realUser) protectedAbstractDelegationTokenSelector(Text kindName) -
Uses of Text in org.apache.hadoop.security.token.delegation.web
Methods in org.apache.hadoop.security.token.delegation.web that return TextModifier and TypeMethodDescriptionDelegationTokenIdentifier.getKind()Return the delegation token kindConstructors in org.apache.hadoop.security.token.delegation.web with parameters of type TextModifierConstructorDescriptionDelegationTokenIdentifier(Text kind, Text owner, Text renewer, Text realUser) Create a new delegation token identifierDelegationTokenManager(Configuration conf, Text tokenKind) -
Uses of Text in org.apache.hadoop.util
Methods in org.apache.hadoop.util with parameters of type TextModifier and TypeMethodDescriptionintRead from the InputStream into the given Text.intRead from the InputStream into the given Text.intRead one line from the InputStream into the given Text.